Problem browsing NFS shares from XBMC on Windows 7
#1
Hi !

I have a little problem browsing NFS shares from XBMC. Here is my setup :
- 1 double disk QNAP NAS with 1 NFS share for each disk (Public and Public2)
- Each NFS share has its own set of folders with videos and other documents
- The NAS has a mySql database for XBMC
- 1 PC with Windows 7 (32 Bits) and XBMC v11.0

The problem appears when I want to add a new video source from the Public2 NFS share : XBMC shows me the folders from the Public NFS share ...

I thought it could be a problem on the NAS side and used a little NFS client to browse both shares from Windows without using XBMC. Using this tool, I am able to successfully from both shares. I guess / hope this excludes the NAS from the problem !

I guess using samba shares on the NAS would be a good solution, however I'd like to know if there's smething I'm doing wrong or if XBMC is at fault on this kind of setup !

A quick search in the forum didn't show interesting posts, but I might have missed something !

I'll try to make a debug log to help, however in the meantime, any hint is welcome Smile

Daniel
Reply
#2
Here is a log file created when trying to add Public2 as a new video source :

http://xbmclogs.com/show.php?id=8341&hash=48209513

I hope this helps !

Daniel
Reply
#3
read the nfs faq in my signature.
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)
Reply
#4
Memphis,

I'll read this tonight !

Thanks

Daniel
Reply
#5
Menphis,

Still no luck after going through your steps. Maybe you will see what I'm not !

Here is the nfsconfig file :

"/share/NFS" *(no_subtree_check,no_root_squash,fsid=0)
"/share/HDA_DATA/Public" *(rw,async,no_root_squash)
"/share/HDB_DATA/Public2" *(rw,async,no_root_squash)
"/share/NFS/Public" *(rw,nohide,async,no_root_squash)
[Access]
/share/HDA_DATA/Public = rw,insecure
/share/HDB_DATA/public2 = rw,insecure
[AllowIP]
/share/HDA_DATA/Public = 192.168.1.8
/share/HDB_DATA/public2 = 192.168.1.8


And now the exports file :

"/share/HDA_DATA/Public" 192.168.1.8(rw,async,no_root_squash,insecure)
"/share/HDB_DATA/public2" 192.168.1.8(rw,async,no_root_squash,insecure)

The insecure parameter was already in the exports file so I only add to make changes in the nfsconfig. I tried an "exportfs -ra" with no luck.
When I try to browse Public2 I only see folders from Public !

Am I doing something wrong ?

Daniel
Reply
#6
I made a quick test tonight. I shared the same directory as Public2 a second time using a brand new share name : NewMedia

So, when I'm browsing the Public2 share through NFS, I browse files from the Public share. However, when I browse the NewMedia share through NFS I do browse the right directory on my NAS !

Is there any change that XBMC is mixed up because of the shares names (Public and Public2) or am I doing something wrong ?

Daniel
Reply
#7
This might be the case. Public / Public2 confuses the nfs implementation in XBMC. For now choose export names which are no subword of the others.
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)
Reply
#8
fyi - i have fixed this in master. Fix will be in the next nightlies from now on and in frodo 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)
Reply
#9
Memphiz,

thanks for the information !

Daniel
Reply

Logout Mark Read Team Forum Stats Members Help
Problem browsing NFS shares from XBMC on Windows 70