18 Feb 2019, 14:06

Hi !
First of all thanks !

I have waited for this for months, I am happy to test it
I have configured recalbox with network shares, it works great, I have separated ROMS, BIOS and SAVES directories in CIFS (smb shares)
I now want to use my nfs share for my media files for kodi, but I can't mount it

Is nfs is fully functional ?

If I try:

lsmod | grep nfs

I have nothing

But if I do:

# grep nfs /proc/filesystems
nodev   nfs
nodev   nfs4

When I try:

# mount -t nfs 192.168.3.111:/media/share/videos /mnt/videos/
mount: mounting 192.168.3.111:/media/share/videos on /mnt/videos/ failed: Connection refused

On my server:

rpc.mountd[1034]: authenticated mount request from 192.168.3.99:870 for /media/share/videos (/media/share/videos)

I mount this NFS share on my computer with no trouble at all, and with osmc installation this share works.

With nfs-ls I can list the files:

nfs-ls nfs://192.168.3.111/media/share/videos
drwxrwxrwx  6  1000   139         4096 mangas
drwxrwxrwx 142  1000   139        57344 recents
drwxrwxrwx  6  1000   139         4096 sport
[...]

When I use nfs-ls the log message in the server side is the same as the mount command log, only the port change at each request

I have done

mount -o remount rw / 

mkdir /mnt/videos
tried with chmod 777 and with with 2 different mount points

Last thing I have just tried, is to setup a static ip for my recalbox, to have the same ip as my osmc (I use 2 sd card to keep my mediacenter functional when I play with recalbox 😉 ), to see if it can be related to some network restriction, but no.

My export is set with the 'insecure' option, and allowed for all my subnetwork
Here my exports file, the first line is the working one since long time (a year I think), in the second I have tried many options, but no changes.

#/media/share/videos 192.168.3.0/24(rw,all_squash,insecure)
/media/share/videos 192.168.3.0/24(rw,no_subtree_check,async,no_wdelay,crossmnt,insecure,no_root_squash,insecure_locks,sec=sys,anonuid=0,anongid=0)

(edit, I have tried with uid and gid of the dir in the server, same error)

Now, I try to understand with the rcpdebug login enabled whats going on

If you have ideas 🙂

Thanks a lot !