Posts: 42
Joined: May 2010
Reputation:
0
loktar
Junior Member
Posts: 42
The libretro addon is disabled on #1226
Posts: 1,257
Joined: Mar 2011
Reputation:
80
2017-12-30, 17:07
(This post was last modified: 2017-12-30, 17:08 by HeresJohnny.)
Hello Milhouse,
first of all, thanks for your continuing service to the community and your persistance!
I've been lurking in this thread and installing builds for several months now. I would like to tackle an issue that has never worked so far, unfortunately: NFS networking. My setup is a MySQL database and several windows and libreelec clients in the house. Until recently I used SMB to connect to sources but yesterday I tried switching to NFS (again). Now I remember why I abandoned this approach in the first place - because LibreElec (at least in its Leia iteration) seems to have problems with NFS.
It works just fine in Windows, but LE fails to mount the mount points, although it can see them. I've tried your latest release just above this post and another one by adamg for S905X.
advancedsettings.xml
<pathsubstitution>
<substitute>
<from>special://profile/sources.xml</from>
<to>nfs://192.168.1.185/t/TV-Movie2/Software/Kodi/sources_nfs.xml</to>
</substitute>
</pathsubstitution>
Source example:
<video>
<default pathversion="1"></default>
<source>
<name>_Doku</name>
<path pathversion="1">nfs://192.168.1.185/t/TV-Movie2/_Doku/</path>
<allowsharing>true</allowsharing>
</source>
<video>
Unfortunately, there is nothing helpful in the debug log. It just errors out like this:
15:49:49.974 T:4093657104 DEBUG: SECTION:LoadDLL(libnfs.so.11)
15:49:49.975 T:4093657104 DEBUG: Loading: libnfs.so.11
15:49:50.001 T:4093657104 DEBUG: NFS: Context for 192.168.1.185/t/TV-Movie2 not open - get a new context.
15:49:50.023 T:4093657104 ERROR: NFS: Failed to mount nfs share: /t/TV-Movie2 (mount/mnt call failed with "")
15:50:11.103 T:3911185296 DEBUG: NFS: Context for 192.168.1.185/d/TV-Movie not open - get a new context.
15:50:11.130 T:3911185296 ERROR: NFS: Failed to mount nfs share: /d/TV-Movie (mount/mnt call failed with "")
The NFS server software is HANEWIN NFS Server if that is of interest. Any idea what can be done? Thanks in advance!
Posts: 1,257
Joined: Mar 2011
Reputation:
80
2017-12-30, 19:17
(This post was last modified: 2017-12-30, 19:18 by HeresJohnny.)
I've been investigating the NFS problem some more and it seems that I've found a solution. Rather than it being a problem of LE it seems to be a slight incompatibility of how Windows and Linux treat NFS mount points. Windows is more forgiving, but Linux seems to have a problem if the mount point is IP based, without an alias.
My original mount point:
d:\TV-Movie -public
resulting in a path nfs://IP/d/TV-Movie
With this modification LE is able to parse the mount point as well:
d:\TV-Movie -public -name:TV-Movie
resulting in a path nfs://IP/TV-Movie
Hope this helps other users.