setting allocation size in cifs/smb3

Jeremy Allison jra at
Tue Jul 22 18:07:14 MDT 2014

On Mon, Jul 21, 2014 at 02:41:58PM -0500, Steve French wrote:
> To Windows 8.1 it appears to round to 4K boundaries when shrinking but
> also not extend the allocation size when allocating beyond end of file
> as the documentation would imply

You can make Samba do the same as Windows by setting:

allocation roundup size

to 4k.

More information about the samba-technical mailing list