I tried to copy 800GB of data to my unRAID server but got the message that the data would not fit even though i had 2TB free. Because d efault: allocation roundup size = 1048576 creates problems in shares when trying to copy files and reports wrong size used in Windows. I can confirm this change works! This should be a setting that is made in unRAID when it is installed. Some of you please add this line to your nf file (Settins/SMB Settings/SMB Extras):
Often there are doc errors in Samba so if we set this thing to 4K it may or may not result less 'improved Windows client performance.' The integer parameter specifies the roundup size in bytes.ĭefault: allocation roundup size = 1048576Įxample: allocation roundup size = 0 # (to disable roundups) If the MS Visual Studio compiler starts to crash with an internal error, set However, rounding the allocation size may cause difficulties for some applications, e.g. The default size of 1Mb generally results in improved Windows client performance. This parameter allows an administrator to tune the allocation size reported to WindowsĬlients. The problem stems from this Samba parameter: This value is being reported by Samba wrong and because of it, if you check the properties of directory it can get wildly invalid, eg, 40MB of small files shows up as 1.5GB on disk.