Friday, July 28, 2017

# force unmount NFS on HPUX # work

UNIX : Forcibly Unmounting NFS filesystems on HPUX

There comes a time when you have to do what you have to do

When you have tried the usual umount command to unmount a NFS but it has failed due to many reasons (user using the NFS, processes run by user using the NFS, waiting didn't do it, etc)

Here are some alternative steps to unmounting an NFS



1. Attempt to unmount with the usual umount command failed

2. Use the fuser command to find out process IDs, user running/using the NFS

3. Do a ps to find the offending processes

4. Do a fuser with kill option to kill the processed holding up the NFS

5. Unmount the NFS again, now that all other processes have been terminated

And here's an important message when running fuser command


No comments:

Post a Comment