ArchipelProject / Archipel

XMPP Based Orchestrator
http://archipelproject.org
GNU Affero General Public License v3.0
802 stars 127 forks source link

[Disk IMG bakend] Expansion #606

Open gitouttahere opened 11 years ago

gitouttahere commented 11 years ago

Libvirt doesn't seem to handle volume expansion at all (even using storage pool).

We need to implement expansions for image backend file (using command lines... like truncate)

Or deal with lvm2 tools is there the disk is defined as block backend.

Nowaker commented 10 years ago

qcow2:

qemu-img resize image.qcow2 +10GB

raw: there are various ways to do that, see the comments http://www.larsen-b.com/Article/329.html

truncate -s +10G image.raw