admin

centos7 硬盤擴展手記

fdisk /dev/sda

新建分區

pvcreate /dev/sda3

pvdisplay

vgdisplay

vgextend /dev/mapper/rhel /dev/sda3

vgdisplay

lvextend -L +51.99G /dev/mapper/rhel

lvextend -L +51.99G /dev/mapper/rhel-root

lvdisplay /dev/mapper/rhel-root

vgdisplay

xfs_growfs /dev/mapper/rhel-root


#1樓
發帖時間:7月前   |   查看數:0   |   回復數:0
游客組
?