Hi,
I am having a similar issue. Really could use some help.
As you can see in the log I am running XBMC on my OUYA and it is NOT able to access shares from my ArchLinux ARM Box.
OUYA running XBMC is the only device that is having this problem. Many other devices, around, 50 can access my NFS share just fine. Even my POS Boxee Box can access it fine.
Full log is @
http://xbmclogs.com/show.php?id=300177
Important part is below:
Code:
00:31:40 T:1837438320 DEBUG: NFS: Context for 192.168.10.181/srv/nfs4/share not open - get a new context.
00:31:40 T:1837438320 DEBUG: NFS: Connected to server 192.168.10.181 and export /srv/nfs4/share
00:31:40 T:1837438320 DEBUG: NFS: chunks: r/w 16384/16384
00:31:40 T:1837438320 ERROR: Failed to open(//) opendir call failed with "NFS: READDIRPLUS of // failed with NFS3ERR_ACCES(-13)"
00:31:40 T:1687944664 ERROR: static bool XFILE::CDirectory::GetDirectory(const CURL&, CFileItemList&, const XFILE::CDirectory::CHints&, bool) - Error getting nfs://192.168.10.181/srv/nfs4/share/
00:31:40 T:1687944664 ERROR: CGUIDialogFileBrowser::GetDirectory(nfs://192.168.10.181/srv/nfs4/share/) failed
00:31:44 T:1837934480 ERROR: Failed to open(//) opendir call failed with "NFS: READDIRPLUS of // failed with NFS3ERR_ACCES(-13)"
00:31:44 T:1687944664 ERROR: static bool XFILE::CDirectory::GetDirectory(const CURL&, CFileItemList&, const XFILE::CDirectory::CHints&, bool) - Error getting nfs://192.168.10.181/srv/nfs4/share/
00:31:44 T:1687944664 ERROR: CGUIDialogFileBrowser::GetDirectory(nfs://192.168.10.181/srv/nfs4/share/) failed
00:31:46 T:1836842008 ERROR: Failed to open(//) opendir call failed with "NFS: READDIRPLUS of // failed with NFS3ERR_ACCES(-13)"
00:31:46 T:1687944664 ERROR: static bool XFILE::CDirectory::GetDirectory(const CURL&, CFileItemList&, const XFILE::CDirectory::CHints&, bool) - Error getting nfs://192.168.10.181/srv/nfs4/share/
00:31:46 T:1687944664 ERROR: CGUIDialogFileBrowser::GetDirectory(nfs://192.168.10.181/srv/nfs4/share/) failed
BTW the UI in XBMC does NOT give any error at all when I try and access the share. Thus, why I tried 3 times.
Should tell the user something when this error occurs.
/etc/exports:
Quote:/srv/nfs4/share 192.168.10.0/24(async,anongid=1000,anonuid=1000,insecure,rw,no_subtree_check,nohide)
I use this account for all network related services including NFS Server 3.
Correct chown of all shared files and folders is already set to correct uid of 1,000:
Quote:ls -l /srv/nfs4/
total 4
drwxrwx--T 11 rob rob 4096 Sep 22 01:49 share
[root@seagate2 ~]# id rob
uid=1000(rob) gid=1000(rob) groups=1000(rob)
And again, the only device having trouble accessing this NFS Server is my OYUA running XBMC.
Thanks for the help,
Will
Update: all_squash does indeed fix it.
Switched /etc/exports:
Quote:/srv/nfs4/share 192.168.10.0/24(rw,anongid=1000,anonuid=1000,all_squash,nohide,insecure,no_subtree_check,async)
Very strange fix though since all my other devices could access the share just fine. Very odd indeed.
Again, please someone submit a patch to give the user some sort of feedback when this error happens. Instead of just leaving the user guessing what is wrong when nothing seems to happen when the user clicks to open the share.
OH well it works, I will take it.
Thanks a ton!!
And would be nice if I could browse NFS shares by host name and not just by IP Address. Learned that 1 the heard way last week when I had to redo my entire IP Scheme and then broke all the shares of course.
Update 2: XBMC just locked up on me trying to read the share:
http://xbmclogs.com/show.php?id=300211
UGH!! Well crap log is useless since it only got the log after the reboot after the crash. Damn it! And share is still locking it up. It worked 1 time and now locking up.
Update 3: OK looks like XBMC is crashing the NFS server. Ouch!
Since if I restart my NFS Server on the ArchLinux box then I can browse the share again. But a minute later it crashes and then XBMC will lock up again if I try and browse the NFS share.
Of course, XMBC should not lock up (crash), instead should give the user some sort of error.
And not sure how I can get the XMBC log file of my OYUA since the log seems to be whipped out on the crash and the next reboot.