units of measurement in storage
When referring to storage capacities, there are two units of measurements:
- the multiples of 1024, where capacities are written using the IEC notation:
- 1 kiB = 1 K, one kibibyte
- 1 MiB = 1 M, one mebibyte
- 1 GiB = 1 G, one gibibyte
- 1 TiB = 1 T, one tebibyte
- etc.
- the multiples of 1000, which is also used in IT networking for communication speed, throughput or bandwidth. In this case, capacity values are written using this notation:
- 1 kB: one kilobyte
- 1 MB: one megabyte
- 1 GB: one gigabyte
- 1 TB: one terabyte
- etc.
Commands that use units of 1024 bytes: fdisk, lsblk, sfdisk, etc.