1835186 Members
1913 Online
110077 Solutions
New Discussion

Stale NFS

 
Waqar Razi
Regular Advisor

Stale NFS

How can we bounce an stale NFS?

Jul 21 03:39:20 USUNX15 automountd[756]: stat /log/prd: Stale NFS file handle
Jul 21 03:39:20 USUNX15 automountd[756]: errno 70
Jul 21 03:39:20 USUNX15 automountd[756]: server merpkg.rpcsap.com:/log/prd is up bu
t get a staled device id! errno= 70
4 REPLIES 4
V. Nyga
Honored Contributor

Re: Stale NFS

Hi,

check for processes which still hold this file open.
Stale NFS appears when you delete a file which is still in use of a process.
Such files look like '.nfsxxx'

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

Re: Stale NFS

And how can I resolve this situation, please provide the step by step solution to this problem.
Dennis Handly
Acclaimed Contributor

Re: Stale NFS

>And how can I resolve this situation,

Unfortunately this is typically a rolling reboot of every machine if you have lots of interdependent mounts. :-(

Is merpkg up?
What OS version are you using?
11.31 has an umount -f option.

What version of the automounter are you using? You should be using the latest, enhanced autofs:
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=ONCplus
V. Nyga
Honored Contributor

Re: Stale NFS

Hi,

do you have a process which hold a .nfs-file?
'ps -ef|grep .nfs'.
You can also search for the file from '/':
'find / -type f -name ".nfs*" -exec ll {} \+ '
Maybe then you get a hint which application is holding the file.
Then you should check why the file was deleted and why it's still in use.
When the application is stopped, the staled file will be deleted.
"...staled device id! errno= 70" - why a device? I can't find a hint in the knowledge base.

Volkmar
rip dad
*** Say 'Thanks' with Kudos ***