nfs: Stale File Handle with LVM partitions
recently I was having a problem with NFS. I wanted to export a quite large NFS-Volume (20TB) and when I tried to mount it on the client there was always the error
nfs: Stale File Handle
I couldn’t find the error and read some articles which indicated perhaps a corrupted underlying filesystem. Fearing the worst i wanted to do a fsck, but as the server currently is under heavy use this was no option. Luckily i found the next article which explains, that with LVM-Volumes one has to set a “fsid” Option or the export/mount could fail.
http://blog.wpkg.org/2007/10/26/stale-nfs-file-handle/
so just add a unique number as fsid to your export line, e.g. and restart the nfs-server, and voilà everything works
/vol1 192.168.123.123(rw,fsid=1234)
1 comment
Archived from the original WordPress blog. Comments are closed.