centos7扩展根分区

20-11-04 16:29 55  

``` fdisk /dev/sdb n p 3 t 8e w pvcreate /dev/sdb3 vgdisplay vgextend centos_mb-centos7 /dev/sdb1 lvextend -l +100%FREE /dev/mapper/centos_mb--centos7-root xfs_growfs /dev/mapper/centos_mb--centos7-root ```