[Samba] FW: Re: md5 fail on large file

Marco Berizzi pupilla at hotmail.com
Wed Apr 28 10:53:21 GMT 2004


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?


Marco Berizzi wrote:

>I have switched back to samba 2.2.8a (compiled
>from source) on linux 2.6.5: same behaviour.
>
>
>Marco Berizzi wrote:
>
> > 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 = OK
> >
> > Can anybody help me?
>
>
> > Marco Berizzi wrote:
>
>
> > > 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



More information about the samba mailing list