lvremove /dev/VolGroup00/LogVo103 //移除逻辑卷 LogVo103
vgdisplay //查看VolGroup00 卷组的信息
--- Volume group ---
VG Name VolGroup00 //卷组名
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 7
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 3
Max PV 0
Cur PV 1
Act PV 1
VG Size 136.00 GB //整个卷组的大小
PE Size 32.00 MB //PE大小
Total PE 4352 //PE的个数
Alloc PE / Size 4352 / 136.00 GB PE总数/卷组大小
Free PE / Size 1319 / 44.01GB //剩余PE数量/卷组剩余空间
VG UUID 6Dzywc-RyhK-eoA6-23Ha-CblO-ZhpK-lFskV1
#lvextend -l +1319 /dev/VolGroup00/LogVo102 //lvextend添加空闲的1319个PE
#lvextend -L +44.01G /dev/VolGroup00/LogVo102 //和上面的命令效果一样
#resize2fs /dev/VolGroup00/LogVo102 //开始扩充逻辑卷 LogVo102
#cat /etc/fstab //删除里面之前的逻辑卷LogVo103 的信息