pre-eden: recent compile having issues with NFS

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
gabbott Offline
Team-XBMC Member
Posts: 1,547
Joined: Jul 2007
Reputation: 26
Post: #11
Anyone else using NFS in xbmc for media shares and seeing the same behavior in recent nightlies?
find quote
Luguber Offline
Junior Member
Posts: 15
Joined: Nov 2009
Reputation: 1
Location: Norway
Post: #12
Yes, I'm also using Openelec pre-Eden (the intel x64 build) and are experiencing the same thing with newer builds than r8499. My NFS server is running Debian Squeeze.
find quote
Ozymandyaz Offline
Member
Posts: 78
Joined: May 2011
Reputation: 0
Location: Toronto, ON
Post: #13
I actually have a similar issue with NFS running the Oct 27 build but I have not really had the time to do any proper troubleshooting so the problem report is a bit rough. I use MySQL and SMB with a bunch of clients so the NFS conversion will be a bit painful if not done carefully.

I had previously used NFS by mounting my Media share at the OS level on a Linux version a while back, but moved to SMB when I added some ATV2 clients. Now that NFS is included for everything I thought I'd try it again.

I have a Synology NAS and followed the recent wiki entry to setup NFS by modifying the exports file via SSH. I have all my media in one folder with three sub folders, "0. Kids Stuff", "1. TV Shows" and "2. Movies". Everything is fine when I mount the first two sources but once it tries to mount Movies it fails with similar error messages. I have tried this on to windows machines but not with my Apple TVs yet.

So my sources look something like this:
Kids Stuff @ nfs://192.168.1.90/volume1/Media/0. Kids Stuff
TV Shows@ nfs://192.168.1.90/volume1/Media/1. TV Shows
Movies @ nfs://192.168.1.90/volume1/Media/2. Movies

I can browse NFS just fine if I have no sources setup and I can map them from XBMC, but as soon as I mount the TV shows folder I can no longer browse for or mount Movies... I figured it was the fact that i was mounting to a single mount point with a few different sub directories, but I am a bit new to NFS so i cannot be sure it that is acceptable.

Renaming folders and mountpoints will be painful since it will mess up my database so i just gave up for the time being.

Guide for MySQL database using Synology NAS
http://quixventure.com/2011/12/configure...-for-xbmc/

Silent AppleTV with Crystalbuntu
http://quixventure.com/2011/12/crystalbu...roduction/
find quote
gabbott Offline
Team-XBMC Member
Posts: 1,547
Joined: Jul 2007
Reputation: 26
Post: #14
The issue seems to be if one has multiple nfs sources configured. Upon a fresh bootup, the first nfs share that is accessed works. If another nfs share is tried it will fail to mount. At that point all nfs shares will not mount.
find quote
BDPNA Offline
Fan
Posts: 420
Joined: Sep 2008
Reputation: 0
Post: #15
gabbott Wrote:The issue seems to be if one has multiple nfs sources configured. Upon a fresh bootup, the first nfs share that is accessed works. If another nfs share is tried it will fail to mount. At that point all nfs shares will not mount.

Wow, what an awesome observation. I haven't thought of that but I bet you're right. When using just one NFS source for my Thumbnails, I'm rock solid. I wasn't seeing issues until I tried adding my video paths as NFS shares instead of MySQL that it broke down.

Totally agree that it works fine with one, but the second NFS source that breaks the entire thing. Great observation.

I haven't tried today's betas yet, but I will -- Can confirm NFS is stable with one source (Thumbnails) but it did break when adding more.
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,691
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #16
Ok guys ...

1. something for your information. There are no known issues related to nfs for osx/ios and linux - speaking for the XBMC master tree. So if someone could reproduce the problems you have on the XBMC master (no openelec or xbmclive or something) - that might be helpfull for me to reproduce.

2. I didn't just get that reproduction description. I have multiple nfs sources in use. My setup is as follows:
- nfs export called "HD" (for hard disk)
- source for movies is HD/Movies
- source for TVshows is HD/TVShows
- source for Images is HD/Pictures
- source for thumbnails (path substitution) is HD/xbmc_thumbs

As you can see i access my nfs stuff over one export and divide it up into muiltiple sources. Did i understand correct that i instead should try to make 4 different exports for each of my sources - having 4 exports / 4 sources - 1 export per source? And then i just should try to play a movie and it should bump out when i try to play a tvshow after that?

Please clarify the reproduction description a bit more if i didn't get this right.

Beside that you should ensure that you use at least xbmc from Nov. 7th. There i did my last change to NFS (and since mid of Oct. a did a couple of other changes which improved some special situations with multiple nfs exports on different servers and some other stuff). Though i don't know how to ensure which Master commits are in an openelec build. I have to talk to the devs from openelec to get an overview on how and when they build nightlys...

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: 2011-11-10 10:08 by Memphiz.)
find quote
gabbott Offline
Team-XBMC Member
Posts: 1,547
Joined: Jul 2007
Reputation: 26
Post: #17
Memphiz Wrote:As you can see i access my nfs stuff over one export and divide it up into muiltiple sources. Did i understand correct that i instead should try to make 4 different exports for each of my sources - having 4 exports / 4 sources - 1 export per source? And then i just should try to play a movie and it should bump out when i try to play a tvshow after that?

Please clarify the reproduction description a bit more if i didn't get this right.

Correct, in order to duplicate, you need to have more than one export to see the problem. I was probably unclear with my explanation, multiple sources from 1 export works fine, it is when there are multiple exports that things seem to break down.
(This post was last modified: 2011-11-10 12:40 by gabbott.)
find quote
bossanova808 Offline
Member+
Posts: 1,532
Joined: Sep 2009
Reputation: 20
Location: Melbourne, Australia
Post: #18
I just tried the latest windows nightly and for the first time was able to have more than one NFS export working...
find quote
gabbott Offline
Team-XBMC Member
Posts: 1,547
Joined: Jul 2007
Reputation: 26
Post: #19
bossanova808 Wrote:I just tried the latest windows nightly and for the first time was able to have more than one NFS export working...

That sounds promising. When I get home I'll try an openelec build that is compiled with a version of xbmc newer than Nov 7th.
find quote
bossanova808 Offline
Member+
Posts: 1,532
Joined: Sep 2009
Reputation: 20
Location: Melbourne, Australia
Post: #20
Yep I can't do that here, I am only testing Eden on a laptop so far, don't want to break my wife friendly openelec boxes that are attached to the TVs!
find quote