1848604 Members
6310 Online
104033 Solutions
New Discussion

Re: NFS client

 
SOLVED
Go to solution
j773303
Super Advisor

NFS client

Due to the NFS server is down, there is an
mount pint that's /apps/test is still mountd.
How to remove the /apps/test from SAM or other ways?

note: It will show /apps/test device busy.
Hero
9 REPLIES 9
Andreas D. Skjervold
Honored Contributor

Re: NFS client

Hi

Belive you might not be allowed to do this until the NFS server is up again...?

rgds
Andreas
Only by ignoring what everyone think is important, can you be aware of what everyone ignores!
Robert-Jan Goossens
Honored Contributor

Re: NFS client

Hi,

# umount /apps/test

will give

nfs: server XXX.XXX.XXX.XXX not responding, still trying

Reboot is the only option left.

Robert-Jan.
S.K. Chan
Honored Contributor

Re: NFS client

A reboot would clear you stale NFS mount on the NFS client .. if this fails to work ..
# mount -v
==> Take note of the stale mount point. It may look like this .. (for example)
server:/opt/data on /apps/test type nfs ....
# fuser server:/opt/data
==> See if there are any processes that may still accessing it and kill them with ..
# fuser -k server:/opt/data
# umount server:/opt/data
==> Try to umount it .. if it still fails .. reboot is your only option.
j773303
Super Advisor

Re: NFS client

But the mount entry is still existing in NFS Client, if reboot the machine, is /apps/test still re-connect to NFS server? Does this not a problem. Any way I can remove the /apps/test
from NFS client?

node: The NFS server is down and in the troubleshooting currently.
Hero
S.K. Chan
Honored Contributor
Solution

Re: NFS client

If you reboot the client, on it's way up it'll try to mount /apps/test and since the server is still down, the mount request will timeout and the client will be without the mount point. What you can do is comment out the mount point entry in /etc/fstab before you reboot the client, that way it'll be ignore. Later when the server eventually come back you can always mount the FS manually and then remember to uncomment the entry in /etc/fstab.
Robert-Jan Goossens
Honored Contributor

Re: NFS client

Have you got lsof ?

try finding the processes on /apps/test and kill them.

# umount /apps/test

Don't think it will work but !!!

If this is not working. Uncomment /apps/test from the /etc/mnttab and reboot

Hope it helps,

Robert-Jan.
Andreas D. Skjervold
Honored Contributor

Re: NFS client

Hi again

If hardmounted uncomment the filesystem in /etc/fstab before rebooting or the server will not come up.

Andreas
Only by ignoring what everyone think is important, can you be aware of what everyone ignores!
Zeev Schultz
Honored Contributor

Re: NFS client

I'd also check automount (/etc/auto_master)
and (though extreme) can cancel nfs client at
all (through /etc/rc.config.d/nfsconf).

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Robert-Jan Goossens
Honored Contributor

Re: NFS client

Thanks Andreas
it is /etc/fstab not mnttab.