Extend LVM on qcow2 images

From wikieduonline
Revision as of 11:33, 14 January 2020 by Welcome (talk | contribs)
Jump to navigation Jump to search



Process:

  • qemu-img resize c845ba080f2326a51c53965af1ac6c18 +3G
  • qemu-img info
  • Modify partition with: fdisk /dev/vdX + Reboot
  • pvresize /dev/vdX# (Expand a PV after enlarging the partition)
  • lvextend -L +1.8G /dev/mapper/VolGroup-lv_root
  • resize2fs /dev/mapper/VolGroup-lv_root


Activities

See also

Advertising: