1752307 Members
5327 Online
108786 Solutions
New Discussion юеВ

Re: Mount problem

 
SOLVED
Go to solution
hangyu
Regular Advisor

Mount problem

In my system ,there is a mount /dev/sda1 /Ora1 , I have just umount it and this mount do not shown in "bdf" again . but now , I want to mount it again ( mount /dev/sda1 " , it pop "mount: /sda1 already mounted or /Ora1 busy" , can advise how can I mount it back ? thx
9 REPLIES 9
Patrick Wallek
Honored Contributor
Solution

Re: Mount problem

What happens if you do 'fuser -uc /Ora1'? What gets returned?

Were any processes using this when you unmounted it?

By the way, is this HP-UX? HP doesn't normally use disks like sda1. This appears to be linux of some variety.
Rajeev  Shukla
Honored Contributor

Re: Mount problem

It looks like either /etc/mnttab still contains /Ora1 mount or there is someone there inside the /Ora1 directory
hangyu
Regular Advisor

Re: Mount problem

thx replies,

when use fuser , and do not find any user ,
Yes , it is linux ,
I have already delete the mount point in mnttab ( mtab in linux ) , but still can't umount .
Yogeeraj_1
Honored Contributor

Re: Mount problem

hi,

what does "fuser -m /dev/sda1" show?

In linux, it is mostly related to the Device mapper. If you disabled disable dm-mod/dm-mirror and restart this should be OK.

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
hangyu
Regular Advisor

Re: Mount problem

thx reply ,

when run "fuser -m /dev/sda1" , there is nothing output .

How to restart disabled dm-mod/dm-mirror ? thx
Frank de Vries
Respected Contributor

Re: Mount problem

Two advices:

Ok dbf is one thing , but what does the
mount command return ?
Just type mount

1) Make sure you are not with any prompt
or cursor on /Ora1 , or left another session
there. Check child processes su - or rlogins
that arrived on this /Ora1. Exit and kill
all sessions (see who -r).
Login in via the console, so you know
it is only you loggin in.

2) If you are sure there is nothing on /Ora1
and fuser -cu shows nothing then you need
to install lsof , which will give more detail
of lost filehandles, network processes, memory stuff etc. etc. You may have something
in memory not updating the mount table or
filehandle table.

FOR INFO on lsof goto:
http://www.akadia.com/services/lsof_intro.html

Good luck:
Look before you leap
Hemmetter
Esteemed Contributor

Re: Mount problem

Hi hangyu,

Maybe your filesystem is shared by nfs?

This will keep your fs busy but wil NOT show in fuser/lsof as nfsd is a linux kernel daemon.

TRy to
$ exportfs -u "your-fs"
and umount again.



rgds
HGH

Sanjay Yugal Kishore Ha
Frequent Advisor

Re: Mount problem

Hello hangyu,

There might be mount points below /Ora1 (most probably NFS) that are in use. Use the mount command to search for "/Ora1" entries and and if the mount points are NFS of AutoFS, then turn off the automounter before retrying the mount.

Don't forget to turn on the automounter once the mount command is successful.

HTH,
Sanjay
Dying is the last thing that I will do.
Yogeeraj_1
Honored Contributor

Re: Mount problem

hi,

try the following:

dmsetup remove_all; sleep 10; mount /dev/sda1 /Ora1


kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)