添加一块新硬盘(查看硬盘信息)
fdisk -l

创建分区
fidsk /dev/sda

创建逻辑卷
pvcreate /dev/sda3
查看逻辑卷
pvdisplay

添加逻辑卷到逻辑组
vgextend cl /dev/sda
lv增加大小
lvresize -L +10G /dev/cl/root
xfs_growfs /dev/cl/root
fdisk -l
fidsk /dev/sda
pvcreate /dev/sda3
pvdisplay
vgextend cl /dev/sda
lvresize -L +10G /dev/cl/root
xfs_growfs /dev/cl/root
本文标题:磁盘扩容
本文链接:https://www.haomeiwen.com/subject/jktvnxtx.html
网友评论