Kodi NFS Shares
-
I've been testing Kodi in RetroPie over the weekend to see if it could offer the same amenities found in stand-alone distributioins such as OSMC and OpenElec. After kicking the tires for a few days, it seems that the ability to access NFS shares is the only thing that I've personally noticed as missing. I thought perhaps @Rascas might be able to offer a little insight here, but of course help from any direction is always welcome.
-
@mediamogul Mines (nfs shares) are defined and mounted at boot via /etc/fstab.
Than it is just a location for programs, like for example /media/pi/nas/movies etc. -
That works for me. Just for future reference, does this implementation of Kodi allow for any similar network protocols like SMB, or is system mounting necessary all the way around?
-
Sambs shares works without mounting. NFS i think i never tried without mounting.
-
It is much more efficient to use kernel cifs driver over the kodi libsmbclient though (less cpu / more throughput) (
mount -t cifs -o username=whatever,password=whatever //server/share /mountpoint
) -
Throughput is an issue in my house for a number of reasons, so the more efficient the better. Thanks to both of you for your help. Since we're directly talking about Kodi here, I want to throw out an extra thanks to you, Rascas for the work you've done in making this implementation a viable alternative to the stand-alone distributions. I'm a big fan of the software and it's great to see it getting the attention it deserves here.
-
I've been trying different things for the past week and I just can't seem to mount an NFS share using the fstab. I've followed multiple guides, but I just can't get anything to work. My current fstab entry is as follows:
Server:/path/to/Downloads /mnt/downloads nfs rsize=8192,wsize=8192,timeo=14,intr Server:/path/to/Media /mnt/media nfs rsize=8192,wsize=8192,timeo=14,intr
I can however mount the drives by adding the following to my
/etc/rc.local
:/etc/init.d/rpcbind start mount Server:/path/to/Downloads /mnt/downloads mount Server:/path/to/Media /mnt/media
Is there any downside to mounting this way or is it obvious what is wrong with my fstab?
-
I must have burned through 30-40 different suggestions online and none of them worked. However, the law of averages being what it is, revealed that the correct entry in this case should read:
Server:/path/to/export /local_mountpoint nfs rw,nolock 0 0
-
Maybe its the systemd. This is what I have currently:
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=122066
"noauto,x-systemd.automount" in fstab options
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.