This global option specifies an illusory limit, in megabytes, for each of the shares that Samba is using. You would typically set this option to prevent clients with older operating systems from incorrectly processing large disk spaces, such as those over one gigabyte.
The default value for this option is
0
, which means there is no upper limit at all. You can override it as follows:
[global]
max disk size = 1000