Add new framework for smb.conf(5). Please read README before trying to compile.
[Samba/gebeck_regimport.git] / docs / docbook / smbdotconf / tuning / strictallocate.xml
blob7b33ef3fc3ad847c2bb3169f9ad3409fc38cfea9
1 <samba:parameter xmlns:samba="http://samba.org/common">
2                 <term><anchor id="STRICTALLOCATE"/>strict allocate (S)</term>
3                 <listitem><para>This is a boolean that controls the handling of 
4                 disk space allocation in the server. When this is set to <constant>yes</constant> 
5                 the server will change from UNIX behaviour of not committing real
6                 disk storage blocks when a file is extended to the Windows behaviour
7                 of actually forcing the disk system to allocate real storage blocks
8                 when a file is created or extended to be a given size. In UNIX
9                 terminology this means that Samba will stop creating sparse files.
10                 This can be slow on some systems.</para>
12                 <para>When strict allocate is <constant>no</constant> the server does sparse
13                 disk block allocation when a file is extended.</para>
15                 <para>Setting this to <constant>yes</constant> can help Samba return
16                 out of quota messages on systems that are restricting the disk quota
17                 of users.</para>
19                 <para>Default: <command moreinfo="none">strict allocate = no</command></para>
20                 </listitem>
21                 </samba:parameter>