[Raspberry Pi][LE 8.0.2] Can't connect to my NFS server

  • Hi!

    First time user of LibreELEC here (I used OpenELEC before).

    On OE, I was able to connect to my local NFS server on my main machine (OS: Fedora 25).

    Now I've just installed LE and I'm trying to have the same setup.

    On my Raspberry Pi with LE, I can ping my main machine, but I can't connect to the RPC server (`rpcinfo -p 192.168.0.42` outputs "RPC: Unknown host").

    On another machine in my house (also on Fedora 25), I verified that it was still possible to mount a folder with NFS and it worked.

    My main machine, my other machine and my raspberry pi are all on the same network, connected to the same router.

    Does someone has the same setup and have (or not) the same problem?

    Thanks!

  • I'm not sure how you are mounting the NFS server in your Kodi clients.

    Are you using manual NFS mounts via autostart.sh perhaps?

    Are Kodi's own internal NFS mounts not working?

    I've using Ubuntu Server for ages, starting from XBMC Eden, and apart from a few hiccups it has been working quite well for me through time.

  • I've tried using the Kodi interface and through ssh, but not autostart.sh.

    What I find weird in this situation is that my other machine can mount the NFS folder from my main machine without any problem. I've also tried without the firewall.

    The content of NFS exports file on my main machine is very inclusive:

    /home/creak *(ro,no_subtree_check,insecure)

  • NFS works fine on LE8 both through Kodi and through mounting from command line (kernel).

    The "RPC: Unknown host" is normally indicative of rpcbind not running on the remote host, but on LE this is actually an issue with the iana-etc package. Here's why:

    LibreELEC.tv/package.mk at libreelec-8.0 · LibreELEC/LibreELEC.tv · GitHub

    For some reason back during OE development someone thought it a good idea to change sunrpc to rpcbind, which breaks tools like rpcinfo and showmount.

    Mounting should work though.

  • Hmm not sure I understand then...

    I understand that because of some changes in OE, the rpcinfo and showmount tools are broken. But I can't mount my NFS folder on my RPi although I can on my other machine, so my main machine apparently has a working NFS server and the only part not working in this net is the RPi with LE.

    I could install another distro and see if it works there. I wanted to know if there was a known reason for it not to work, or a way to debug the problem.