Stale NFS file handle (1254 Views)
Reply
Valued Contributor
Posts: 406
Registered: ‎07-13-2005
Message 1 of 7 (1,254 Views)

Stale NFS file handle

Hello,

After restarting systemA we detected filesystem from it mounted using nfs in systemB is not accessible.

When we executed bdf command the output is as follows:

bdf: /export: Stale NFS file handle

I tried to mount and umount filesystem but I can't due this status.

I read information on internet and the best solution is restart systemB, but is there any way to fix issue without restarting?

Thanks in advance for your help.

Regards,

Carles
Outstanding Contributor
Posts: 16,205
Registered: ‎11-03-1996
Message 2 of 7 (1,254 Views)

Re: Stale NFS file handle

In a word: no.

Your only hope would have been if you were able to manually mount/unmount.


Pete

Pete
Honored Contributor
Posts: 2,278
Registered: ‎03-01-2004
Message 3 of 7 (1,254 Views)

Re: Stale NFS file handle

Hi,

You can also try stopping and starting nfs.core and nfs.client

#/sbin/init.d/nfs.client stop
#/sbin/init.d/nfs.core stop
#/sbin/init.d/nfs.core start
#/sbin/init.d/nfs.client start


HTH,
Devender
Impossible itself mentions "I m possible"
Honored Contributor
Posts: 4,030
Registered: ‎06-09-2004
Message 4 of 7 (1,254 Views)

Re: Stale NFS file handle

check this:

# System B - NFS client
# showmount -a

I hope you are having but responseless. Check the ping connectivity to NFS server System A.

Go to System A if it is running then,

# showmount -e

It has to show exported file system informations.

or

# exportfs -v

I hope mounted file system to NFS client (system B) is not exported now. You have to put that into /etc/exports file for permanent. (kept after reboot too)


--
Muthu
Easy to suggest when don't know about the problem!
Exalted Contributor
Posts: 33,806
Registered: ‎08-15-2002
Message 5 of 7 (1,254 Views)

Re: Stale NFS file handle

Shalom Carles,

No. This was casued by a problem on the NFS server, not this box. Newer automounter software seems capable of getting around this, but stock NFS that came with your release will react like this.

I'm not sure about NFS v4.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Honored Contributor
Posts: 749
Registered: ‎12-06-2005
Message 6 of 7 (1,254 Views)

Re: Stale NFS file handle

Either try

exportfs -a & try mounting once again

or best rebootttt

Chan
Valued Contributor
Posts: 406
Registered: ‎07-13-2005
Message 7 of 7 (1,254 Views)

Re: Stale NFS file handle

Hello all,

I tried all you suggested but nothing fixed issue.

I will reboot. This is not a critical system so I can do it later, out of office hours.

Thanks anyway for your help.
Regards,

Carles
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.