Sign up here and you can log into the forum!

NFS share and external hard drive on server

General homebrew discussion area

NFS share and external hard drive on server   

Postby kikipop » Sat Jul 23, 2011 7:08 am

Hello wdlxtv community,

I've a weird issue with my wdtv live nfs share and external hard drive on my linux server.
So I'll try to be clear in my explanation...

When i'm watching a movie (hosted on a linux server with a WD Element 1TB plugged in USB, ntfs partition) after a while the movie stops and goes back to menu. I can play again the movie from where it was stopped.
I cannot specify after how many minutes the movie stops because it's random. Generally between 20mn and 40mn. It seems not to be the file

For testing, I've tried to play the same file :
- but hosted on my server in his internal hard drive. After 1h of watching => no stop
- hosted on my server in his external hard drive but through mediatomb. After 1h of watching => no stop


Here is my different mount command:
On linux server side:
- etc/exports/
Code: Select all
/media/western/ 192.168.1.21(rw,all_squash,anonuid=1000,anongid=1000,sync)


On the wdtvlive side, i tried two commands in net.mounts file
Code: Select all
xmount 192.168.1.50:/media/western Movies nfs udp,rsize=32768,wsize=32768

and
Code: Select all
xmount 192.168.1.50:/media/western Movies nfs


Here is my Lan diagram

Room 1
INTERNET ----- internet box (freebox) ---- Linux server (and USB hardrive)

Room 2
Netgear switch ----- WD TV Live

The two rooms are connected through CPL (Powerline Communications i guess)

Let me know if u want more details

Help would be appreciated =).
Cheers
kikipop
n00b
 
Posts: 11
Joined: Thu Jun 16, 2011 12:51 am

Re: NFS share and external hard drive on server   

Postby kikipop » Tue Jul 26, 2011 12:38 pm

Can anybody help me please :cry:
kikipop
n00b
 
Posts: 11
Joined: Thu Jun 16, 2011 12:51 am

Re: NFS share and external hard drive on server   

Postby KAD » Tue Jul 26, 2011 3:15 pm

my first suggestion is check out messages.txt and dmaosd.log to see if you can find any clues as to why it's happening

some other post reported similiar problems caused by some settings in the switch if I remember correctly
if I can find the post, I'll link it here

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4015
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: NFS share and external hard drive on server   

Postby kikipop » Wed Jul 27, 2011 11:41 pm

Thanks KAD for your help.
I checked out messages.txt and I didn't found anything which can help me in my issue.
Concerning dmaosd.log, I understand anything in this file :lol:
Now, I'm using an alternate solution which consists in plug in my hard drive directly on the wdtv. The only drawback I've found is I have to use FTP (or smb) to transfer file.

But if you found other posts with similar problem, I'm always interested :)
kikipop
n00b
 
Posts: 11
Joined: Thu Jun 16, 2011 12:51 am

Re: NFS share and external hard drive on server   

Postby KAD » Thu Jul 28, 2011 7:44 am

dmaosd is the closed source program that runs the display, so think of the log as a good go to for what the program is doing

example if you tail -f /tmp/dmaosd.log

then start navigating through the osd, you'll see messages with each key press to show what it's doing

I still think it may be something to do with the switch
do you have any way to setting it up wireless or without the switch, just to confirm if it's causing problems

KAD
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
User avatar
KAD
Global Moderator
 
Posts: 4015
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Re: NFS share and external hard drive on server   

Postby recliq » Sun Jul 31, 2011 5:01 am

If you don't have a file /tmp/dmaosd.log you need to enable the debug logging first and reboot, make sure to disable it after debugging because it may slow down your device:
Code: Select all
config_tool -c DMAOSD_DEBUG=1

to get even more output set the value to 2, to disable it set it to 0.
­WDLXTV Project Maintainer
-:] If you like my contributions feel free to donate for a beer or a new flash drive. ...and always remember: RTFM! (README, FAQ, WIKI) [:-
User avatar
recliq
WDLXTV Team
 
Posts: 5025
Joined: Thu Apr 15, 2010 8:09 am
Location: Kiel, Germany


Return to WDTV G2 & WDTV Live homebrew discussion

Who is online

Users browsing this forum: No registered users and 2 guests