NFS write error on host xyz: Stale NFS file handle - Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris NFS write error on host xyz: Stale NFS file handle - Solaris 10
# 1  
Old 10-16-2017
NFS write error on host xyz: Stale NFS file handle - Solaris 10

Code:
Oct 13 12:19:15 xyz nfs: [ID 626546 kern.notice] NFS write error on host xyz: Stale NFS file handle.
Oct 13 12:19:15 xyz nfs: [ID 702911 kern.notice] (file handle: 68000000 1bc5492e 20000000 377c5e 1ce9395c 720a6203 40000000 bdfb0400)
Oct 13 12:19:15 xyz nfs: [ID 626546 kern.notice] NFS write error on host zyz: Stale NFS file handle.
Oct 13 12:19:15 xyz nfs: [ID 702911 kern.notice] (file handle: 68000000 1bc5492e 20000000 377c5e 1ce9395c 720a6203 40000000 bdfb0400)
Oct 13 12:19:15 xyz nfs: [ID 626546 kern.notice] NFS write error on host xyz: Stale NFS file handle.
Oct 13 12:19:15 xyz nfs: [ID 702911 kern.notice] (file handle: 68000000 1bc5492e 20000000 377c5e 1ce9395c 720a6203 40000000 bdfb0400)

Is it possible to determine which file this file handle refers to?
# 2  
Old 10-16-2017
This may be caused by access to a single file failing but it's most likely that the remotely NFS shared directory has gone offline, been unshared, renamed or deleted. The client has been sitting there holding open the NFS handle and when it has tried to read or write something, the object has disappeared.

Try changing directory (cd) to each of the remotely mounted resources and see if you can list the file (ls) on it. If you can't, try and remount that remote NFS resource. If you can't, there's your problem.

Last edited by hicksd8; 10-16-2017 at 10:29 AM.. Reason: Amend command suggestions to lower case
# 3  
Old 10-16-2017
Sorry forgot to say the host is actually a storage array. i.e. xyz

Also, there are lots of mount points on this particular client. I'll try them all...


Would you expect this error to re-occur? Would be useful for future reference if there was a way to decrypt the file handle too (Although I guess not so easy if the host is not solaris).
# 4  
Old 10-16-2017
If it's a reputable storage array/SAN then, no, it shouldn't happen baring power failures and the like. Dare I suggest that the network or storage team accidently did something that they shouldn't have?
This User Gave Thanks to hicksd8 For This Post:
# 5  
Old 10-16-2017
NFS has an inherent problem. It is not very good at knowing if the mounted resource is available or not, so it depends on a response from the host providing the resource - but only after some applications asks for it.

Example NFS4 on a Solaris 10 machine used to hang shutdown when a user executed a cd to the NFS directory, and then just left the process sitting. The machine had zones (virtuals) and some NFS connections were required from zone to zone. Not a great idea.

This meant that if NFS zone1 -> zone2 and zone2 was taken down, the machine would not reboot because NFS could not figure out how close the open file, and NFS will wait for long periods of time for a resource.

You may have what amounts to a similar problem. A user on one machine has an NFS mounted directory open - the directory lives on another virtual or machine. Something happens on the remote and the local one hangs. NFS has problems, avoid it if you can. NFS can negatively affect simple commands like pwd and system calls like realpath() if the parent directory of your current directory has an external NFS mount. And that directory no long is available.
This User Gave Thanks to jim mcnamara For This Post:
# 6  
Old 10-17-2017
Thanks all.

Out of interest - is it even possible to do anything with those file handles?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

NFS multiple write error.

Hi, We are taking the mksysb backup to NIM server's NFS mount point (/backup). We have mounted /backup to all the clients /backup and full permission. When multiple mksysb backup starting simultaneously to the NIM server's shared NFS mount point then only one backup is running and all others... (3 Replies)
Discussion started by: sunnybee
3 Replies

2. UNIX for Advanced & Expert Users

What is a file handle? for NFS troubleshooting stale issue.

Experts, Can any one please explain about a "File Handle" , what it is. Can we see it, like an inode number. - Also what is the significance of it in "Stale NFS file handle" error. Thanks, (3 Replies)
Discussion started by: rveri
3 Replies

3. UNIX for Advanced & Expert Users

How to decode nfs file handle in HP-UX?

Hi Experts, Any idea how to decode file handle in HP-UX? I am getting the following error continously in my HP-UX 11.31 box :mad: Apr 26 07:15:00 host62 su: + tty?? root-bb Apr 26 07:15:00 host62 su: + tty?? root-abcadm Apr 26 07:15:01 host62 vmunix: NFS write error on host peq9vs:... (1 Reply)
Discussion started by: vipinable
1 Replies

4. Solaris

Solaris 9 as a nfs client -- centos as a nfs server.

Hello, I have a centos as nfs server, its name is centos_A. After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/* But, My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies

5. Linux

NFS file handle question

Hello All, I have a small question regarding the NFS file handles. Suppose I have a NFS client who has requested for a particular file from the NFS server.Now lets assume that I am using a NFS v2 server. So I get the filehandle for that file and I can use it. Suppose later I upgrade the server to... (0 Replies)
Discussion started by: prathamesh
0 Replies

6. UNIX and Linux Applications

Stale NFS file handle

There are a filesystem /GWD/appbase/projects/GRIDDB Under this filesystem there is a directory called backup. But When I am trying to access the backup directory ,it is showing me the following error: # cd /GWD/appbase/projects/GRIDDB # cd backup -bash: cd: backup: Stale NFS file handle ... (3 Replies)
Discussion started by: alphasahoo
3 Replies

7. Solaris

NFS write error on host : Stale NFS file handle

:confused:Hi all When i see in the /var/adm/messages, i saw the following error unix: NFS write error on host : Stale NFS file handle. unix: (file handle: 45ca415 3e7 a0000 2c7f6 3ebfc25f a0000 2 3e49) It is using sunOS 5.7. Is anybody know what is this error? Is is related to any network... (2 Replies)
Discussion started by: AirWalker83
2 Replies

8. Solaris

Error Message: find: cannot open /: Stale NFS file handle

I am using the "find" command below and it respond with the error message " find: cannot open /: Stale NFS file handle" what does it mean? what can I do about it? Need advice, thanks. below are the command that I enter, the respond and the error message: root@ScripServer:/# find / -name... (1 Reply)
Discussion started by: ezsurf
1 Replies

9. UNIX for Advanced & Expert Users

Stale NFS file handle

Hi, I get an error saying "Stale NFS file handle" how can I solve this? Is it possible to do this with a umount/ mount command? (5 Replies)
Discussion started by: rein
5 Replies

10. UNIX for Advanced & Expert Users

NFS file handle

How can I kill mount connection(NFS , made by automount) if remote filesystem is down? I tried: fuser -ku /auto /auto: umount /auto nfs umount: ERROR: /auto is busy If I try cd /auto - I get - /auto: Stale remote file handle. I know that reboot will help but I cannot reboot this... (2 Replies)
Discussion started by: kazimir
2 Replies
Login or Register to Ask a Question