Operating System - HP-UX
1819794 Members
3220 Online
109607 Solutions
New Discussion юеВ

NFS message: Stale NFS file handle

 
SOLVED
Go to solution
Manuales
Super Advisor

NFS message: Stale NFS file handle

Hi .. can you tell me why does appear this message?

unix28:hrpadm 28> cd /patito
/patito: Stale NFS file handle

it sounds like a file system in NFS ... why can not execute cd command to /patito?

what do i must to has access there?

Thanks, Manuales.

7 REPLIES 7
Pete Randall
Outstanding Contributor
Solution

Re: NFS message: Stale NFS file handle

Apparently /patito is mounted from an NFS server that is no longer available. You will be unable to access it until the NFS server becomes available again. In fact you may have to reboot this server in order to get rid of the stale file handle.


Pete

Pete
Bill Hassell
Honored Contributor

Re: NFS message: Stale NFS file handle

NFS is a network filesystem so is /patito is located on another computer, that computer is dead or stopped responding sometime in the past. Once you fix the remote NFS server, you can try a umount and mount of the filesystem. If that doesn't work, depending on your version of HP-UX and the patches you have installed, you may have to reboot your local computer. Note that network problems (disconnected cables, routers that are down, overloaded network, etc) may also cause this problem.


Bill Hassell, sysadmin
Bill Thorsteinson
Honored Contributor

Re: NFS message: Stale NFS file handle

If the system was mounted with the correct,
non-default switches, you can kill any
processes usign that handle and force a
dismount.

Otherwise, you will have to regain access
to the share (and possibly file), or reboot.

Review the man page for mount, and the
nfs pages it points you to.

You will want to consider using int on all
your NFS mounts. You may also want to
consider using the automounter.
Dave Olker
Neighborhood Moderator

Re: NFS message: Stale NFS file handle

There are two primary reasons why you would ever get a Stale NFS file handle message:

1) The file/directory has been deleted on the server

2) The file/directory has been unexported on the server

If /patito is a filesystem that this NFS client normally has access to and it hasn't been deleted on the server, then my guess is it somehow got unexported.

You can try logging onto the server that houses the local filesystem for /patito and try unexporting/re-exporting the filesystem and see if that clears it up.

Regards,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Arunvijai_4
Honored Contributor

Re: NFS message: Stale NFS file handle

Hello,

Its apparent that NFS server is not available from your machine. Try unmount and mount it again from the server side.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Chauhan Amit
Respected Contributor

Re: NFS message: Stale NFS file handle

Hi,

Check out these threads

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=882682

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=126532

Regards,
Amit
If you are not a part of solution , then you are a part of problem
Muthukumar_5
Honored Contributor

Re: NFS message: Stale NFS file handle

Your NFS server is not reachable from the NFS client. Do as,

ping
showmount

will help you out. Try to contact NFS server and restart nfs.server nfs.core and nfs.client services. It will work now.

Else,

fuser -ku /patito
umount /patito

will unmount it.

--
Muthu
Easy to suggest when don't know about the problem!