The Samba-Bugzilla – Bug 557
File Size incorrectly reported
Last modified: 2005-11-14 09:31:30 UTC
I am running Samba 3.0.0 on RedHat9 and some of the files on my Windows XP box
are larger than 4GB. I have mounted the partition that these files are on. When
i go and ls -alt the diectory that these files are in it says that the files are
considerably smaller. In one example the file is 4,699,402,240 byes according to
the properties in windows however it is only shown to be 404,434,944 bytes when
ls is run. Nautilus also reports the file size to be 385.7 MB. Which means that
samba has a problem w/ these large files.
Samba version 2 does the same on RedHat 9.0 using kernel 2.4.20-30.9 and 2.4.20-8
Files are also truncated based on the reported file size using ls.
On some large files (more than 6.0GB) it will also report 4.0T.
Same here on Samba 3.0.2a, files are reported too big x512 on smbfs and too small by a fraction of
32 when using cifs.
appears to smbfs bug. you'll need to contact the smbfs maintainer.