NFS subdirectories not supported

Linux

When you share a directory via NFS in Linux all subdirectories are shared as well. The problem I’m having is that the WD TV Live will not play any files that are in a subdirectory of an NFS share, the TV Live only sees the root of the share. When I try to access the subdirectory the TV Live sees the directory but then gives me an error message saying that there is no media available for playback. WD, please fix this issue so NFS users don’t have to make an entry in the /etc/exports file for ever single TV show they are hosing on their servers. Thanks.

garrett85 wrote:

Linux

When you share a directory via NFS in Linux all subdirectories are shared as well. The problem I’m having is that the WD TV Live will not play any files that are in a subdirectory of an NFS share, the TV Live only sees the root of the share. When I try to access the subdirectory the TV Live sees the directory but then gives me an error message saying that there is no media available for playback. WD, please fix this issue so NFS users don’t have to make an entry in the /etc/exports file for ever single TV show they are hosing on their servers. Thanks.

That’s not a WD issue – I don’t have any problems accessing subdirectories of NFS mounts…  My guess is your file or folder permissions are messed up.

I just re-configured my /etc/exports file and took a look at all the permissions and I’m having the same problem.

Shared media directories

/home/garrett/Videos/ *(rw,sync,no_subtree_check)
#/home/garrett/Videos/Movies *(rw,sync,no_subtree_check)

Share TV Shows Directory

#/home/garrett/Videos/Shows *(rw,sync,no_subtree_check)

Above you’ll notive I’ve commented out the subdirectories and am now sharing their parent directory (Videos)

I have set all directories to rwxr-xr-x & all media files to rw-r–r–

garrett@media-server:~$ ls -l
total 92
-rw-r----- 1 garrett garrett 54654 May 6 16:58 dmesg
-rwxr-xr-x 1 garrett garrett 301 Jun 9 20:19 movie-linker
-rw-r–r-- 1 root root 28643 Jun 1 05:52 movieList.txt
drwxr-xr-x 4 garrett garrett 4096 May 15 23:51 Videos

garrett@media-server:~/Videos$ ls -l
total 24
drwxr-xr-x 6 garrett garrett 20480 Jun  1 19:52 Movies
drwxr-xr-x 4 garrett garrett  4096 May 16 00:21 Shows

garrett@media-server:~/Videos/Shows$ ls -l
total 20
drwxr-xr-x 2 garrett garrett  4096 May 16 00:23 Flight of the Conchords
drwx------ 2 root    root    16384 May 15 23:49 lost+found

garrett@media-server:~/Videos/Shows/Flight of the Conchords$ ls -l
total 7059176
-rw-r–r-- 1 garrett garrett 1229287388 May 16 00:22 S01E01.mkv
-rw-r–r-- 1 garrett garrett 1224541913 May 16 00:22 S01E02.mkv
-rw-r–r-- 1 garrett garrett 1207552450 May 16 00:22 S01E03.mkv
-rw-r–r-- 1 garrett garrett 1120077206 May 16 00:23 S01E04.mkv
-rw-r–r-- 1 garrett garrett 1212302061 May 16 00:23 S01E05.mkv
-rw-r–r-- 1 garrett garrett 1234800348 May 16 00:23 S01E06.mkv

garrett@media-server:~/Videos/Movies$ ls -l
total 778007112

-rw-r–r-- 1 garrett garrett  4850728192 May 16 00:13 A Far Off Place.mkv
-rw-r–r-- 1 garrett garrett       20856 Sep 23  2012 A Guy Thing.metathumb
-rw-r–r-- 1 garrett garrett  4177510832 Jun 29  2012 A Guy Thing.mkv
-rw-r–r-- 1 garrett garrett        2560 Sep 23  2012 A Guy Thing.xml
-rw-r–r-- 1 garrett garrett  4093400772 May 16 00:11 A Little Princess.mkv
-rw-r–r-- 1 garrett garrett       23937 Sep 23  2012 Almost Famous.metathumb
-rw-r–r-- 1 garrett garrett  5592099159 Aug  7  2012 Almost Famous.mkv
-rw-r–r-- 1 garrett garrett        4596 Sep 23  2012 Almost Famous.xml
-rw-r–r-- 1 garrett garrett 35424241378 May 25  2014 Amélie-BD.mkv
-rw-r–r-- 1 garrett garrett       32528 Sep 23  2012 Amelie.metathumb
-rw-r–r-- 1 garrett garrett  6305112218 Jul 22  2012 Amelie.mkv
-rw-r–r-- 1 garrett garrett        4689 Sep 23  2012 Amelie.xml

And I’m still getting "There is no media available for playback.