LVM test

Did some LVM test, recorded the procedure, I have a disk having space as 160G,  showing as: [root@localhost ~]# fdisk -l Disk /dev/sda: 160.0 GB, 160041885696 bytes, 312581808 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: 0x210edd27 Device Boot      Start         End      Blocks   Id  System /dev/sda1            2048    83891429    41944691   82  Linux swap / Solaris /dev/sda2        83891430   167782859    41945715    7  HPFS/NTFS/exFAT /dev/sda3       167782860   251674289    41945715    7  HPFS/NTFS/exFAT /dev/sda4       251674290   312576704    30451207+   c  W95 FAT32 (LBA) 1, create a VG(volume group), the PE(physical extend) as 16M, name as xiongvg, then add the sda4