1.fdisk -l 查看有几个分区
磁盘标识符:0x000c4984
设备 Boot Start End Blocks Id System
/dev/sda1 * 2048 2099199 1048576 83 Linux
/dev/sda2 2099200 83886079 40893440 8e Linux LVM
/dev/sda4 83886080 536870911 226492416 83 Linux
2,fdisk /dev/s