Click here for "Safe Air Conditioner Repair and Proper Freon Recovery".(Japanese Version)

Display the partition table

Display the partition table

To view the partition table, run the fdisk command with the "-l" option.

To run the fdisk command, you will need root privileges.

[root@Lion ~]# fdisk -l

Disk /dev/sda: 120.0 GB, 120040980480 bytes, 234455040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O Size (minimum / recommended): 512 bytes / 512 bytes
Disk label type: dos
disk identifier: 0x000a51a9

Device Boot Start    End       block     Id system
/dev/sda1 * 2048 2099199 1048576 83 Linux
/dev/sda2 2099200 234455039 116177920 8e Linux LVM

Disk /dev/mapper/centos_Lion-root: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum / recommended): 512 bytes / 512 bytes

Disk /dev/mapper/centos_Lion-swap: 4160 MB, 4160749568 bytes, 8126464 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (logical/physical): 512 bytes / 512 bytes

Disk /dev/mapper/centos_Lion-home: 61.1 GB, 61111009280 bytes, 119357440 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (logical/physical): 512 bytes / 512 bytes

Disk /dev/sdb: 268 MB, 268435456 bytes, 524288 sectors
Units = sectors of 1 * 512 = 512 
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (logical/physical): 512 bytes / 512 bytes
Disk label type: dos
disk identifier: 0x00000046

Device Boot Start    End       block     Id system
/dev/sdb1 63 514079 257008+ c W95 FAT32 (LBA)

Copied title and URL