Here is a real example of one of my systems.
Output of fdisk
Code:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
output of lsblk
Code:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 149.1G 0 disk
├─sda1 8:1 0 500M 0 part /boot
├─sda2 8:2 0 7.8G 0 part [SWAP]
└─sda3 8:3 0 140.8G 0 part /
output of df -h
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 477M 192M 260M 43% /boot
I don't have a disk with a single partition but this should illustrate my point. The manufactures size is 160 GB i.e base 10 as shown in the output of fdisk. However, the output of the lsblk and my screen shot of gparted shows 149.1 GiB. If you look at your screen shot in the upper right hand corner the size of the drive is posted i.e. /dev/sdb (931.51 GiB). This is the size of the entire drive not partition or filesystem. It just so happens that you have a single partition that uses its entire space.
Quote:
when you install a drive the the size you see before formatting is what you get. from their the file system does take a percentage of it for itself. try again.
|
Yes, a filesystem has overhead as metadata. You posted your screen shot but did not provide and explanation as to what you thought the numbers meant so I was guessing. A partition is a container nothing more and typically a filesystem uses the entire space of the partition.
Partition size = filesystem overhead + used space + unused space (as far as I know)
https://rwmj.wordpress.com/2009/11/0...data-overhead/
I really do not want to keep hijacking the thread and do not want to get in trouble by astrogeek. Any further discussion on this topic would need to be in another thread.