So recently i've noticed, that when i stream something from my device, videos get currupted looking. So i've started digging and came to a conclusion, that somehow transfers over samba must be curruping data.
For example:
I copy a few gigs to my device over samba (other end is running win7), then copy again back. Check the md5sum and obviously its different. So some data must be lost when transfering data.
My samba conf looks like this (it worked just fine up until recently)
$this->bbcode_second_pass_code('', '[global]
workgroup = WORKGROUP
server string = Kirkwood
netbios name = Kirkwood
security = user
map to guest = Bad User
guest account = root
load printers = no
disable spoolss = yes
log file = /var/log/samba/%m.log
max log size = 50
[Kirkwood-Disk]
path = /root/Drives/Drive
read only = no
public = yes
writable = yes
force user = root
[Kirkwood-Torrents]
path = /root/Torrents
read only = no
public = yes
writable = yes
force user = root
')
Device is Seagate Dockstar, running latest version of arhlinuxarm. Could this be a bug in samba or is it something entirely else ?
I've also checked the drive, smart seems ok. Also did fsck for badblocks -- no errors. Replaced the usb cable for hdd.
Transfered same data over SFTP back and forth and no errors (md5sum was the same).
Any ideas ?