md5 fail on large file
Me again. I think I have found which is the problem. After I have copied the file from NT4TSE to samba, I have run df on the filesystem, and the used space was minor than the filesize printed by ls -l
ls -l priv.edb
-rwxr--r-- 1 user group 5393883136 Apr 28 10:58 priv.edb
du priv.edb
4194364 priv.edb
df
df /dev/hda8 99396660 41994828 95201832 5% /mnt/data
My env: linux-2.4.26. /dev/hda8 is XFS, samba-3.0.2a Slack 9.1
Comments?
Quoted 4 lines · Marco Berizzi
I have switched back to samba 2.2.8a (compiled
from source) on linux 2.6.5: same behaviour.
Quoted 54 lines
Quoted 52 lines · Marco Berizzi
Me again. I have upgraded to linux kernel 2.6.5. However this problem hasn't gone away. The md5 check is fine, coping the same file from NT4TSE to a Windoze 2000sp4. Coping the same file from a windoze 2000sp4 to the samba share is ok. So the problem is between NT4TSE and samba.
NT4TSE --> SAMBA = KO
WIN2k --> SAMBA = OK
NT4TSE --> WIN2K = OKCan anybody help me?
Quoted 34 lines · Marco Berizzi
Hello everybody.
I'm experimenting this problem with samba 3.0.2a and linux 2.4.25 with ReiserFS.
When I copy (put) a large file (5GB) from a Windows NT terminal server sp6a to the samba-linux box, the md5sum is different between the two file. Files size are identical.
I'm using this command to copy these files from windows to samba:xcopy f:\ \\mimas\backup\exchange /e /c /h /r
I have also tried to delete the old files from the samba share, but nothing
change: I always get two different md5sum. With smaller files (400MB) md5sum is identical.
When I transfer this large file with ftp (proftpd 1.2.9 on Linux), md5sum is ok.These two systems are connected to a 3COM 100bit/s switch. No collision/no error are detected at linux side box. Samba doesn't log anything relevant. No kernel error. Nothing. Samba box is running Slackware 9.1
+ kernel 2.4.25 + samba 3.0.2a compiled from sources.Hints?
PS: Please CC me I'm not subscribed to this list.
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963