[Samba] Files being corrupted on export, md5sums don't match.

Ævar Arnfjörð Bjarmason avarab at gmail.com
Wed Nov 24 11:02:10 GMT 2004


(smb.conf attached)
When i mount the exported shares on my computer on either it or
another machine they get damaged during transfer, for example i made a
file in my shared folder with the contents "this is a test", mounted
that folder at /mnt/losmb/, resaults below:

$ cat /home/share/test 
this is a test
$ cat /mnt/losmb/test 
J�SMB.�$

$ md5sum /home/share/test && du -s /home/share/test 
e19c1283c925b3206685ff522acfe3e6  /home/share/test
4       /home/share/test
$ md5sum /mnt/losmb/test && du -s /mnt/losmb/test 
77b6cfbf88d1fc931a994b9914ded559  /mnt/losmb/test
524288  /mnt/losmb/test
$

Uname: Linux Rancorwe 2.6.9-rc2 #1 Fri Oct 1 06:47:57 GMT 2004 ppc
7447A, altivec supported PowerBook6,5 GNU/Linux
Samba version: 3.07
CFLAGS used to compile samba: -mtune=G4 -pipe -O1


More information about the samba mailing list