On 1/7/25 10:44, Dan Purgert wrote:
> On Jan 07, 2025, Stefan Monnier wrote:
>>> 8 TB is not that big. I have a external 18 TB drive. It is 18 TB in name
>>> only though! After fromating it with ext4 it only had 15TB of usuable
>>> space.
>>
>> 18TB "on paper" is usually 18 * 1000^4 bytes, so if you convert this
>> into "computer units" is ~16.37 * 1024^4 bytes.  If you then make an
>> ext4 filesystem on it with the customary 5% reserved for root, that gets
>> you down to 15.5TB, to which you also have to remove the space used by
>> inodes, so yes, probably about 15TB and of course, once you start
>> putting actual files ion the drive, additional space will be used by
>> directories and metadata.
>
> Now now, let's not derail a rant with facts :)
>
> That being said, I thought the variance from TB -> TiB was 10%; or have
> I gotten it backwards?

My intuition votes for 1-1000/1024 = 1-125/128 which is approximately 2.35%
but it's been wrong before.


Reply via email to