Am I the only one who’s mini PC got 238 GB instead 256?
That’s normal. You have 256GB, but some of it gets taken up by the system OS, apps and personal files.
I see then. Thank you. (Don’t mind this I’m just putting some more characters because the system requires me to put 20 characters in this reply box)
I installed Ubuntu 22.04 Desktop on Celeron J4125 HeroBox.
This is the SSD partitioning:
hermann@j4125:~$ df /dev/sda?
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 523244 5364 517880 2% /boot/efi
/dev/sda2 244506940 14255044 217758840 7% /
hermann@j4125:~$
So likely a 250GB SSD:
pi@pi400-64:~ $ echo "(244506940+523244)*1024" | bc
250910908416
pi@pi400-64:~ $
No worries! It seems dishonest, but that’s how most HDD/SSDs advertise. Like HermannSW said, it’s probably around 250GB, but since it’s in “class” of 256GB SSDs, they just say it has that much even if it really doesn’t.
The advertised storage in SSD, HDD, USB Drives, etc is dont in a math like
Each 1000 bytes, they consider a Kilobyte, each 1000 KB, they consider a MB, etc.
While logically thinking, each 1024 bytes that actually are 1KB. This is common in the industry, this way they say it-s a 256GB based on 1000x math, while, the actual storage that is the one showed in the system, is based on the 1024x math
256bytes x 1000 x 1000 x 1000 = 256GB
256GB / 1024 /1024 / 1024 =238~ x 1000 x1000 x 1000 = 238GB
Just like americans measure distance in imperial units, called “miles”, the europeans measure distance in metric units called “kilometer”.
1 mile = 1.6 kilometer.
This resembles the difference in storage capacity: the hardware manufacturers(in this case SSD) measure 1GB as 1000MB, while the software manufacturers measure 1GB as 1024MB, hence the difference.
That SSD has 256GB in terms of hardware manufacturers(1GB = 1000MB) but not in software terms.