注: 此文章只做参考
扩容home分区
创建pv
pvcreate /dev/sdb1
扩容vg
vgextend centos-home /dev/sdb1
扩容lv
vg剩余空间全部使用
lvextend -l +100%FREE /dev/mapper/cetnos-home
指定使用多少空间
lvextend -L +100G /dev/mapper/centos-home
扩容文件系统
ext4格式
resize2fs /dev/mapper/cetnos-home
xfs格式
xfs_growfs /dev/mapper/cetnos-home
helloworld
Highly descriptive post, I liked that bit. Will there be a part 2?
helloworld
You ought to be a part of a contest for one of the best sites on the net.
I am going to highly recommend this website!