Quantcast
Channel: Active questions tagged fdisk+filesystems - Super User
Viewing all articles
Browse latest Browse all 6

fdisk -l + why fdisk show diff size from real disk size [duplicate]

$
0
0

fdisk -l show the following os disk size

 fdisk -lDisk /dev/sda: 247.0 GB, 246960619520 bytes, 482344960 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk label type: dosDisk identifier: 0x00005995   Device Boot      Start         End      Blocks   Id  System/dev/sda1   *        2048     2099199     1048576   83  Linux/dev/sda2         2099200   482344959   240122880   8e  Linux LVM

when lsblk show that

lsblkNAME               MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTsda                  8:0    0  230G  0 disk├─sda1               8:1    0    1G  0 part /boot└─sda2               8:2    0  229G  0 part

so disk is really 230G , but why lsblk show 247.0 GB ?


Viewing all articles
Browse latest Browse all 6

Trending Articles