HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

NFS stale error

 
prajul.keeriyat
Occasional Advisor

NFS stale error

Hi,
When i unmount the nfs file system,it gives divice busy error,after that it is in nfs stale states.please help
8 REPLIES
Elmar P. Kolkman
Honored Contributor

Re: NFS stale error

Apperently some process is still using the mounted filesystem. You might be lucky and have lsof available... That might be able to tell you which process is the culprit. But only if it is killable then.

Best bet is to have the NFS server back, unmount and then bring down the NFS server/export again.

If that is not a possibility, the only option left is to do it the MS way: reboot...
Every problem has at least one solution. Only some solutions are harder to find.
Dave Olker
HPE Pro

Re: NFS stale error

What OS is the NFS client running? As of 11.23 (and 11.31) we support the forced umount command: "umount -f " where the client can unmount a filesystem even if the server is down or the server has un-shared the filesystem.

If you're running 11.23 or higher on the client give that a try before rebooting.

Dave
Pramod M
Regular Advisor

Re: NFS stale error

Hi,
Try
fuser -cuk /filesystemname
umount /filesystemname
Vijaykumar_1
Valued Contributor

Re: NFS stale error

This issue would also exist if the filesystem is full, i would suggest that you login to the NFS server and have a check on the FS.
singh sanjeev
Trusted Contributor

Re: NFS stale error

refer this doc :

google :

forcibly umounting nfs filesystem

http://g4u0420c.houston.hp.com/en/3929/ForciblyUnmountingNFSFilesystems.pdf
Sanjeev Singh
Kapil Jha
Honored Contributor

Re: NFS stale error

nfs stale....
check if any process is running, try to kill it
lsof and fuser may be good option.

if its still stale you can try to clear nfs locks
clear_locks server_name

make sure you do not have any other nfs from same server.
clear_locks should be used with care, else could result in curruption.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Kapil Jha
Honored Contributor

Re: NFS stale error

read man page for more information
man clear_locks.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
prajul.keeriyat
Occasional Advisor

Re: NFS stale error

thanks