[Fwd: Samba servers and Mac Finder - minimum file size 1Mb]

Christopher R. Hertel crh at ubiqx.mn.org
Mon Jul 19 19:45:34 MDT 2010

Quick question (for the Apple folk, primarily):  If the message copied below
is correct, the Macintosh Finder reports the allocated rather than the
actual size of files on an SMB share.  Is that intentional?

Just curious.

The message is from one of the administrator mailing lists at the University
at which I used to work.

Chris -)-----

-------- Original Message --------
Subject: Samba servers and Mac Finder - minimum file size 1Mb
Date: 	 Mon, 19 Jul 2010 16:49:26 -0500

One of my users noticed that the Mac OS X finder was reporting a minimum
file size of 1Mb for files on Samba share.

After some searching, I found that the Samba server has an "allocation
roundup size" parameter that controls the file allocation reported to

The default 1Mb block size was chosen by Samba to improve performance of
Windows clients. Setting this value to zero in the smb.conf makes file
sizes be reported much more accurately!

"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org

More information about the samba-technical mailing list