Extend LVM on qcow2 images

From wikieduonline
Revision as of 09:36, 2 January 2020 by Welcome (talk | contribs) (Created page with "* Follow https://www.technomenace.com/2014/08/how-to-extend-lvm-on-qcow2-images/ * <code>qemu-img resize c845ba080f2326a51c53965af1ac6c18 +3G</code> * Modi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


  • qemu-img resize c845ba080f2326a51c53965af1ac6c18 +3G
  • 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


See also

Advertising: