[mythtv-users] [OT] Problem getting recordings working with NFS

Phill Edwards philledwards at gmail.com
Thu Oct 17 01:17:48 UTC 2013


I've recently decided to move my recordings from local disk to NFS. I had
it working with one NFS disk but then I installed a 2nd and ever since then
I can't get it working. I think I May have misconfigured /etc/exports but
according my searches it looks correct so I'm a bit stuck.

On the NFS server I have 2 disks (sdb1 and sdb2 mounted on
/srv/mythnfs/xvdb1 and /srv/mythnfs/xvdc1)

/etc/exports
------------------
/srv/mythnfs
192.168.0.0/24(rw,fsid=0,no_root_squash,insecure,no_subtree_check,async)
/srv/mythnfs/xvdb1
192.168.0.0/24(rw,fsid=0,no_root_squash,insecure,no_subtree_check,async)
/srv/mythnfs/xvdc1
192.168.0.0/24(rw,fsid=0,no_root_squash,insecure,no_subtree_check,async)


But when i try to mount the NFS shares on my separate MythBackend:
$ sudo mount -t nfs 192.168.0.154:/xvdb1 /mnt/xvdb1
$ ls -l
ls: cannot access mythdisk1: Stale NFS file handle
total 16
drwxr-xr-x  2 phill phill 4096 Oct 11 08:47 disk
drwxrwxr-x 12 phill phill 4096 Oct 11 20:32 xvdb1
drwxr-xr-x  2 phill phill 4096 Oct 17 06:34 xvdc1
phill at mbe:/mnt$ ls -l xvdb1/
[  507.455519] NFS: server 192.168.0.154 error: fileid changed
[  507.455522] fsid 0:16: expected fileid 0x2, got 0x603f7
ls: cannot open directory xvdb1/: Stale NFS file handle

Can anyone see what i'm doing wrong here? I'm pretty sure it's a
misconfiguration on the NFS server but don't know exactly what.

P.S. I've done multiple reboots of NFS server and MythBackend but always
get the "Stale NFS file handle" problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20131017/e048acad/attachment.html>


More information about the mythtv-users mailing list