[Samba] bogus file sizes from samba shares

Dexter Filmore Dexter.Filmore at gmx.de
Wed Mar 3 20:18:23 GMT 2004


when I run du -sh or ls -s on a smb share, I get completely bogus file sizes,
512x as big as they should be. tried with samba 3.0.1 and 3.0.2a, both server
and client on 2.6, slackware 9.1.

example:

$ ls -1sh
302G 001.part*
327G 002.part*
355G 003.part*

but:

$ ls -lh
-rwxrwxr-x    1 dexter   users        603M 2004-01-19 19:32 001.part*
-rwxrwxr-x    1 dexter   users        653M 2004-01-19 19:32 002.part*
-rwxrwxr-x    1 dexter   users        710M 2004-01-19 19:32 003.part*


-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
FGCS d--(+)@ s-:+ a- C+++(++++) UL+>++++ P+>++ L+++>++++ E-- W++ N o? K-
w--(---) !O M+ V- PS++(+) PE(-) Y+ PGP(-) t++(---)@ 5 X+(++) R+(++) tv--(+)@ 
b+(+++) DI+++ D G++ e* h>++ r%>* y?
------END GEEK CODE BLOCK------

http://www.againsttcpa.com - nothing fights like the opposition


More information about the samba mailing list