NFS NAS DLink DNS-313 & wdtvlive & Mint 12

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read this

NFS NAS DLink DNS-313 & wdtvlive & Mint 12

Postby jazz.h on Thu Feb 23, 2012 4:25 am

I thought I resolved my beginner's issues with NFS mounting, but problems emerged.

I have fun_plug installed on DNS-313 which enables NFS on this little NAS, which auto created exports file for my storage partition on NAS (which is NTFS...looking for a method if it can be converted to Ext2).

I mounted NFS share from wdtvlive (running custom fw) as readonly. It's working great, playing smoothly even highest bitrates.
I also mounted the same NFS share from Mint 12 with rw option, added the appropriate line to /etc/fstab. This is also working as expected, read, write, speed...

But since yesterday from Mint I'm getting input output errors on copying or creating emtpy files (although I can create folder). Through NAS web interface when I run scan disk I can see NTFS inconsistency errors, when I try to repair them web page returns no feedback after 30 seconds and the scan disc button returns same errors again. When trying to write from Mint to NAS using SMB network share I'm getting the same error. At the same time wdtvlive still reads NFS mounted files from NAS perfectly.
I also tried to copy from windows to NAS mapped as a network drive, no problems at all, no errors, everything is playable afterwards.

Now... I know this is more NAS topic than Mint topic, but I need some advice if I did something wrong in NFS mounting from 2 different machines, maybe fstab line should be different from Mint?

My conclusion is that knowing that NTFS writing is buggy from every Linux, some NTFS errors emerged on the storage drive and Mint sees them since it's NFS mounted and denies to write to it, Windows doesn't see them and the NAS lets him since the errors aren't critical.

As a temporary solution I'm thinking of running fsck from the NAS itself (since I can telnet to it) or repair it from windows scan disk when I connect the enclosure to it by usb (since NAS has also usb port).

As a permanent solution I'm looking for a way to convert my storage partition from NTFS to Ext2.

Any suggestions...?
jazz.h
Level 3
Level 3
 
Posts: 182
Joined: Sat Jun 18, 2011 7:13 am

Linux Mint is funded by ads and donations.
 

Re: NFS NAS DLink DNS-313 & wdtvlive & Mint 12

Postby Jupiter_Spunk on Tue Feb 28, 2012 5:05 pm

Couple notes,
1. Correct me if I'm wrong. But you can not fsck an NTFS partition.
2. There is no way to change an NTFS to a ext* partition with out deleting the partition table (and everything in the partition)
3. does the NAS box have a CIFS sharing option, it seems to work much better with linux. (I agree linux needs to get its NFS issues worked out)
4. I think the NFS share not the NTFS partition is your issue. I have several NTFS partitions on my box, and have had no issue with corruption and am constantly accessing large files over 8GB with no issue. I have had tones of problems working with an NFS partition.


Hope that helps.
Mint 10 Intel Quad core, ATI 4650, 3 tb of storage.
Mint 11 with Boxee AMD64, ATI All in wonder pro 512mb.
Google, the new lifesaver!
Jupiter_Spunk
Level 3
Level 3
 
Posts: 120
Joined: Thu Feb 24, 2011 10:28 am

Re: NFS NAS DLink DNS-313 & wdtvlive & Mint 12

Postby jazz.h on Wed Feb 29, 2012 1:49 pm

1. Actually you can, if ntfs-3g suite is in case. There's a utility called ntfsfix in that suite. But I don't know which suite my NAS is using. It used to repair succesfully my NTFS partition a couple of times (through integrated web interface) but this time it couldn't. So this time I will repair it from Win after connecting the enclosure by USB.

2. I know but this is not a problem now, it's almost empty.

3. Yes it has, but since CIFS=SMB the errors with streaming are the same as with network share accessing - it seem's the NAS's cpu is too slow and the playback from wdtvlive becomes choppy (not smooth). I tried CIFS before NFS with official fw, but my playback performance was not satisfactory. With NFS it works like a charm.

4. I agree.

still searching...

Thanks Jupiter_Spunk!
jazz.h
Level 3
Level 3
 
Posts: 182
Joined: Sat Jun 18, 2011 7:13 am

Re: NFS NAS DLink DNS-313 & wdtvlive & Mint 12

Postby Jupiter_Spunk on Wed Feb 29, 2012 3:54 pm

Does the Nas have a USB connection option.
You could connect it directly to the WDTV Live, and share it out from there.
Mint 10 Intel Quad core, ATI 4650, 3 tb of storage.
Mint 11 with Boxee AMD64, ATI All in wonder pro 512mb.
Google, the new lifesaver!
Jupiter_Spunk
Level 3
Level 3
 
Posts: 120
Joined: Thu Feb 24, 2011 10:28 am

Re: NFS NAS DLink DNS-313 & wdtvlive & Mint 12

Postby jazz.h on Wed Feb 29, 2012 6:24 pm

Yes, the NAS has also a USB port.
And no, I don't want to connect it to wdtv with USB, because I already have one disc connected to wdtvlive which is shared on the network and performance is not so good.
That's why I bought a NAS, to have a permanent solution (central repositorium) for all of my network. :D
jazz.h
Level 3
Level 3
 
Posts: 182
Joined: Sat Jun 18, 2011 7:13 am


Return to Other networking topics

Who is online

Users browsing this forum: No registered users and 5 guests