1. Proxmox - choose VM - Hard Disk - Resize
2. Login to your Centos 7 KVM
2. Login to your Centos 7 KVM
as root
fdisk -l
fdisk /dev/sda
Check what have we doneCommand (m
for
help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): Enter for default
First cylinder (2321156-334240465,
default
2321156
): Enter
Last cylinder, +cylinders
or
+size{K,M,G} (
2321156-334240465
,default
334240465
): Enter
Command (m
for
help): w
fdisk -l /dev/sda
3.
Reboot your VM
pvcreate /dev/sda3
Physical volume
"/dev/sda3"
successfully created
show
volume group details
vgs
and
logical volume details
lvs
vgextend VolGroup /dev/sda3
Check Free PE
vgdisplay
df -h
lvextend -L +100G
/dev/mapper/SangomaVG-root # +100G is Free PE
xfs_growfs /dev/mapper/SangomaVG-root
Комментариев нет:
Отправить комментарий