Operating System - HP-UX
1834650 Members
1904 Online
110069 Solutions
New Discussion

Re: Can't umount the path

 
hangyu
Regular Advisor

Can't umount the path

I understand this is a typical question of umount system , but sorry to ask again,

I use lsof to check the path /home/edp and found many process , I have already kill all these process , but still can't umount the path , I sure I am not stand on the path , can advise what is wrong ? how can I know anyone stand on the path ? thx


#umount /home/edp
umount: /home/edp: device is busy
7 REPLIES 7
Yang Qin_1
Honored Contributor

Re: Can't umount the path

Hi, run command "fuser -cu /home/edp" and find the processes which is accessing that file system.

Yang

Re: Can't umount the path

Hi,

U can findout the users by the command

fuser -cu /home/edp (or)
ps -eaf | grep -i /home/edp

once u found anything, by using following command u can kill the same.

fuser -ku /home/edp

Thanks,
Vivek
Sanjay Yugal Kishore Ha
Frequent Advisor

Re: Can't umount the path

Also check that there are no other mount points under /home/edp(either with mount or bdf)
If they are, then they would have to be unmounted before /home/edp can be unmounted.

-Sanjay
Dying is the last thing that I will do.
Peter Nikitka
Honored Contributor

Re: Can't umount the path

Hi,

if the path is contained in an exported filesystem for NFS, you'll have to unexport it before you can umount it.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Sp4admin
Trusted Contributor

Re: Can't umount the path

Hi hangyu,

The form has spoken. :-)

fuser -cu /home/edp
fusre -ku /home/edp

One of these should work.

Sp,
mlewis
Frequent Advisor

Re: Can't umount the path

Hangyu

try as mentioned above

fuser -cu /filesystem ; and then kill the process
fuser -k /filesystem
if needed force the umount
# umount -f /filesystem
Michael Allmer
Frequent Advisor

Re: Can't umount the path

Sometimes even if you run fuser -cu you get the follwoing.

/#fuser -cu /home/edp
home/edp:

Which does not give any process information.

In addition to having a possible NFS export you may check to see that samba is also running.