Forum
[PROBLEM] NFS share not working - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: [PROBLEM] NFS share not working (/thread-3072.html)



NFS share not working - chrisroijens - 9th Aug, 2015 07:47 AM

Hi,
So I've been trying all day to get this NFS share to work...
I have a Synology DS207+, created my NFS share folders, edited the
Quote:insecure_lock
setting to just
Quote:insecure

Now when I want to mount the folder to my Raspberry Pi 2 Xbian with following command:

Quote:mount 192.168.0.97:/volume1/Series /media/nas/series

I always get this error:
Quote:mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified

/etc/fstab looks like this:
Quote:# UNCONFIGURED FSTAB FOR BASE SYSTEM
one /run/user tmpfs noauto 0 0
none /run/shm tmpfs noauto 0 0
none /run/lock tmpfs noauto 0 0
/dev/root /home xbian subvol=home/@,noatime,nobootwait 0 0
/dev/root /lib/modules xbian subvol=modules/@,noatime,nobootwait 0 0
/dev/root / xbian noatime,nobootwait 0 0
/dev/mmcblk0p1 /boot xbian rw,nobootwait 0 1
192.168.0.97:/volume1/Series /media/nas/series nfs rw,defaults,intr,vers=3 0 0

And mount -a gives the same error..

Can somebody please help me, would really appreciate it cause I'm getting desperate.

Or is there maybe an easier way to mount NFS shares and use them with Transmission and stuff?

Thanks


RE: NFS share not working - CurlyMo - 9th Aug, 2015 06:58 PM

As it says, add -o nolock in the mount command as well as here:
Code:
192.168.0.97:/volume1/Series /media/nas/series nfs rw,defaults,intr,vers=3,nolock 0 0



RE: NFS share not working - chrisroijens - 9th Aug, 2015 11:23 PM

(9th Aug, 2015 06:58 PM)CurlyMo Wrote:  As it says, add -o nolock in the mount command as well as here:
Code:
192.168.0.97:/volume1/Series /media/nas/series nfs rw,defaults,intr,vers=3,nolock 0 0

Oh my god, amazing, I feel like a retard... Thanks for that!