2014-09-15, 04:56
Hey peoples,
i've noticed that xbmc's internal nfs client behaves strangely at my setup.
my nfs server (its a linux server) is configured like this:
so i can mount on my linux clients the nfs like this:
everything works.
the problem is xbmc can't access /medien. but xbmc's internal nfs client works with /var/exports/medien. which is pretty strange because when i try to mount yoshi:/var/exports/medien via mount.nfs4 i get the following message:
So it looks like xbmc's nfs client ignores the fsid=0 thing which says /var/exports is the nfs root. (i always thought the mapping from / to /var/exports does the nfs server, but then i don't have a reason why xbmc wants to mount /var/exports/medien and it works)
my xbmc version is the Gotham branch from git compiled a few weeks ago
Is it possible to get xbmc's nfs client working with /medien ?
i've noticed that xbmc's internal nfs client behaves strangely at my setup.
my nfs server (its a linux server) is configured like this:
Code:
yoshi ~ # cat /etc/exports
# /etc/exports: NFS file systems being exported. See exports(5).
/var/exports 192.168.1.0/24(rw,fsid=0,no_subtree_check,insecure,all_squash,crossmnt)
/var/exports/boot 192.168.1.0/24(rw,fsid=1,no_subtree_check,insecure,all_squash,crossmnt)
/var/exports/medien 192.168.1.0/24(rw,fsid=2,no_subtree_check,insecure,all_squash,crossmnt)
/var/exports/software 192.168.1.0/24(rw,fsid=3,no_subtree_check,insecure,all_squash,crossmnt)
/var/exports/unsortiert 192.168.1.0/24(rw,fsid=4,no_subtree_check,insecure,all_squash,crossmnt)
yoshi ~ # mount | grep /var/exports
/mnt/raid/merged/medien on /var/exports/medien type none (rw,bind)
/mnt/raid/merged/boot on /var/exports/boot type none (rw,bind)
/mnt/raid/merged/software on /var/exports/software type none (rw,bind)
/mnt/raid/unsorted on /var/exports/unsortiert type none
so i can mount on my linux clients the nfs like this:
Code:
mount.nfs4 yoshi:/medien /tmp/test/
the problem is xbmc can't access /medien. but xbmc's internal nfs client works with /var/exports/medien. which is pretty strange because when i try to mount yoshi:/var/exports/medien via mount.nfs4 i get the following message:
Code:
peach chris # mount.nfs4 yoshi:/var/exports/medien /tmp/test/
mount.nfs4: mounting yoshi:/var/exports/medien failed, reason given by server: No such file or directory
(rw,bind)
So it looks like xbmc's nfs client ignores the fsid=0 thing which says /var/exports is the nfs root. (i always thought the mapping from / to /var/exports does the nfs server, but then i don't have a reason why xbmc wants to mount /var/exports/medien and it works)
my xbmc version is the Gotham branch from git compiled a few weeks ago
Is it possible to get xbmc's nfs client working with /medien ?