summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/tuning/strictallocate.xml
blob: 7b33ef3fc3ad847c2bb3169f9ad3409fc38cfea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<samba:parameter xmlns:samba="http://samba.org/common">
		<term><anchor id="STRICTALLOCATE"/>strict allocate (S)</term>
		<listitem><para>This is a boolean that controls the handling of 
		disk space allocation in the server. When this is set to <constant>yes</constant> 
		the server will change from UNIX behaviour of not committing real
		disk storage blocks when a file is extended to the Windows behaviour
		of actually forcing the disk system to allocate real storage blocks
		when a file is created or extended to be a given size. In UNIX
		terminology this means that Samba will stop creating sparse files.
		This can be slow on some systems.</para>

		<para>When strict allocate is <constant>no</constant> the server does sparse
		disk block allocation when a file is extended.</para>

		<para>Setting this to <constant>yes</constant> can help Samba return
		out of quota messages on systems that are restricting the disk quota
		of users.</para>

		<para>Default: <command moreinfo="none">strict allocate = no</command></para>
		</listitem>
		</samba:parameter>