summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/tuning/maxdisksize.xml
blob: 8aebe919025769ef0240eaa20a8fdc2ef0c2184c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<samba:parameter xmlns:samba="http://samba.org/common">
		<term><anchor id="MAXDISKSIZE"/>max disk size (G)</term>
		<listitem><para>This option allows you to put an upper limit 
		on the apparent size of disks. If you set this option to 100 
		then all shares will appear to be not larger than 100 MB in 
		size.</para>

		<para>Note that this option does not limit the amount of 
		data you can put on the disk. In the above case you could still 
		store much more than 100 MB on the disk, but if a client ever asks 
		for the amount of free disk space or the total disk size then the 
		result will be bounded by the amount specified in <parameter moreinfo="none">max 
		disk size</parameter>.</para>

		<para>This option is primarily useful to work around bugs 
		in some pieces of software that can't handle very large disks, 
		particularly disks over 1GB in size.</para>

		<para>A <parameter moreinfo="none">max disk size</parameter> of 0 means no limit.</para>

		<para>Default: <command moreinfo="none">max disk size = 0</command></para>
		<para>Example: <command moreinfo="none">max disk size = 1000</command></para>
		</listitem>
		</samba:parameter>