Operating System - HP-UX
1833012 Members
2872 Online
110048 Solutions
New Discussion

Unmounting nfs file systems

 
Richard Ray
Advisor

Unmounting nfs file systems

If you get "umount: cannot unmount /... : Device busy" and fuser shows no processes how can I unmount this file system? This is a production system so shutting down would make a lot of people unhappy. I think I've tried most of the usual suggestions I'm looking for the unpublished version.
4 REPLIES 4
Jan Affolter
Honored Contributor

Re: Unmounting nfs file systems

Hi Richard,

Did you try the command fuser like that ?

machine1:/filesystem/2mount

It will show you all processes using files.

Hope this help.

Jan
Theory is good, pratice is better !
Richard Ray
Advisor

Re: Unmounting nfs file systems

I used the description of the mount point as it appears in mnttab.
Frederic Soriano
Honored Contributor

Re: Unmounting nfs file systems

You should definitely use the 'lsof' command, available at this URL:

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.51/

It will give complete answers about process IDs preventing filesystems from being unmounted.

SD depots are available for both 10.20 and 11.00 platforms, as well as source code (very easy to recompile).

I hope this helps.

Best regards.

Fred.
Richard Ray
Advisor

Re: Unmounting nfs file systems

Lsof was not able to any processes attached to my file system. I even tried the +D option but it never returned. I did find time over the weekend to reboot the server and clear the problem. Thanks for the help.