System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to unmount a nfs file system

 
Sreer
Valued Contributor

Need to unmount a nfs file system


Hi Gurus,

I have an NFS mount issue in my server.

Due to some issue its not getting available in my server and I want to remount it.

root@server11:.../root #  grep -i "filerx" /etc/mnttab
filerx:/pl_dvise_totransfert /local/home/DVISE_AEROLIA-TRANSFERT nfs rsize=32768,wsize=32768,proto=udp,NFSv3,dev=6800000c 0 0 1288497653
root@server11:.../root #

while trying to unmount getting errors:

root@server11:.../root # umount /local/home/DVISE_AEROLIA-TRANSFERT
nfs umount: nfs_unmount: /local/home/DVISE_AEROLIA-TRANSFERT: is busy
umount: return error 1.

root@server11:.../root # umount -f /local/home/DVISE_AEROLIA-TRANSFERT
umount: illegal option -- f
usage: umount [-V] [-v] { special | directory }
       umount [-F FStype] [-v] [-h host] -a

root@server11:.../root # uname -a
HP-UX server11 B.11.11 U 9000/785 2002865316 unlimited-user license

Seems umount is not help full here?

Any option in 11.11 to unmount force fully [ other than reboot? ].

 

Cheers

Sree

3 REPLIES
Dennis Handly
Acclaimed Contributor

Re: Need to unmount a nfs file system

>while trying to unmount getting errors:

>nfs umount: nfs_unmount: /local/home/DVISE_AEROLIA-TRANSFERT: is busy

 

You need to use fuser(1m) to find who is using that filesystem and get them off.  Anyone's CWD there?

>Any option in 11.11 to unmount force fully [other than reboot?].

 

I think you need to be on 11.31.  But fuser(1m) may find the users that cause it to be busy.

rariasn
Honored Contributor

Re: Need to unmount a nfs file system

Hi Sree:

 

- server "filerx"

 

root@filerx# umount -u /pl_dvise_totransfert

 

- client "server11"

 

root@server11# umount -v filerx:/pl_dvise_totransfert

 

rgs,

 

Sreer
Valued Contributor

Re: Need to unmount a nfs file system

Hi Gurus,

 

Finally I restarted server to solve the issue.. seems no more options to recover from hung nfs issue...

 

rgds

Sree