Posts: 13
Joined: Jun 2012
Reputation:
0
edent
Junior Member
Posts: 13
I have a NAS which I use to serve media. I share a folder using NFS.
All my XBMC machines (Desktop, Raspberry Pi etc) can see the folder and subfolders just fine. But my Android devices cannot.
I've tested on a Tablet (4.1.2) and a Note 3 (Cyanogenmod 4.4.4) and both exhibit the same problem. Installed the latest version of the ARM XBMC build.
I go to add source, click on NFS. the IP address of my server is automatically discovered. Clicking on that shows my shared folder. However, I cannot traverse any further than that.
I've tried manually entering the full path, adding in Videos rather than file manager. Nothing. It just doesn't let me select it.
Is this a known bug? Can I get some debug logs to see what's going on? Anyone else experience this?
Posts: 16,946
Joined: Feb 2011
Reputation:
256
just map all uids to one uid on the nas should do the trick aswell... (and grant permissions to the NAS-side uid to the exported files/dirs of course).
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)
Posts: 67
Joined: Jul 2008
Reputation:
0
sorry for digging out this thread, but I'm facing a similar issue and I'm making an heavy use of crossmounts (mainly because I'm using mhddfs to aggregate multiple disks in /mnt/pool first, then bind-mounting the subfolders elsewhere)
Working ok on Openelec, but failing on my Shield TV.
Though, for one of my subfolders, it works... and that's the only mount point which is not mounted by systemd (I had dependencies problems to mount my mhddfs array)
So, to explain my setup:
/mnt/ssd (contains Home & Photos folders - mounted with fstab)
/mnt/snapraid[1-3] (mounted with fstab)
/mnt/pool (mhddfs array of the previous, contains Musique & Vidéos folders - mounted with systemd)
Then I mount-bind the subfolders under /media
/media/Photos <-- /mnt/ssd/Photos
/media/Musique <-- /mnt/pool/Musique
/media/Vidéos <-- /mnt/pool/Vidéos
and my exports file:
/media *(fsid=0,rw,sync,crossmnt,no_subtree_check,insecure,root_squash,nohide)
/media/Photos *(fsid=1,rw,sync,no_subtree_check,insecure,anongid=100,anonuid=1001,all_squash,nohide,crossmnt)
/media/Vidéos *(fsid=2,rw,sync,no_subtree_check,insecure,anongid=100,anonuid=1001,all_squash,nohide,crossmnt)
/media/Musique *(fsid=3,rw,sync,no_subtree_check,insecure,anongid=100,anonuid=1001,all_squash,nohide,crossmnt)
This setup works with Kodi in Openelec (and linux distros more generally) but not with Kodi in Android (Shield TV & S5).
I'm a bit at a loss. Permissions are of course ok. Any clue is welcome!
Posts: 67
Joined: Jul 2008
Reputation:
0
Looking closer, I'm thinking that it could be related to the fact that it's a fuse-based mount which is being accessed from a non-system port (above 1024).
Any clue?
Posts: 124
Joined: Nov 2015
Reputation:
8
wweich
Senior Member
Posts: 124
Ownership of /data is uid=1000,gid=1002. Permissions are drwxr-xr-x.
I never used the crossmnt option. When I tried to share /data with NFS I exported every bind mounted sub folder separately.
Posts: 67
Joined: Jul 2008
Reputation:
0
2015-12-29, 22:17
(This post was last modified: 2015-12-29, 22:40 by Gurney.)
Ok thanks.
So now if I share directly "/media/Vidéos/Films" (one of the subfolders of Vidéos) from the server, I can see the files in there.
They are all displayed with a size of 0, a date of 1970, etc. etc. but I can play them fine (but I can't scan the folder).
I can also add "/media/Vidéos" in the file browser under System, and there I can see the subfolders (Films among them) with a size (or whatever that is) of 0, and I can create folders also.
The folder created from Kodi has the expected permissions (the one from anongid & anonuid) on the server, but is none-the-less shown with a size of 0.
So I'm a bit at a loss... Will try with Jarvis Beta 4.
Nope, same with Kodi Jarvis B4.