标签:点击 e2fs ext3 exp ext centos lvm pre roo
lvm 扩容根目录
点击虚拟机-hard disk - expand disk -点击+号 增加G数
fdisk /dev/sda
n
p
3
回车
回车
w
mkfs -t ext3 /dev/sda3
pvcreate /dev/sda3
vgextend root /dev/sda3
lvextend -L+4.9G /dev/mapper/centos-root /dev/sda3
e2fsck -a /dev/mapper/centos-root
xfs_growfs /dev/mapper/centos-root
df -h
哦了
标签:点击 e2fs ext3 exp ext centos lvm pre roo
原文地址:https://www.cnblogs.com/sxgaofeng/p/13043689.html