NFS browsing not working - 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: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: NFS browsing not working (/showthread.php?tid=165454) Pages:
1
2
|
Re: NFS browsing not working - ivanmmj - 2013-06-18 I'm confused, though. Libnfs is a nfs client library. Why would it be required on the server side? Or does the Windows version of xbmc also use a port of libnfs? Edit: nvm. I see that it does. RE: NFS browsing not working - DerEineDa - 2018-09-30 I am sorry to resurrect this thread, but it still seems to be relevant. Same issue: I can access my NFS share from within Kodi as long as I know IP and path, but discovering is not possible. When selecting "Network File System (NFS)" as the type of media share, i just see a spinning circle for a few seconds and that's it. This is the debug log: Quote:16:54:40.921 T:139948518770432 DEBUG: SECTION:LoadDLL(libnfs.so.12) I am very curious what mechanism Kodi is using to discover NFS shares. To the very best of my knowledge there is no magic discovery mechanism for the NFS protocol. The next best thing would be Zeroconf (Avahi), but announcing my NFS share via Avahi does not help when selecting "Network File System (NFS)" inside Kodi (but I can see the share when selecting "Zeroconf browser", as expected). By the way, the NFS server is an Arch Linux machine. The configuration seems to be correct, as Kodi can access the share just fine when manually providing IP and path. Does someone know how this NFS discovery of Kodi is expected to work theoretically? RE: NFS browsing not working - DerEineDa - 2018-09-30 Turns out, there is some kind of "magical NFS discovery mechanism", at least when using libnfs. libnfs provides a function called "nfs_find_local_servers" that Kodi uses: https://github.com/sahlberg/libnfs/blob/master/lib/libnfs-sync.c#L2083 Now I will try to find out why this fails. It should be noted that the implementation of "nfs_find_local_servers" differs between Linux and Windows. RE: NFS browsing not working - bassmannate - 2018-09-30 Curious about this as well. Using smb because I couldn't get nfs to work in Kodi despite being able to mount the share off my root file system on the same computer. RE: NFS browsing not working - DerEineDa - 2018-10-01 After some debugging I've created an issue for this: https://github.com/sahlberg/libnfs/issues/270 RE: NFS browsing not working - DerEineDa - 2018-10-03 Just for the people who discover this thread by googling: The issue appears when using Linux and having the new version of rpcbind installed on the system. Starting with version 1.2.5, rpcbind disabled a feature that was enabled by default in previous versions. For reference: * https://sourceforge.net/p/libtirpc/mailman/message/36377232/ * https://github.com/sahlberg/libnfs/issues/270 * https://bugs.archlinux.org/task/60295 NFS browsing not working - Memphiz - 2018-10-04 Nice catch RE: NFS browsing not working - thenextdon13 - 2019-12-09 (2018-10-03, 22:06)DerEineDa Wrote: Just for the people who discover this thread by googling: Thank you for posting this info, i was struggling, but this information helped me track down the needed use flag for my gentoo install to get nfs discovery working again! |