Sorry - need help with NFS.. - have read FAQ..
#1
I can't get this to work, not sure why. Using NFS on plenty of other machines in the network.

Server config.
line from /etc/exports
/VOLUME1/VIDEO 192.168.0.0/24(rw,no_root_squash,insecure)
line from /etc/passwd
mobile:x:501:501:Apple TV Mobile:/home/mobile:

ls -l from /VOLUME1/VIDEO
drwxrwxrwx 3 guest 1000 12288 Oct 7 21:12 ChineseStuff
drwxrwxrwx 4 guest 1000 28672 Oct 17 17:01 asian-movies
drwxr-xr-x 2 mobile admin-us 4096 Oct 25 15:43 atv-test
drwxr-xr-x 6 stevemu admin-us 4096 Aug 14 11:22 home-video
drwxrwxrwx 7 guest 1000 4096 Sep 11 21:58 kids-movies
drwxrwxrwx 4 guest 1000 28672 Oct 25 14:49 movies
drwxrwxrwx 16 guest 1000 4096 Sep 7 11:27 tvshows
(/VOLUME1/VIDEO is 777 perms)

ATV just refuses to browse to the share, or mount it if I put it direct into sources.xml


11:51:02 T:97828864 ERROR: GetDirectory - Error getting nfs://192.168.0.10/VOLUME1/VIDEO/
11:51:02 T:97828864 ERROR: CGUIDialogFileBrowser::GetDirectory(nfs://192.168.0.10/VOLUME1/VIDEO/) failed

Full log : http://pastebin.com/JStSnxCZ

PS - I'm mounting the same NFS share on 2 other machines all the time, it's only the ATV that gives me this problem.
Reply
#2
Update.. Actually,now I think this is a bug... comments please before I report it.

1) I had a typo in my sources.xml, that pointed to the wrong server IP.
2) Once it had failed connecting to that, NFS seems unable to browse to the correct IP.
3) Now I've fixed my sources.xml (vim on the ATV..) it connects.

Comments please?

NOTE - Man, it's fast as F*&k . comparing exactly the same share on SMB.

Now to get rid of all the SMB shares in my sources and switch all to NFS.
Reply
#3
stevellion Wrote:Update.. Actually,now I think this is a bug... comments please before I report it.

1) I had a typo in my sources.xml, that pointed to the wrong server IP.
2) Once it had failed connecting to that, NFS seems unable to browse to the correct IP.

Please post a complete reproduction description so that i can try to reproduce this and decide if it is a bug or not ... and if applicable fix it ...

beside that ... glad you got it figured ... Smile
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
Memphiz Wrote:Please post a complete reproduction description so that i can try to reproduce this and decide if it is a bug or not ... and if applicable fix it ...

beside that ... glad you got it figured ... Smile

Thanks.

Set your sources so that it has an invalid NFS share.
Mine had just the one, and no other NFS shares - but not sure if just one bad apple will mess it up among other good ones.
Mine was set to
nfs://192.168.0.14/VOLUME1/VIDEO/movies

Try to access the source - it fails.
Try to Edit the source, from the XBMC remote and try to browse the network.
NFS Server shows up.
Even the shares show up.
//192.168.0.10/VOLUME1/VIDEO
//192.168.0.10/VOLUME1/MUSIC

But, I'm unable to select either of the shares at all.

Reviewing the log, shows:
ERROR: GetDirectory - Error getting nfs://192.168.0.10/VOLUME1/VIDEO/
ERROR: CGUIDialogFileBrowser::GetDirectory(nfs://192.168.0.10/VOLUME1/VIDEO/) failed

If you can't easily reproduce from that, I'll debug a bit more.

Looks a bit like 1 bad apple .... those nfs shares work correctly now, (192.168.0.10)

Thanks as always!
Reply
#5
Can't reproduce - this worked for me ...

Beside that there might be an earlier error message in your log before the GetDirectory error which could shed some light on this ...
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
#6
Ok, Will try again - with just the one duff share.
Reply
#7
Ok - Just reproduced with this.

Sources as below (.14 is the WRONG host, but .14 does have NFS serving on it.)
Code:
<sources>
    <programs>
        <default pathversion="1"></default>
    </programs>
    <video>
        <default pathversion="1"></default>
        <source>
            <name>Movies</name>
            <path>nfs://192.168.0.14/VOLUME1/VIDEO/movies</path>
        </source>
    </video>
    <music>
    </music>
    <pictures>
    </pictures>
    <files>
    </files>
</sources>

1) Try to access duff share.
2) Try to edit share setup through menu
3) Browse to server, lists shares, but unable to select share.

Full log here: http://pastebin.com/GYNn6FDc
Reply
#8
stevellion Wrote:Sources as below (.14 is the WRONG host, but .14 does have NFS serving on it.)

arghh ... nice and important fact ... thx will retry after work...
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
taken care of in https://github.com/xbmc/xbmc/commit/b9a8...c10156c184

thx for reporting Smile
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

Logout Mark Read Team Forum Stats Members Help
Sorry - need help with NFS.. - have read FAQ..0