Kodi Community Forum
NFS source vs. mounted filesystem - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: NFS source vs. mounted filesystem (/showthread.php?tid=167197)



NFS source vs. mounted filesystem - rhasselbaum - 2013-06-15

Is there any advantage to setting up a video/music source as an NFS source (i.e. nfs://<server>/path) versus simply pointing XBMC to a mount point in the file system that happens to be an NFS share? Is it treated any differently?


RE: NFS source vs. mounted filesystem - Prof Yaffle - 2013-06-15

I've used both methods interchangeably and never seen any difference. I prefer the OS mount because it allows me to manipulate the files outside of XBMC (e.g. if I'm comskip-ping something, or for renames and moves), but that's all.


RE: NFS source vs. mounted filesystem - Preacher - 2013-06-19

I tried both and found a race condition meant XBMC started before the OS mounts were complete, leaving directories empty.

I moved them into XMBC-controlled NFS mounts and had no issue.

(not saying that's the right way about it - just what I encountered.)


RE: NFS source vs. mounted filesystem - rhasselbaum - 2013-06-19

(2013-06-19, 21:36)Preacher Wrote: I tried both and found a race condition meant XBMC started before the OS mounts were complete, leaving directories empty.

I moved them into XMBC-controlled NFS mounts and had no issue.

(not saying that's the right way about it - just what I encountered.)

Hmm, interesting. I'll keep an eye out for that. Thanks.


RE: NFS source vs. mounted filesystem - negge - 2013-06-19

(2013-06-19, 21:36)Preacher Wrote: I tried both and found a race condition meant XBMC started before the OS mounts were complete, leaving directories empty.

I moved them into XMBC-controlled NFS mounts and had no issue.

(not saying that's the right way about it - just what I encountered.)

That happened to my dad was well (he's using XBMCbuntu). He only has USB drives, and XBMC mounts them in /media/xbmc/<drive>, but sometimes they appear in /media/<drive>. I solved the whole thing by adding symlinks in /media/xbmc.


RE: NFS source vs. mounted filesystem - nickr - 2013-06-20

I understand that native NFS is more efficient/faster than the XBMC implementation. This is info I have picked up from lurking here, and I have no firm figures. Native NFS uses a kernel implementation while XBMC uses libnfs, a userland library. In any event either should cope with the bitrates on media files.

If you want to use a centralised library database via MySQL the XBMC method might be better as every client on every OS will have the same path to the file, whereas mounting to the file system on linux will result in a different mountpoint than on windows. Still path substitution may be able to cope with that.


RE: NFS source vs. mounted filesystem - thethirdnut - 2013-06-22

NFS + Autofs FTW.