Operating System - HP-UX
1754177 Members
2882 Online
108811 Solutions
New Discussion юеВ

Impossible to umount a filesystem

 
haux
Advisor

Impossible to umount a filesystem

A "unpresent" a disk mounted on HPUX 11.23 (I use LVM)

When doing "bdf" the CLUI hang up, I can"t umount it, with "mount -v" I can see the filesystem mounted on that disk

Is there any problem to umount the filesystem without rebooting ?

Regards.
9 REPLIES 9
Robert-Jan Goossens
Honored Contributor

Re: Impossible to umount a filesystem

Hi,

Try a forced umount.

# umount -f /filesystem

Regards,
Robert-Jan
James R. Ferguson
Acclaimed Contributor

Re: Impossible to umount a filesystem

Hi:

If by "unpresent" you mean that the underlying, locally-attached, physical disk cannot be accessed (e.g. by 'dd') then a reboot may be your only option.

If the mountpoint is an NFS one, you could try forcefully unmounting with:

# umount -f

Beware that this may cause open files to loose data. See the 'mount_nfs(1M)' manpages for more details.

Regards!

...JRF...
Jeeshan
Honored Contributor

Re: Impossible to umount a filesystem

forcefully disconnect all connections from that mount point using command

#fuser -cu mountpoint

then try to unmount
a warrior never quits
Bill Hassell
Honored Contributor

Re: Impossible to umount a filesystem

Because bdf hangs and umount fails, this is very likely an NFS (shared from another computer) mountpoint and the server no longer works correctly. Unfortunately, this is a feature of NFS -- you can't un-mount an NFS filesystem if the NFS server is not working. There are features in 11.31 that will possibly help. Meanwhile, look at this document for some ideas -- and use NFS very carefully (if at all) on production systems.

http://www.docs.hp.com/en/3929/ForciblyUnmountingNFSFilesystems.pdf


Bill Hassell, sysadmin
Patrick Ware_1
Super Advisor

Re: Impossible to umount a filesystem

To see who is keeping you from unmounting:

fuser -cu /mountpoint

To forcefully unmount:

fuser -cuk /mountpoint ; umount /mountpoint

Tejas J Raval
Advisor

Re: Impossible to umount a filesystem

Hi,

Can you try the following command

#umount -v filesystemname

Regards,

Tejas
Tejas J Raval
Advisor

Re: Impossible to umount a filesystem

Hi,

Can you try the following command.

# umount -v /filesystemname

Regards,

Tejas
Aashique
Honored Contributor

Re: Impossible to umount a filesystem

Hi,
try with this command:

fuser -ku /dev/vgname/lvolname

umount /mount-point

Thanks & Regards

A. Aashique
haux
Advisor

Re: Impossible to umount a filesystem

Hi,
Thanks for the replay,

The commande "umount -v /mount" hangup,

It's not an NFS filesystem it's physical disks, they are unplugged from the server.

It seams that the only way to resolve this is to reboot the server.