This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
people:glen:vm-info [2013-08-06 23:01] glen main images are .box, .ova are symlink to them |
people:glen:vm-info [2013-08-07 23:47] glen [PLD Linux VM images] |
||
---|---|---|---|
Line 12: | Line 12: | ||
$ qemu-img convert -c -O qcow2 box-disk1.vmdk pld.qcow2 | $ qemu-img convert -c -O qcow2 box-disk1.vmdk pld.qcow2 | ||
</code> | </code> | ||
+ | |||
+ | ==== Grow a disk ==== | ||
+ | |||
+ | The VM contains 80GiB disk in LVM PV, default LVM allocation is rather minimal to get base packages installed and may be small when you actually copy files there. | ||
+ | |||
+ | To increase rootfs by 2GiB: | ||
+ | <code bash> | ||
+ | poldek -u xfsprogs | ||
+ | lvextend --size=+2G /dev/sys/rootfs | ||
+ | xfs_growfs / | ||
+ | </code> | ||
+ | |||
==== Contents ==== | ==== Contents ==== |