[Samba] Samba over PVFS: Corrupted Data

Justin Mazzola Paluska jmp at MIT.EDU
Tue Dec 20 15:46:18 GMT 2005


On Mon, Dec 19, 2005 at 08:01:27AM -0800, Jeremy Allison wrote:
> > 1.  Corruption of PDF files.
> > 
> >     Copying PDF files from my Windows desktop to the Samba share
> >     results in corruption.  It looks like only the beginning of the
> >     file is getting corrupted.  For example, the file normally starts
> >     with:
> 
> Get an ethereal trace and debug level 10 of this and then do an

The samba log, ethereal trace, the original PDF and the version we get
via samba are attached in a tarball.

> md5 checksum of a truncated copy of the start of the file - say
> 512 bytes then 1024 bytes then 2048 and binary chop until you
> find the sizer that's being corrupted.

I did a more careful study of the files and the corrupted version
seems corrupt throughout -- including an odd string of NULs at the end
of the file.  The files are the same size, so perhaps something is
padding the file to be the right length?

> Samba works well with many network filesystems so it's doubtful
> this is a Samba bug (although anything is possible :-).

Indeed, Samba's great on most everything we've thrown at it!

Sincerely,
	--Justin


More information about the samba mailing list