Operating System - HP-UX
1751950 Members
4736 Online
108783 Solutions
New Discussion юеВ

Re: How to unmount the NFS. Please help.

 
SOLVED
Go to solution
apple
Super Advisor

How to unmount the NFS. Please help.

Dear HPUX Gurus,
We have NFS file system currently mounted in server A. The problem is the server B that provides the nfs file system has changed the ip. When I go to server A, it says - NFS server B not responding still trying. how can I disable this NFS file system since we don't need it. Please help. Hope to hear from you.
22 REPLIES 22
Yogeeraj_1
Honored Contributor

Re: How to unmount the NFS. Please help.

hi,

can you try to change the IP address of server B in the /etc/hosts?

revert

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Shrikant Lavhate
Esteemed Contributor

Re: How to unmount the NFS. Please help.

hi,

To unmount NFS imported you can use:

umount -h xyz.com -a

This will unmount all mount imported from the host.
Will it remain a personal, if I broadcast it here!
apple
Super Advisor

Re: How to unmount the NFS. Please help.

Dear Gurus,
before I unmount, i wanna double verify the NFS from that server B.
I tried to issue:
# showmount -a
showmount: puyuh: RPC: Program not registered

the command
# umount -h xyz.com -a

if let say the server name is "kedidi"
shall i use like this:
# umount -h kedidi -a

I'm a newbie, I'm very afraid to change something very major like this. Hope to hear from you. Thanks a bundle
promise of a good points
Shrikant Lavhate
Esteemed Contributor

Re: How to unmount the NFS. Please help.

hi,

hostname you are using into command should be same as mentioned into /etc/mnttab. You can verify this name by running bdf command where it can be seen as xyz.com:/filesys.
Will it remain a personal, if I broadcast it here!
F Verschuren
Esteemed Contributor

Re: How to unmount the NFS. Please help.

If the Ip adress is no longer availeble it is waiting on I/O im my experiens you can only umount it if the i/o wait is gone, this can be done bu rebooting server A
ore temp ad the ip back to server b and umount it.
Robert-Jan Goossens
Honored Contributor
Solution

Re: How to unmount the NFS. Please help.

Hi,

If you are running 11.i v2 or v3 aka 11.23 and 11.31, you can use the umount -f to force the nfs unmount otherwise you will have to reboot.

Regards,
Robert-Jan
Yogeeraj_1
Honored Contributor

Re: How to unmount the NFS. Please help.

hi again,

did you try to modify the /etc/hosts or DNS entry so that the server resolves to the new address?

(may also have to modify your /etc/exports)

this can work.

revert
kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
V. Nyga
Honored Contributor

Re: How to unmount the NFS. Please help.

Hi,

the problem is to umount a not-responding file-system!
With the right os (as said above) you can use the force-option, else you have to reconnect to the nfs-server first or do a reboot.
If it's only the ip-address, then you have to change this address for server B in the /etc/hosts of server A.
Then the reconnect should work.
To unmount a directory check your /etc/fstab, there, for example, is:
'server:/bitmaps /bitmaps nfs'
Then your command is 'umount /bitmaps'.
Else, before reboot(!), you should change the /etc/fstab and comment out all directories with are mounted from server B.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
apple
Super Advisor

Re: How to unmount the NFS. Please help.

Dear HP UX Gurus,
Thanks a lot for your close guidance. I was able to NFS server B not responding.
I commented the respective entry in the /etc/fstab and /etc/mnntab from the NFS client. When I issue bdf in the NFS client, the NFS server B not responding was disappear. Thanks a lot. :)