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.

I have an nfs-kernel-server configured and running on Ubuntu 10.04 Server.

/export THIRD_SERVER_IP(rw,fsid=0,insecure,no_subtree_check,async) SECOND_SERVER_IP(rw,fsid=0,insecure,no_subtree_check,async)
/export/ebs THIRD_SERVER_IP(rw,fsid=0,insecure,no_subtree_check,async) SECOND_SERVER_IP(rw,nohide,insecure,no_subtree_check,async)

I mounted the exported folder to the second server:

mount -t nfs4 -o proto=tcp,port=2049 NFS_SERVER_IP_HERE:/ebs /ebs

and it works just fine. I mounted it to the third server but I cannot access files from it.

ls -l /ebs
ls: reading directory /ebs: Stale NFS file handle
total 0

The syslog on the third server says:

kernel: [11575.483720] NFS: server NFS_SERVER_IP_HERE error: fileid changed
kernel: [11575.483722] fsid 0:14: expected fileid 0x2, got 0x6e001

Some info:

uname -r
2.6.32-312-ec2
uname -m
i686
share|improve this question
    
Found an answer. Cannot post it now because of 24hours limit. –  Roman Prykhodchenko Apr 18 '11 at 12:27
    
Thank you for your comment. I marked all answered questions as Answered. –  Roman Prykhodchenko Apr 19 '11 at 11:04
add comment

1 Answer

The error happened because of wrong fsid value in /etc/exports.

I replaced the second line with this one:

/export/ebs THIRD_SERVER_IP(rw,insecure,no_subtree_check,async) SECOND_SERVER_IP(rw,nohide,insecure,no_subtree_check,async)

and now it works.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.