msgbartop
Tips and Tricks site for advanced HP-UX Engineers
msgbarbottom

20 Jun 12 Force umount when a file system won’t umount

Lets say we have a file system mounted as /stuck

umount /stuck

Mount Point busy.

fuser -cu /stuck

# shows no open processes on the filesystem. umount won’t work.

umount has no documented -f (force) paramter

vxumount is the tool of choice here.

vxumount -o force /stuck

/stuck is no longer stuck

vxmount is not always in the PATH. It is something worth searching for and is available on most HP-UX systems.

Only works on vxfs file systems, not HFS or NFS.

 

Tags: ,

WhatsApp chat