Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

mounting shares wdlxtv

Featured Replies

can anyone help me with mounting my shares on my wdtv live boxes. i cant seem to figure it out. i flashed them to wdlxtv 1.03.49 b and installed samba.app.bin on the root of the flash drive. im assuming unraid is using samba by default? my server ip is 192.168.0.50 and the shares i wanna mount are movies/tv series/new. th ip adress of the live boxes are 192.168.0.100 and 192.168.0.101 and there is no password required. i tried making a smb.conf text document using notepad that looks like this xmount //192.168.0.50/movies movies cifs user=,password= and also putting it on the root of the flash drive but it wont work? im so confused ive been trying to figure it out for days. can anybody help me? thx

 

  • Author

i still cant seem to get this working. i have gone into my unraid shares and added this *(rw)  to the Export (NFS): section on each of the shares i wanna mount. i then made a smb.conf file in notepad that reads xmount 192.168.0.50:/mnt/user/movies movies nfs and copied it to the flash drive attached to my wd box? i rebooted the wd box and when i go to local drive all videos it says there is no media? do i need to copy some other addons as well to the flash drive or do i need to telnet into it and activate mounting? thx

Use the net.mounts file not smb.conf. (smb.conf is for an entirely different purpose, i.e., using the WDTV as a samba server.)

 

b-rad helpfully includes a sample net.mounts file in his download that is full of instructions and examples. It seems you haven't looked at that.

 

from WDLXTV README

NOTES:

=================

net.mounts are where you can place NFS/CIFS/ftp/ssh shares that you would like loaded at boot.

net.mounts must either be on a drive at boot *OR* in /conf (to be used every boot)

 

It helps immensely to read all the documentation he provides.

 

net.mounts

#
# Example net.mounts file to demonstrate auto-mounting
# of network shares
#
# note: that if you store a net.mounts file in /conf/ then it will ALSO
# execute on startup.
#

# Mount a windows file share (must be done by IP address)
#
#xmount "//192.168.0.33/ShareName" "ShareName" cifs


#  if your "guest" account is disabled, you must supply username and password
#
#xmount "//192.168.0.34/ShareName" "ShareName" cifs "user=username,pass=password"


# Mount an NFS share
#
#xmount 192.168.0.44:/nfsroot ShareName nfs


# Mount a remote FTP
# to find advanced options execute:
# curlftpfs --help
#
#xmount "ftp://192.168.0.234:21" "FTP Name" ftpfs "-o user=UserName:Password -o Option2"


# Mount a remote SSH server
# sshfs *requires* keyless login
# you can view your public key by executing:
#   ssh-public-key
# add your key to a remote machine by executing: 
#   ssh-copy-id user@server
#
# to find options execute:
# sshfs --help
#
#xmount "User@ServerName:Directory" "Server Name"sshfs "-o follow_symlinks"


# combine previous xmounts using unionfs
# unionfs takes a colon delimited list of 'ShareNames' and aggregates their content to the target
# directory structure is preserved
## the following is an example, it mounts 4 remote shares 'hidden' so they 
## are not visible in the OSD and then aggregates them.
## you hide an xmount by preceeding its 'ShareName' with a .  (dot)
#xmount "192.168.0.44:/movies"   ".movies1"  nfs
#xmount "192.168.0.233:/stuff"   ".movies2"  nfs
#xmount "192.168.0.101:/movies3" ".movies3"  nfs
#xmount "192.168.0.151:/videos"  ".movies4"  nfs  
#xmount ".movies1:.movies2:.movies3:.movies4"  "ShareUnion"  unionfs

 

Edit that file and save it to your attached USB flash drive.

 

With recent versions of WDLXTV you can also edit (or create) a net.mounts file using the WDLXTV webend config tool. To use the webend simply enter your WD's ip (192.168.0.50) in your browser. I forget what the default name and pw are, but you can read the documentation or search the forum for that.

 

Also be aware that if you try to play videos from the Photo or Music menu of your WDTV you will discover another excellent way way to see the "No media found" message.

  • Author

ok as much as i hate to ask and appear as a totally lazy noob i have been reading up on this for a week now and just cannot make it work. i know im retarded and its simple but im just not getting it. can someone attach a net.mounts file that is edited for me that will allow me to mount shares named tv series/movies/new from my unraid server located at 192.168.0.50. i have never set any passwords on my unraid server and the only thing i have changes was to add *(rw) to the Export (NFS): box on the server which i believe has enabled nfs. if i understand correctly it will be a txt file that only needs to be moved to the root of the flashdrive of my wd box that after rebooted will show those shares under the local drive all video catagory withoout doing anything else? thx alot for any help. its driving me crazy

  • Author

furthermore i tried editing what i think i need and this is what i came up with. it was only a test so i only did the movies share. i have attached it

net.mounts.txt

assuming your usershare on unraid is called movies

 

xmount 192.168.0.50:/mnt/user/movies movies nfs

 

then this should do the trick

For Samba shares all I did was go into settings and turn off Auto Login.

 

Connect via shares like you would normally do and this time it will present you with a popup asking for

Login

Password

 

After you set your login password you can then re-turn on Auto Login and it will save it.

  • Author

assuming your usershare on unraid is called movies

 

xmount 192.168.0.50:/mnt/user/movies movies nfs

 

then this should do the trick

 

 

tried this and it still wont work. says no media? i must be missing a step here or something. i flashed b-rad wdlxtv to my wd box and installed a flashdrive into the back port. i then added *(rw) to the box marked Export (NFS): on all the shares on my unraid box i wanna mount. i then made a .txt file using notepad that read xmount 192.168.0.50:/mnt/user/movies movies nfs and copied that to the root of the flash drive. i then rebooted the wd live and went to video/local drives/ all video and it says no media found? am i missing something here? do i have the wrong firmware? did i enable nfs shares correcly on the unraid box?

what does the unraid syslog say ?

it should put something like

 

Feb 22 16:16:53 p5bplus mountd[2438]: authenticated mount request from 192.168.1.4:912 for /mnt/user/TV.New (/mnt/user/TV.New)
Feb 22 16:16:53 p5bplus mountd[2438]: authenticated mount request from 192.168.1.4:819 for /mnt/user/Animated (/mnt/user/Animated)

 

This is a succeeded mount

 

but it can also say

 

Feb 19 11:23:58 p5bplus mountd[10879]: refused mount request from 192.168.1.4 for /Animated (/): not exported

 

In my case at that time i was not using the full path and got above error message

 

try to run exportfs command from unraid terminal (telnet) .. it should give something like

 

root@p5bplus:~# exportfs

/mnt/user/Animated

                <world>

/mnt/user/TV.New

                <world>

/mnt/user/Work  <world>

 

So in my case i have 3 nfs exported shares

 

be aware i have no WDL .. but i am using nfs shares to my openelec xbmc

...went to video/local drives/ all video and it says no media found?

 

Try this. Instead of navigating video/local drives/all video. Try video/local drives/folders. That should allow you to drill down to all of your mounted shares. e.g.. USB2/movies

 

"All Media" relies on the WDTV's Media Library (indexer/cataloger) to find the files of the type you want to play. I just tried it myself  and also got the No Media Found message. FWIW I've had Media Library disabled for a long time now, since I found it was losing track of what was on my shares (blamed this on having S3 sleep script running in unRAID, or the fact that unRAID idles drives that aren't in use, but those are only theories - if the latter issue is the problem then possibly enabling spinup groups in unRAID might solve it).

 

Since right now it doesn't appear to be working for either of us there may be a bug in the later version of WDLXTV or we're not giving the Media Library enough time to index all the files on our shares.

 

If you have thousands of media files on your mounted shares like I do, the answer may just be to keep the WDTV powered up with the shares mounted for an hour or two and try again.

 

If that doesn't work you can get along fine without the Media Library. While it is somewhat helpful for finding music - by album, track name, genre, it's nothing you can't do without, especially if your primary use is for video.

 

[edit]After I wrote the above I did some more testing. It seems that with Media Library enabled that the no media found condition still occurs in the folder view as well as the All Video, All Music, Genre, Artists, etc. So the answer, for now at least, is to disable Media Library (in the WDTV settings menu) and use the folder view. That works fine as long a Media Library is not enabled. Something apparently is wrong with it when used with mounted shares in version 1.02.21-WDLXTV-Live-0.4.5.3 .

 

[edit 2]It just occurred to me that since I haven't been using Media Library for quite awhile, that the .addMounts file may be missing on my USB flash drive. blazinlow, in case you aren't aware, in order for Media Library to work with a mounted share you need to put an empty file named .addMounts on an attached USB drive. The lack of that file may be the source of both of our problems. I won't be able to check mine until tomorrow, but that may be something else for you to fix and try in the meantime.

[edit 2]It just occurred to me that since I haven't been using Media Library for quite awhile, that the .addMounts file may be missing on my USB flash drive. blazinlow, in case you aren't aware, in order for Media Library to work with a mounted share you need to put an empty file named .addMounts on an attached USB drive. The lack of that file may be the source of both of our problems.

 

Yep. Now with the .addMounts file on my USB drive the Media Library functions are working again. So I'm betting that is also your problem blazinlow.

 

To recap:

 

Disable Media Library (via WDTV Settings / System setting).

Try playing media from Video / Local drives / folders.

If it works, that will verify that your share is mounting and WDTV can find media.

 

If you want to use Media Library, place an empty file named .addMounts on your attached USB drive. Reboot, re-enable Media Library. Give it a little time to index the media on your mounted share (only a minute unless you have thousands of media files). Then you can test the Media Library functions like "All video", "Date", "Recent", etc.

  • 2 months later...

furthermore i tried editing what i think i need and this is what i came up with. it was only a test so i only did the movies share. i have attached it

 

Just realized your attachment had an .txt extension, perhaps this was on purpose for the sake on attaching (i.e. the forums wouldn't allow a foreign filename with a .mounts extension), however, just-in-case the actual file on your USB drive has .txt at the end, this would in affect keep it from being loaded.

 

Setting up the WDTV with b-rad's firmware can be a bear, but, once it's working.. it's really nice.

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.