Operating System - HP-UX
1751879 Members
5043 Online
108782 Solutions
New Discussion юеВ

Re: Stale NFS file handle

 
Carles Viaplana
Valued Contributor

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
6 REPLIES 6
Pete Randall
Outstanding Contributor

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
Devender Khatana
Honored Contributor

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"
Muthukumar_5
Honored Contributor

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!
Steven E. Protter
Exalted Contributor

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
Chan 007
Honored Contributor

Re: Stale NFS file handle

Either try

exportfs -a & try mounting once again

or best rebootttt

Chan
Carles Viaplana
Valued Contributor

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