Home > OS >  The content of the fdisk -l interpretation
The content of the fdisk -l interpretation

Time:10-28

I use Linux distributions is CentOS7.0 version later,
When using fdisk -l, print the result is as follows:
In my understanding, fdisk -l this command system, is to see how many a hardware store and partition,
Display format is + hardware storage partitions on the device,

Now in the printing result shows in the form of hardware storage devices in the Disk/dev/mapper/cl - root, Disk/dev/mapper/cl - swap, Disk/dev/mapper/cl - home of the three partitions information,
This is why? This is not my three equipment hardware, just one partition on my hard drive,
/root @ localhost ~ # fdisk -l

Disk/dev/sda: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units=sectors of 1 * 512=512 bytes
Sector size (logical/physical) : 512 bytes/512 bytes
I/O size (minimum/optimal) : 512 bytes/512 bytes
Disk label type: DOS
Disk identifier: 0 x000854b8

Device Boot Start End Blocks Id System
/dev/sda1 * 2048, 4196351, 2097152, 83 Linux
/dev/sda2, 4196352, 650135551, 322969600, 8 e Linux LVM

Disk/dev/mapper/cl - root: 107.4 GB, 107374182400 bytes, 209715200 sectors
Units=sectors of 1 * 512=512 bytes
Sector size (logical/physical) : 512 bytes/512 bytes
I/O size (minimum/optimal) : 512 bytes/512 bytes


Disk/dev/mapper/cl - swap: 8589 MB, 8589934592 bytes, 16777216 sectors
Units=sectors of 1 * 512=512 bytes
Sector size (logical/physical) : 512 bytes/512 bytes
I/O size (minimum/optimal) : 512 bytes/512 bytes


Disk/dev/mapper/cl - home: 214.7 GB, 214748364800 bytes, 419430400 sectors
Units=sectors of 1 * 512=512 bytes
Sector size (logical/physical) : 512 bytes/512 bytes
I/O size (minimum/optimal) : 512 bytes/512 bytes

CodePudding user response:

Not so used, I generally is fdisk -l [device] so used, such as fdisk - l/dev/sda

CodePudding user response:

The LVM partitions have been became a disk, you can use these as disk partitions
It is listed here for

CodePudding user response:

I also met the same question

CodePudding user response:

I am often use this command
  • Related