[mythtv-users] [OT] Problem getting recordings working with NFS
Bret Clark
bac52266 at gmail.com
Thu Oct 17 16:14:35 UTC 2013
On 10/16/2013 09:17 PM, Phill Edwards wrote:
> 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)
> <http://192.168.0.0/24%28rw,fsid=0,no_root_squash,insecure,no_subtree_check,async%29>
> /srv/mythnfs/xvdb1
> 192.168.0.0/24(rw,fsid=0,no_root_squash,insecure,no_subtree_check,async)
> <http://192.168.0.0/24%28rw,fsid=0,no_root_squash,insecure,no_subtree_check,async%29>
> /srv/mythnfs/xvdc1
> 192.168.0.0/24(rw,fsid=0,no_root_squash,insecure,no_subtree_check,async)
> <http://192.168.0.0/24%28rw,fsid=0,no_root_squash,insecure,no_subtree_check,async%29>
>
>
> 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.
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
Mount the actual export directory "192.168.0.154:/srv/xvdb1" so:
Backend:
$ sudo mount -t nfs 192.168.0.154:/srv/xvdb1 /mnt/xvdb1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20131017/0e0f97f6/attachment.html>
More information about the mythtv-users
mailing list