3 ms·
Except that's not how it's stored on the disk itself. All of the sectors on your drives are in base 2. 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 sector sizes...
by techrat 5y ago
Except that's not how it's stored on the disk itself. All of the sectors on your drives are in base 2.
2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 sector sizes...
So even if your files are 200GB, the actual space they consume are not base 10 as you count on your storage cluster, but 200GB plus the last remaining sector that is used but unfilled as the rest of that sector cannot be used by another file.
You can count your sizes in Base 10 but the actual use of space is still Base 2.
If a file is exactly 1000 bits and your sector sizes are 1024... that 1000 bit file is using 1024 bits of space on that drive.
And no, just because they advertise or display drives as having 1,000,000 Bytes = 1MB... it doesn't change how space is sectored out on that drive itself.
- Symbiote 5y agoA 200,000,000B file vs 200,000,512B makes essentially no difference when purchasing hardware, planning storage, moving data, sizing systems etc. Someone telling me a file is 200MB when they mean 200MiB (210MB) can make a difference, which is why we should strive for accuracy.