1754021 Members
7775 Online
108811 Solutions
New Discussion юеВ

Re: nfs mount issue

 
SOLVED
Go to solution
MikeL_4
Super Advisor

nfs mount issue

I have a server that has an nfs mount to another server that was taken offline...

The remote server admin never informed us the server was being shutdown before and now our server is hanging looking for the nfs mounted file systems....

Is there any way to get these cleared short of a reboot ??
6 REPLIES 6
likid0
Honored Contributor
Solution

Re: nfs mount issue

Hy, if you have 11.23 or 11.31 you can use the umount -f /nfs_mountpint.

If you have 11.11 you can try to stop the nfs client and nfs core processes(if you don't have any other nfs mounts).

You can do it by:

/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.core stop

Try to umount it

/sbin/init.d/nfs.client start
/sbin/init.d/nfs.core start


Windows?, no thanks
Steven E. Protter
Exalted Contributor

Re: nfs mount issue

Shalom,

You may try and configure the connection with autofs.

OR you can try this:

/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.core stop

/sbin/init.d/nfs.core start
/sbin/init.d/nfs.server start
/sbin/init.d/nfs.client start

That might help.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
MikeL_4
Super Advisor

Re: nfs mount issue

I have tried to stop the nfs.client, but it ust hangs, never shuts down... any way to force it down to free these mounts ?
VK2COT
Honored Contributor

Re: nfs mount issue

Hello,

You are obviously using aging HP-UX 11.11.

Please refer to some good references:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1203288078675+28353475&threadId=1139757

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

Regards,

VK2COT
VK2COT - Dusan Baljevic
Avishay_Cohen
Frequent Advisor

Re: nfs mount issue

in environment where the nfs server might go up/down sometimes, there is a place to consider using automounter rather than using fstab.
you'll get more flexible behaviour
MikeL_4
Super Advisor

Re: nfs mount issue

Thanks, was trying to avoid a reboot, but I guess there isn't any other way...