[root@tangtang tmp]# fdisk -l
Disk /dev/vda:107.4GB,107374182400 bytes,209715200 sectors
Units = sectors of1*512=512 bytes
Sector size(logical/physical):512 bytes /512 bytes
I/Osize(minimum/optimal):512 bytes /512 bytes
Disk label type: dos
Disk identifier:0x000ad887
Device Boot Start End Blocks Id System
/dev/vda1 *20482099199104857683 Linux
/dev/vda2 20992002097151994361608e Linux LVM
1.2 增加新分区 /dev/vda3 ,格式为 LVM
[root@tangtang tmp]# fdisk /dev/vda
Welcome to fdisk(util-linux 2.23.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.Command(m for help): n
Partition type:
p primary(2 primary,0 extended,2 free)
e extended
Select(default p):
Using default response p
Partition number(3,4,default3):
First sector(20971520-209715199