Unraid - NFS Shares - WDTV Live Plus


Recommended Posts

Ok so I was running vortexbox for my NAS which is based off of Fedora. I decided to try out unraid but I am seeing some issues with my NFS Shares and my wdtv live plus.

There is some helpful info here for when this issue occurs - http://wiki.wdlxtv.com/Net.mounts#Very_important.21

 

Within my WDTV Live Plus running Brads firmware I have the following:

 

xmount Ip Address:/mnt/user/media/HDStuff HD-NFS nfs

xmount Ip Address:/mnt/user/media/KidsShows KidsTV-NFS nfs "proto=tcp"

xmount Ip Address:/mnt/user/media/movies Movies-NFS nfs

xmount Ip Address:/mnt/user/media/TVShows TV-NFS nfs

 

After a reboot all items will be fine. But after it hasn't been used for a day the HDStuff, KidsShows, And TVShows will show up when I browse to local device but then they say "No media in the current folder". The Movies folder is OK though.

 

Any ideas why one folder is OK but the rest not. As you can see I tried the proto=tcp from the wiki but that didn't help any.

 

Does it have to do with having the disks spinning down?

 

A litte more info as well -

Re: NFS Share issue 

 

Postby chip » Thu Jan 05, 2012 9:12 am

So after a reboot and if I putty into the device and do the following...

 

# cd /tmp/media/usb

# ls -l

drwxrwx--- 1 nobody 100 208 Dec 19 14:29 HD-NFS

drwxrwx--- 1 nobody 100 112 Jan 4 19:32 KidsTV-NFS

drwxrwx--- 1 nobody 100 200 Dec 27 09:35 Movies-NFS

drwxrwx--- 1 nobody 100 976 Dec 19 15:22 TV-NFS

drwxr-xr-x 3 root root 60 Dec 31 1999 USB1

 

I noticed I did this this morning and the 3 said "Stale NFS File handle".....what does this mean?

 

# showmount -e Nas Device

Export list for Nas Device:

/mnt/user/media *

/mnt/user/files *

/mnt/disk2 *

/mnt/disk1 *

#

 

 

Link to comment

So I stopped the drives from spinning down thinking that might be the issue but I saw this when I remoted it to the wdtv live -

 

ls -l

ls: ./TV-NFS: Stale NFS file handle

ls: ./Movies-NFS: Stale NFS file handle

ls: ./HD-NFS: Stale NFS file handle

 

Link to comment
  • 1 month later...

I'm just now trying to mount NFS shares on my WDLXTV (Live Plus) as well.

Firmware 0.5.1.1 with unRaid 4.7

 

 

This is my code under "Network Shares" on the WDLXTV config page:

 

xmount "192.168.1.139:/mnt/user/movies" Movies nfs

xmount "192.168.1.139:/mnt/user/concerts" Concerts nfs

xmount "192.168.1.139:/mnt/user/documentaries" Documentaries nfs

xmount "192.168.1.139:/mnt/user/music library" Music nfs

xmount "192.168.1.139:/mnt/user/music videos" Music-Videos nfs

xmount "192.168.1.139:/mnt/user/Non-Fiction and Nature" Non-Fiction-and-Nature nfs

xmount "192.168.1.139:/mnt/user/pictures" Pictures nfs

xmount "192.168.1.139:/mnt/user/standup comedy" Standup-Comedy nfs

xmount "192.168.1.139:/mnt/user/tv series" TV-Series nfs

 

However, I get "folder contains no media" when I navigate to my Local Attached Drive icon on my WD TV. The individual folders also do not show up either.  I've added *(ro) to all of my user shares in the unRaid share page. .1.139 is the IP of my "tower"

 

 

 

Any advice?

 

 

Link to comment

*(rw,insecure) did not help.

 

In the WDLXTV I am able to get a "Permission denied" error when trying to perform the xmount command (Through the device - telnet, not the OSD). As far as I know, my unRaid server does not require any sort of login/password to access the shares. Is there some other permission level with NFS shares that I'm missing?

Link to comment

*(rw,insecure) did not help.

 

In the WDLXTV I am able to get a "Permission denied" error when trying to perform the xmount command (Through the device - telnet, not the OSD). As far as I know, my unRaid server does not require any sort of login/password to access the shares. Is there some other permission level with NFS shares that I'm missing?

 

What do you get when you do these commands if you putty into your WDTV?

# cd /tmp/media/usb

# ls -l

 

 

# showmount -e Nas Device    nas device is the IP address of it.

 

 

 

Link to comment

# cd /tmp/media/usb
# ls -l
drwxr-xr-x     3 root      root       60 dec 31 1999 usb1

 

 

# showmount -e 192.168.1.139
Export list for 192.168.1.139:
/mnt/user/movies                             *
/mnt/user/concerts                           *
/mnt/user/documentaries                      *
/mnt/user/music library                      *
/mnt/user/music videos                       *
/mnt/user/Non-Fiction and Nature             *
/mnt/user/pictures                           *
/mnt/user/standup comedy                     *
/mnt/user/tv series                          *

 

And if I manually try to xmount in telnet:

 

mount 192.168.1.139:/mnt/user/movies failed, reason given by server: Permission denied
xmount: xmount 192.168.1.139:/mnt/user/movies nfs soft,intr,ro, FAILED WTF?!?

 

I've also tried using 192.168.1.0/24(rw,insecure) for my nfs export settings in my unRaid GUI. That doesn't seem to help either. Must be a permission issue with the unraid server.

 

When I try to go to the "network drives" on my WD TV I am able to see all of my SMB shares but I have to "log in" with user "anonymous" and password blank. Does this have something to do with my permission issue? I'm under the impression I can't set a username/password for NFS shares.

Link to comment

Here is one of my mounts -

 

xmount 192.xxx.xxx.xxx:/mnt/user/media/TVShows TV-NFS nfs

 

 

Here is my showmount - e

 

/mnt/user/media *

/mnt/user/files *

 

So your xmount should look like this -

xmount 192.168.1.139:/mnt/user/movies Movies nfs

 

Yeah that's exactly what I'm doing and it doesn't work :(

Still has something to do with an unRaid permission issue I suspect

Link to comment

Solved my issue:

 

WD TV Mount Script

xmount "192.168.1.139:/mnt/user/Movies" "Movies" nfs
xmount "192.168.1.139:/mnt/user/Concerts" "Concerts" nfs
xmount "192.168.1.139:/mnt/user/Documentaries" "Documentaries" nfs
xmount "192.168.1.139:/mnt/user/Music Library" "Music Library" nfs
xmount "192.168.1.139:/mnt/user/Music Videos" "Music Videos" nfs
xmount "192.168.1.139:/mnt/user/Non-Fiction and Nature" "Non Fiction and Nature" nfs
xmount "192.168.1.139:/mnt/user/Pictures" "Pictures" nfs
xmount "192.168.1.139:/mnt/user/Standup Comedy" "Standup Comedy" nfs
xmount "192.168.1.139:/mnt/user/TV Series" "TV Series" nfs
xmount "192.168.1.139:/mnt/user/Surround Sound Music" "Surround Sound Music" nfs

 

With my unRaid NFS export settings:

192.168.1.0/24(rw,insecure)

 

I'm not sure why this works and the other tries didn't. :)

 

The WD TV seems to not care whether the drives are already spun up or not (Yay). When I finally got a share to show up on the mount table only 3/10 mounts had shown up. I thought that was strange and tried manually mounting the drives with xmount (not through the start-up script in the WDLXTV options). No problems there! Then I noticed the 3 shares that showed up were the last three on my mount list!

 

I increased the "delay mount" time from 5 sec to 10 sec. This time SIX of the 10 shares showed up. Further increasing the delay to 15 sec caused 9/10 to show up. I settled on 20 sec delay.

Link to comment
  • 4 months later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.