v19 NFS seems broken on 19.3 Android
#1
NFS Share seems broken.

Same share on kodi windows, works.

On android firestick, don't.

My log: https://paste.kodi.tv/eketunimix

My windows log with same NFS share: https://paste.kodi.tv/enuzulivod.kodi
Reply
#2
You're about the 1st one with this NFS hickup on Android, afaik.
What do you have as a NFS server, and what are the export settings of the share?
Reply
#3
I have NFS on Ubuntu server 21.04

Very simple setup, ip of my ubuntu is 192.168.178.73, no user, no password for nfs share

 /etc/exports
Code:
/mnt/ROB_MASTER *(ro,no_subtree_check,fsid=0,)
Reply
#4
Ubuntu always applies stuff to credentials, it's probably using the user logged in. If it wouldn't, that would be one hell of a security risk.

I've been using NFS since Ubuntu 10.04, and running 18.04 now. My export settings are a bit more extensive:
/my/shared/folder 192.168.1.0/24(rw,nohide,insecure,no_subtree_check,async,all_squash,anonuid=1000,anongid=1000)
Reply
#5
This is on firestick, and as you can see, i can see folder:

Image
Image

So as you can see, show the folder, but doesn't have access, and doesn't ask any credential.

On kodi in windows, works, and don't ask any credentials, and also i didn't put any credentials for NFS in kodi windows.

And If I try to add NFS share, i can't add any credentials

Image
Reply
#6
make sure your server provides NFSv3 shares, NFSv4 is not supported in kodi
Reply
#7
Same story

In according to this https://willhaley.com/blog/ubuntu-nfs-server/

on this /etc/default/nfs-kernel-server
RPCMOUNTDOPTS="--manage-gids --no-nfs-version 4"

Disable v4 version
reboot
no way, same issue

On windows works
On Firestick android, don't

And also if works on windows, and not in android firestick, nfs version seems can't be cause the issue, not?
Reply
#8
it's a permission issue: ERROR <general>: NFS: Failed to mount nfs share: (mount_cb: RPC error: Mount failed with error MNT3ERR_ACCES(13) Permission denied(13))
did you try the exports klojum posted? What are the file permissions and owner of the share?
Reply
#9
same settings about klojum , same story

root@services:~# nano /etc/exports 
root@services:~# la -la /mnt/
total 12
drwxr-xr-x  4 root     root     4096 Dec 13 23:26 .
drwxr-xr-x 20 root     root     4096 Dec 13 23:16 ..
drwxrwxr-x  1 services services    0 Dec 14 15:00 ROB_MASTER
drwxr-xr-x  2 root     root     4096 Dec 13 23:26 TEST
root@services:~# la -la /mnt/ROB_MASTER/
total 4
drwxrwxr-x 1 services services    0 Dec 14 15:00  .
drwxr-xr-x 4 root     root     4096 Dec 13 23:26  ..
drwxrwxr-x 1 services services    0 Oct 24  2020  ANIME
drwxrwxr-x 1 services services    0 Oct 24  2020  _BACKUP
drwxrwxr-x 1 services services    0 Oct 24  2020  Concerti
drwxrwxr-x 1 services services    0 Oct 24  2020  DOCUMENTARI
drwxrwxr-x 1 services services    0 Oct 17  2020  _DOWNLOAD
drwxrwxr-x 1 services services    0 Oct 28  2020  _FILM_DA_SISTEMARE
drwxrwxr-x 1 services services    0 Oct 24  2020  GAME
drwxrwxr-x 1 services services    0 Oct 22  2020  Movies
drwxrwxr-x 1 services services    0 Oct 22  2020 'Movies 4k'
drwxrwxr-x 1 services services    0 Jun 25 09:18 'Movies 720p da controllare'
drwxrwxr-x 1 services services    0 Oct 28  2020  TV
drwxrwxr-x 1 services services    0 Oct 24  2020  TV.ENG
drwxrwxr-x 1 services services    0 Oct 24  2020  Varie
drwxrwxr-x 1 services services    0 Oct 24  2020  Varie.Files
Reply
#10
(2021-12-14, 16:49)wsnipex Wrote: it's a permission issue

When Kodi in Windows works for him with the same NFS share(s)... Is it then still a permission issue?
Reply
#11
not.

I posted logs from windows and android firestick.

Same NFS share, and works only in windows, not in android firestick. ( tested in the same time )

left android firestick - right windows+

as you can see in the same time, i can have access on windows with NFS, but don't in firestick android.

Image
Image
Reply
#12
cat /etc/exports 
id -a services
Reply
#13
root@services:~# cat /etc/exports 
Code:
# /etc/exports: the access control list for filesystems which may be exported
#               to NFS clients.  See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)
#
/mnt/ROB_MASTER *(ro,no_subtree_check,fsid=0,)

root@services:~# id -a services
uid=1000(services) gid=1000(services) groups=1000(services),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),110(lxd)


note. etc/exports like Klojum , doesn't give me access anyway, also in windows.
Reply
#14
you're missing insecure,all_squash,anonuid=1000,anongid=1000
Reply
#15
doesn't works if I added them, no way to have access, also from windows
Reply

Logout Mark Read Team Forum Stats Members Help
NFS seems broken on 19.3 Android0