Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
NFS browsing not working
#1
Hi,

I have a NFS server running in CentOS, initially was running in CentOS 5 and needed to upgrade it to CentoOS 6 (it's also an Asterisk box). Before the upgrade, I was able to browse the server via Browse -> Network File System (NFS) in XBMC running in Raspberry, Windows and Linux, the server IP was listed there and I can select it to obtain the list of NFS shares. However, after the upgrade this option is not working any more. After click on "Network file System (NFS)", there is a waiting time of about 3 seconds and nothing is returned, just the same Browse menu. I reviewed file/directory permissions/owners compared with previous version and everything seems to be the same.

Adding the server/path manually via Browse -> Add Network Location.. works fine. Also, using "showmount -e" from the Linux machine shows the NFS shares correctly.

Is there something I should look at for browse to work? The following is the log output when the Browse -> Network Files System (NFS) is selected, in Windows, XBMC 12.1, but it's similar in other OS/versions:

Code:
07:41:09 T:3104  NOTICE: Thread Jobworker start, auto delete: true
07:41:09 T:3104   ERROR: NFS: Failed to mount nfs share:  (nfs_mount_async failed)
07:41:12 T:2536   ERROR: XFILE::CDirectory::GetDirectory - Error getting nfs://
07:41:12 T:2536   ERROR: CGUIDialogFileBrowser::GetDirectory(nfs://) failed

BTW, I already read the NFS WiKi, and I am using the recommendations there. In fact, the NFS exports are configured like this:

/Media/Movies 192.168.15.0/24(sync,all_squash,insecure)

Thank you!
Reply
#2
Use any other way to test NFS from one of these boxes to the server.
Was a firewall added to your server by any chance ?
Reply
#3
Thank you for your answer. NFS is working fine, as I am able to connect to shares using the server IP and path from XBMC. Also, using mount command from Linux box works fine. The only thing that is not working is the option in XBMC to browse the NFS shares.

There is no firewall added in the server itself or external, the XBMC boxes are connected in same LAN as the server.
Reply
#4
This could be related to the NFS issue that is recently solved by updating the included libnfs to 1.6 in XBMC.
I think it only affects NFS servers that have a newer kernel and recent NFS server.
Check out this thread: NFS Issues
Reply
#5
Nahh different issue. We have still no clue why on some networks the nfs server browsing isn't working. But i still think its a network/router/multicast/broadcast/whatever issue.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#6
Heh ok, I scored a 2 out of 3 success rate with that suggestion in NFS issue threads Smile
Reply
#7
Well then - keep going Wink
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#8
I'm having the same issue. I can access the NFS shares through IP but trying to browse for NFS shares fails. (Browsing for NFS shares through Windows with the NFS client for Windows works fine.)
My server is running Arch (just migrated my server from Ubuntu/MariaDB/Samba to Arch/MariaDB/NFS.)
Reply
#9
And on which os it doesn't work? Is it the same host where it works on windows?
Reply
#10
If the server is on Arch linux, there is a high probability that your kernel is >3.9 and therefore needs libnfs 1.6
Reply
#11
I had an issue with NFS and this XBMC wiki helped solve my issue, hopefully it will help you to

http://wiki.xbmc.org/index.php?title=Net...gy_or_QNAP
Reply
#12
The issue crops up on the Windows client. (My media centers have ATI cards and I hate the Linux ATI drivers...)
In any case, XBMC can see the NFS shares if given the exact IP but if I tell it to SEARCH for NFS shares, it does nothing and gets the same error the OP is/was getting.
The server's kernel is >3.9 and I did NOT have libnfs installed. I thought libnfs was only required for the XBMC Client if it's running ON Arch. I did install it, just in case, though. I restarted rpc-idmapd.service and rpc-mountd.service. No change.
Reply
#13
which version of libnfs did you get?
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#14
1.6.0-1 the current version in their repositories.
Reply
#15
The only thing which could be of help here would be a wireshark dump of the network interface XBMC is running on while entering the NFS-Browser. This dump should be posted to the libnfs upstream dev ( http://github.com/sahlberg/libnfs ). The empty browsing is a libnfs issue - nothing we can do about in xbmc.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
NFS browsing not working0