Bug 557 - File Size incorrectly reported
File Size incorrectly reported
Product: Samba 3.0
Classification: Unclassified
Component: smbmount (unmaintained)
All Linux
: P3 major
: none
Assigned To: Samba Bugzilla Account
Depends on:
  Show dependency treegraph
Reported: 2003-10-02 14:28 UTC by Shawn Stricker
Modified: 2005-11-14 09:31 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Stricker 2003-10-02 14:28:39 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.
Comment 1 James Monteath 2004-03-03 15:51:47 UTC
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.
Comment 2 James Monteath 2004-03-03 15:58:09 UTC
On some large files (more than 6.0GB) it will also report 4.0T.

Comment 3 Dexter Filmore 2004-04-06 03:08:50 UTC
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.
Comment 4 Gerald (Jerry) Carter 2004-04-22 19:55:35 UTC
appears to smbfs bug.  you'll need to contact the smbfs maintainer.
Comment 5 Gerald (Jerry) Carter 2005-11-14 09:31:30 UTC
database cleanup