Page 1 of 1

rTorent problems writing to DNS-323/313 via samba

Posted: 01 Dec 2007, 15:02
by ulf123
I'm running rTorrent on my beloved Bubba writing to either my DNS-323 or DNS-313 via smb.

my fstab
//dns-323/hdd_2 /mnt/dns323 smbfs default,rw,user,auto,password= 0 0
//dns-313/volume_1 /mnt/dns313 smbfs default,rw,user,auto,password= 0 0

When writing to the DNS-323, Bubba hangs totally after a while (but it downloads), requiring a pull out plug reboot. The syslog reports "write errors".

Writing to the DNS-313 doesn't work at all, resulting in a "Storage error: [File chunk write error: Success.]"

Ordinary file transfers to both DNS works fine.

Any ideas? :( help!

Posted: 03 Dec 2007, 05:33
by tor
Hi ulf123,

Could you provide a complete syslog entry for this. Who is the reporter of "write errors" Samba, kernel, rtorrent? It sounds like its the rtorrent application that is doing this.

And if you do write the download directly to the DNS units you should be aware that this most likely is quite risky. rtorrent/libtorrent uses quite an advanced fileaccess method. So i would not recomend using over a networked share.

/Tor

Posted: 06 Dec 2007, 10:02
by ulf123
Thanks for the info.

My plan is not to use the DNS-323 so I haven't reproduced the "write errors".

Is NFS more secure for "advanced fileaccess method(s)" or should you always write locally when torrenting?

Posted: 07 Dec 2007, 03:26
by tor
Hi,

Im not sure if NFS could work better, but i would try it and see if it makes any difference.

/Tor

Posted: 08 Dec 2007, 04:17
by Ubi
One reason Bubba seems to hang is because it is still busy cheksumming the torrent. This is part of the torrent protocol but more obvious on bubba because of the CPU limitations. So please give it some time.
Re NFS; I doubt whether this will improve things. It actually seems NFS is less efficient the SMB when it comes to moving large files. Also because of the file access methos used by the torrent protocol, switching to NFS will unlikely cure your write errors. So my answer here would be: 'yes, write locally if you can'

hope this helps

Ubi