Error "fileid changed" when accessing files over NFS
9,725
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.
Related videos on Youtube
Author by
Roman Prykhodchenko
Updated on September 18, 2022Comments
-
Roman Prykhodchenko about 1 monthI 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 /ebsand 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 0The 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 0x6e001Some info:
uname -r 2.6.32-312-ec2 uname -m i686-
Roman Prykhodchenko over 11 yearsFound an answer. Cannot post it now because of 24hours limit. -
Roman Prykhodchenko over 11 yearsThank you for your comment. I marked all answered questions as Answered.
-
-
BenMorel almost 8 yearsPlease accept your own answer if you found the solution to your problem!