- fdisk from util-linux-2.23.2-33.el7_3.2.x86_64
- parted from parted-3.1-28.el7.x86_64
- /dev/xvdb 75G
- Created 4 partitions
- Partitions 1,2,3 part of LVM
- Partition 1,2 on vg0
- Partition 3 on vg1
# fdisk -l
Disk /dev/xvda: 21.5 GB, 21474836480 bytes, 41943040 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: 0x000c0877
Device Boot Start End Blocks Id System
/dev/xvda1 * 2048 41943039 20970496 83 Linux
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/xvdb: 80.5 GB, 80530636800 bytes, 157286400 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: gpt
# Start End Size Type Name
1 2048 19531775 9.3G Microsoft basic primary
2 19531776 39061503 9.3G Microsoft basic primary
3 39061504 78125055 18.6G Microsoft basic primary
4 78125056 157284351 37.8G Microsoft basic primary
Disk /dev/mapper/vg0-test0: 20.0 GB, 19990052864 bytes, 39043072 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/vg1-test1: 10.7 GB, 10737418240 bytes, 20971520 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
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg1-test1: 10.7GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 10.7GB 10.7GB ext4
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/vg0-test0: 20.0GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 20.0GB 20.0GB xfs
Model: Xen Virtual Block Device (xvd)
Disk /dev/xvda: 21.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 21.5GB 21.5GB primary ext4 boot
Model: Xen Virtual Block Device (xvd)
Disk /dev/xvdb: 80.5GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 10.0GB 9999MB primary
2 10.0GB 20.0GB 9999MB primary
3 20.0GB 40.0GB 20.0GB primary
4 40.0GB 80.5GB 40.5GB fat32 primary