Resizing a VM NethServer7 hosted by Proxmox
startx
to start the GUI# pvdisplay
to find the physical volume to grow (/dev/vda2 for me)# pvresize /dev/vda2
# lvdisplay
to find the logical volume to grow (/dev/VolGroup/lv_root for me)# lvresize -l +100%FREE /dev/VolGroup/lv_root
# xfs_growfs /dev/VolGroup/lv_root
(resize2fs
doesn't work because of the XFS files system)