Is it possible to add an NFSv4 source to Eden? I do not care for auto-mounts or similar, I want to add it as a direct source using a URI like "nfs://myip/shares".
I found that Eden natively supports NFS and I can find my home server from the "Add Source" panel, I just can't enter the share - it remains empty even though the machine I'm trying it on can access the shares just fine. Also, the article on the wiki does not mention if there is a restriction on the NFS version.
NFS source in Eden with NFSv4
cyberwizzard
Member Posts: 87 Joined: Dec 2008 Reputation: 6 |
2012-04-12 19:55
Post: #1
|
| find quote |
Memphiz
Team-XBMC Developer Joined: Feb 2011 Reputation: 91 Location: germany |
2012-04-13 02:13
Post: #2
post xbmc.log
AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here HowTo setup NFS for XBMC: Wiki NFS HowTo configure avahi (zeroconf): Wiki Avahi READ THE IOS FAQ!: iOS FAQ |
| find quote |
vicbitter
Member+ Posts: 241 Joined: Jan 2011 Reputation: 3 |
2012-04-13 08:55
Post: #3
I am using NFSv4 on my NAS and I have Eden running on ATV2 and an ION HTPC. Both can access the shares without any problem so it maybe an authorisation issue, etc.
As Memphiz said can you post your xbmc.log. |
| find quote |
cyberwizzard
Member Posts: 87 Joined: Dec 2008 Reputation: 6 |
2012-04-13 10:07
Post: #4
Cheers, at least I now know it should work.
I'll keep digging and post the logs if I can't figure it out. |
| find quote |
cyberwizzard
Member Posts: 87 Joined: Dec 2008 Reputation: 6 |
2012-04-14 00:52
Post: #5
I tried again and I still can not get it to work. The computer that I'm trying this on has auto-mounts (which I disabled to see if it mattered) which require no special UID or other custom stuff - just mount and go.
When I try to do the same in XBMC, I see that the auto-detection comes up with a different path than my fstab has. I tried both 'nfs://ip/exports/videos' and 'nfs://ip/videos' (the latter being the same as fstab) and nothing works. The first shows a blank list, the second an error it can not connect to the server. Log: Code: 00:40:10 T:139965541918592 DEBUG: ------ Window Init (MyVideoNav.xml) ------
(This post was last modified: 2012-04-14 00:52 by cyberwizzard.)
|
| find quote |
Memphiz
Team-XBMC Developer Joined: Feb 2011 Reputation: 91 Location: germany |
2012-04-14 01:15
Post: #6
See the wiki entry and see that "insecure" flag which is needed (for e.x. linux servers its insecure flag, for osx servers its the -N flag in the plist). Looks like your server doesn't allow connections from non-privileged ports. This is needed for getting the internal XBMC NFS client to work.
AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here HowTo setup NFS for XBMC: Wiki NFS HowTo configure avahi (zeroconf): Wiki Avahi READ THE IOS FAQ!: iOS FAQ |
| find quote |
cyberwizzard
Member Posts: 87 Joined: Dec 2008 Reputation: 6 |
2012-04-15 00:17
Post: #7
I just checked but I already have the insecure flag set for each of my exports.
(This post was last modified: 2012-04-15 01:34 by cyberwizzard.)
|
| find quote |
Memphiz
Team-XBMC Developer Joined: Feb 2011 Reputation: 91 Location: germany |
2012-04-15 01:37
Post: #8
and you restarted the nfs server after adding the insecure flag? beside that - post a full log to pastebin.com and put the link to it here...
AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here HowTo setup NFS for XBMC: Wiki NFS HowTo configure avahi (zeroconf): Wiki Avahi READ THE IOS FAQ!: iOS FAQ
(This post was last modified: 2012-04-15 01:38 by Memphiz.)
|
| find quote |
cyberwizzard
Member Posts: 87 Joined: Dec 2008 Reputation: 6 |
2012-04-25 21:18
Post: #9
The insecure flag was already there.
I now have it working after removing the root of the pseude-filesystem: Quote:/mnt/exports 192.168.1.1/16(rw,fsid=0,insecure,no_subtree_check,async,all_squash,anonuid=1001,anongid=1001) I added this line by following pretty much any guide on NFS mounts as all of them include it. None of the guides actually explain why it is needed, except for the Red Hat guide which mentions the 'fsid=0' denotes that it is the root of the pseudo-filesystem. Why do I need to disable it and if I do not need it, why does everyone with an NFS server seem to have it?
(This post was last modified: 2012-04-25 21:19 by cyberwizzard.)
|
| find quote |
Memphiz
Team-XBMC Developer Joined: Feb 2011 Reputation: 91 Location: germany |
2012-04-26 10:29
Post: #10
You mean fsid=0? Well this seems to be a NFSv4 specification. But i don't really get why this is needed. I think this is only interesting if you export from different physical drives and want to ensure that these are really mounted (so not the underlaying root fs is exported when the mount fails).
AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here HowTo setup NFS for XBMC: Wiki NFS HowTo configure avahi (zeroconf): Wiki Avahi READ THE IOS FAQ!: iOS FAQ |
| find quote |

Search
Help