Operating System - HP-UX
1832086 Members
3193 Online
110037 Solutions
New Discussion

Re: Can not umount file system because its busy.

 
SOLVED
Go to solution
John Goetz
Advisor

Can not umount file system because its busy.

This is a Oracle file system and nothing is running on it. Tried ps and fuser and it comes back with nothing. Any other commands worth trying?
9 REPLIES 9
James R. Ferguson
Acclaimed Contributor
Solution

Re: Can not umount file system because its busy.

Hi John:

Try running 'fuser' using the disk device file hosting the filesystem instead of the mount point:

# fuser -ku /dev/dsk/cXtYdZ

Regards!

...JRF...
Steven E. Protter
Exalted Contributor

Re: Can not umount file system because its busy.

Shalom John,

fuser -cu /filesystem

to see what proceses are open.

fuser -cuk /filesystem

to make those processes go away.

Make sure one of those processes is not your root login session.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Muthukumar_5
Honored Contributor

Re: Can not umount file system because its busy.

Get Process ID information as,

# fuser -cu

and kill them.

Or kill them as,

# fuser -kuc

Try umount operation now!

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Can not umount file system because its busy.

Hello,

Have you stopped all running oracle processes ?
Also, # fuser -ku will kill all the running process on

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Sivakumar TS
Honored Contributor

Re: Can not umount file system because its busy.



Dear,

1 Make sure the database & listner is shutdown

2 do a #ps -ef to ensure that no process uses the f/s

3 may do a #fuser -ck

With Regards,

Siva.
Nothing is Impossible !
Zigor Buruaga
Esteemed Contributor

Re: Can not umount file system because its busy.

Hi,

Since you say you already tried with ps and fuser, maybe "lsof" can report something.
Is it possible that you have another filesystem mounted under a subdirectory of your oracle filesystem? ( don't have a machine to test, and don't remember if in such case you will see something on the output of ps or fuser ). I'm not sure if this will help.

Regards,
Zigor
chapaya_1
Frequent Advisor

Re: Can not umount file system because its busy.

Hi ,

lsof /FileSystem

See which proccess use the file system .

bye.
Hemmetter
Esteemed Contributor

Re: Can not umount file system because its busy.

Hi John


especially use

# lsof -bw +L1 | grep your-lvol

to see if there are deleted, still-in-use files.


mfg
HGH
KRI
Advisor

Re: Can not umount file system because its busy.

Hi!

If any other commands returns nothing, comment filesystem in /etc/fstab and restart system.

Regards!
KRI