Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

One virtual machine runnning on Xen host experienced 'Stale NFS file handle' problems and I can't explain it while there is no NFS mount present.

The problem occurs when listing the content on a specific directory:

$ ls -la
ls: cannot access xxx: Stale NFS file handle

The following command returns nothing:

mount -t nfs

Other info:

# cat /etc/debian_version 
5.0.3

# uname -a 
Linux abc 2.6.26-1-xen-amd64 #1 SMP Fri Mar 13 21:39:38 UTC 2009 x86_64 GNU/Linux
share|improve this question
1  
Conpare the contents of /etc/mtab with the output of cat /proc/mounts. I have that error rarely, usually I do exportfs -r on the NFS-Server and then remount all NFS mounts on the client. –  ott-- Oct 20 '11 at 15:43
add comment

migrated from stackoverflow.com Oct 20 '11 at 14:36

This question came from our site for professional and enthusiast programmers.

2 Answers

With no-NFS problem seems filesystem integrity. Try to check filesystem. It worked for me.

share|improve this answer
add comment

This error comes up when client is trying to access a file or a directory which is removed/replaced.

Here are some solutions to try:

  • unmount and remount: you may use -l option for lazy unmount
  • create a new mount point
  • restart nfs client
  • touch this file, for e.g: touch xxx
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.