LVM and VxVM
cancel
Showing results for 
Search instead for 
Did you mean: 

How to unmount the NFS. Please help.

 
SOLVED
Go to solution
yulianto piyut
Valued Contributor

Re: How to unmount the NFS. Please help.

hi almond,

did you checked the source of nfs mounted? I think, you must check the source first. If at the source, the shared directory not mounted, you must mount it (restart nfs daemon) and than try to umount the directory at client.
to restart nfs daemon:
# /sbin/init.d/nfs.server stop
# /sbin/init.d/nfs.server start


-yut-
Highlighted
Indrajit Bhagat
Regular Advisor

Re: How to unmount the NFS. Please help.

Hi Almond,

Try
#fuser -au /file system name

It will shown the user who are using that file system.

Kill the user who are accesing the the file system
# kill -9 processesid or userid.


#cd /

#umount /filesystem name

V. Nyga
Honored Contributor

Re: How to unmount the NFS. Please help.

Hi again,

why you don't try to give server A a 'server B' again? Change the ip address in /etc/hosts so server A can see server B again - or define any client you don't use at the moment and configure it like server B was before you changed it - OR undo the changes at server B.

When the mount is established again, you can unmount without problems. Then (after /etc/fstab is changed) you can change back.

Volkmar
*** Say 'Thanks' with Kudos ***