pvcreate            /dev/sdb1

查看 pvs       pvdisplay  /dev/sdb1

vgcreate   vgname /dev/sdb1

                -s   指定pe大小  默认是4M

vgdisplay vgname

 

vgextend vgname /dev/sdb3  扩大vg

resize2fs

 

vgreduce

vgremove

 

lvcreate -n lvmname -L 200M vgname

lvs

lvdisplay /dev/vgname/lvname

mke2fs -j /dev/vgname/lvname

mount /dev/vgname/lvname   挂载点

卸载

umount  挂载点

lvreduce /dev/vgname/lvname