Resources

Instructions

  1. Identify partitions with the lsblk command
  2. Determine the volume group you want to extend using the vgs and vgdisplay commands
  3. Determine the logical volumes using lvs command
  4. Determine the mapping of the logical volume (/dev/[VG-NAME]/[lv name])
  5. Extend the partition (cfdisk)
  6. Extend the physical volume:
pvresize /dev/sd[your partition]
  1. Extend the logical volume :```
lvextend -r -l +100%FREE /dev/mapper/VG-NAME --lv NAME
  1. (Possibly) Extend the file system (varies by file system type):
  • XFS:
xfs_growfs /dev/mapper/VG-NAME --lv name

Extend a Proxmox VM Disk

  • In the virtual machine hardware tab, select the disk you wish to resize and click “Disk Action” then “Resize”