Did a fresh install of Alpha 4 on new Pi2, ran the updates from the GUI and setup NFS sharing according to various forum posts and it all works… until I reboot and the NFS share mount folder disappears. So I recreate it and it all works until a reboot… lather,rinse, repeat. Am I missing something… besides the mount folder?
A bit hard to tell when you haven’t provided much information.
What does your /etc/fstab file look like ?
You aren’t trying to mount your NFS share under /media by any chance ? If so don’t. Mount it under /mnt instead.
This is because we automatically remove any empty directories under /media during boot so that the automounter doesn’t clash with any previous mount directories that were left behind from an unclean shutdown. (Which would cause a removable drive to be mounted to a different location thus breaking Library entries that relied on the normal path to the removable drive)
Some advice for setting up NFS mounts (including using /mnt not /media, and the correct systemd options) should find its way into the Wiki by release day.
It seems to be a common issue because systemd requires different mount options than any other init system and the internet is full of NFS mount advice that is wrong for systemd…
Well at least we have you here to set us straight on the differences.
I look forward to seeing the updates to the Wiki and potentially, further talk of NFS optimization under OSMC. Now that I’ve been able to test it, I have been seeing some buffering, specifically when seeking within movies. Currently, SMB shares are performing better than NFS shares on my humble network. Seems a bit backwards to me, but we are still talking Alpha4, and admittedly, I am barefoot when it comes to NFS.
I haven’t yet tried the built-in NFS client as I was hoping that kernel mode would provide the same benefits as it did in RaspBMC but I will certainly try it when I return home this evening and provide an update.
Update: Well, I tried the built in NFS client (though I could only access the NFS share via the Zeroconf browser) and while initially it seemed a bit better on the first 10 minute forward seek, subsequent forward or backward seeks (either 10 minute or 30 second) were quite laggy and, I can only assume, buffering for some time as there is no indication of buffering in the OSMC skin, currently. So, there seems little performance difference between the built in NFS client and kernel mode, if at all.
hi,
i did what was suggested and chose /home/osmc but i got this message instead /home/osmc/Torrents : ignored
i tried to mount using nfs because i have a hard drive which is formatted on that system and even have one for windows using cifs none of them worked for mounting.
i was getting permissiong denied on cifs before i added x-systemd.automoun to the equation after-which i’m getting : ignored message
Updated: I’ve had it worked now, i was using Tomato router as NFS server and i wasn’t using the right firmware after I flashed the one with nfs capability and followed the post above all went well and it working perfectly
thanks you all