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

Götz Reinicke goetz.reinicke at filmakademie.de
Thu May 17 13:30:50 UTC 2018

> Am 17.05.2018 um 14:49 schrieb Klaus Hartnegg via samba <samba at lists.samba.org>:
> 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.

Thx. /G

More information about the samba mailing list