标签:dev end vdi soft success extend vol microsoft div
1.分区,
查看磁盘使用:fdisk -l
对磁盘分区:fdisk /dev/sdb
2.创建pv
pvcreate /dev/sdb1
查看pv: pvdisplay
3.查看vg
vgdisplay
--- Volume group ---
VG Name VolGroup00
4.扩容vg
vgextend VolGroup00 /dev/sdb1
Volume group "VolGroup00" successfully extended
5.检查vg
vgdisplay
6.查看lv
lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
7.扩容lv
lvextend /dev/VolGroup00/LogVol00 /dev/sdb1
8.查看lv
lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
9.扩容磁盘空间
扩容分区:resize2fs /dev/mapper/lv_root
查看: df -h
完成
标签:dev end vdi soft success extend vol microsoft div
原文地址:http://www.cnblogs.com/rzxiaojia/p/6603963.html