[Samba] Free disk space calculation with Samba 4.7 and macOS 10.13 - or in general

Klaus Hartnegg hartnegg at gmx.de
Thu May 17 12:49:05 UTC 2018


Am 15.05.2018 um 11:29 schrieb Götz Reinicke via samba:
> i noticed that the calculation of disk space is completely confusing and may be someone has an explanation?
> 
> My server is a Samba 4.7 on Centos with an xfs storage. Centos shows a 39T Storage (31T used, 8 T free)
> 
> My macOS Client connects to that storage (which is the share) and shows a 42 TB Storage and 33,25T used ….
> 
> I know that some systems calculate with a base of 1.000 bytes for a KB and some use 1.024, but is there any chance to get the numbers a bit closer?
> 
> In my case users think there is still more space available then it is in reality…

39 TiB = 42 TB.
Try "df -hH" in CentOS, then it should report correct space as well.



More information about the samba mailing list