1826909 Members
3064 Online
109705 Solutions
New Discussion

force unmount

 
manu_9
Frequent Advisor

force unmount

Can you forcibly unmount a fs in HP-UC 11i or 11.23.like umount -f on solaris and aix.
11 REPLIES 11
Mark Grant
Honored Contributor

Re: force unmount

No, there isn't a force option on hpux.
Never preceed any demonstration with anything more predictive than "watch this"
Rajesh D L
Frequent Advisor

Re: force unmount

Hi Manu,

U can try fuser -ck /fs;umount /fs
for unmounting forcefully.

regards,
RDL.
Naveej.K.A
Honored Contributor

Re: force unmount

hi manu,

I don't think we can forcibly unmount a filesystem.

man fuser for entry -k says send sigkill signal to each process using each file..

but fuser -k filesystem
and then umount filesystem was still not working...

with best wishes
Naveej
practice makes a man perfect!!!
Robert-Jan Goossens
Honored Contributor

Re: force unmount

Hi,

If I'm not mistaken only sol 8 + 9 have the umount -f option, HPUX does not have this option yet (maybe in the future :-) ).

Regards,
Robert-Jan
Mark Grant
Honored Contributor

Re: force unmount

Just to remind everybody, Linux also has the force option :)
Never preceed any demonstration with anything more predictive than "watch this"
KapilRaj
Honored Contributor

Re: force unmount

Manu,

If ur scenarion is as follows ,

Somebody switched-off NFS server and umount commands are hanginng...

I have a work awround ...

Bringup NFS Server's IP address on the local node as an alias and try umount !

Kaps
Nothing is impossible
SAHA
Honored Contributor

Re: force unmount

No force umount in HPUX till now.

Thanks,
You must PASS failure on way to success !!!
Alzhy
Honored Contributor

Re: force unmount

Yes there is a force umount - if you've installed VxFS 3.5. I have not tried it though on NFS mounts...
Hakuna Matata.
iminus
Frequent Advisor

Re: force unmount

You can't force unmount. What you can do is to issue a fuser command on the filesystem to see if any user is using it. And do a ps -ef|grep to see if any other processes are running, also, check if the mount point contains another mount point in it's path. If you are trying to umount some system mount points like /etc or /usr, you need to do it in single user mode
hope it helps
manu_9
Frequent Advisor

Re: force unmount

Thanks , I guess HP shud provide that option to help Admins do a better job.
Brian Hackley
Honored Contributor

Re: force unmount

Hello Manu,

HP knows about this issue. We have a White Paper that discusses the issue, and yes it does cover some of the workarounds that were suggest in replies to your postings. The URL is http://docs.hp.com/hpux/onlinedocs/3929/ForciblyUnmountingNFSFilesystems.pdf

Also, please assign points to the replies given to you in the forums based on their usefulness to your issue. Thank you in advance.

Hope that helps,
-> Brian Hackley
Ask me about telecommuting!