search for: wrapa

Displaying 4 results from an estimated 4 matches for "wrapa".

Did you mean: wrap
2015 May 19
2
Pivot without copy
Hi, Is it possible to "pivot" to a new image without doing blockcopy or blockpull? I know how to use snapshots and blockpull to create a new image and pivot to using it live, but what I would like to do is to have a VM switch from using imageA.qcow2 to image2.qcow2 while running. I don't see why this wouldn't be possible since some of the existing libvirt tools can do this when
2015 May 19
0
Re: Pivot without copy
...ith new enough libvirt and qemu, the ideal pivot uses snapshot-create, blockcopy, and active blockcommit, and lets you pivot to any destination format (does not have to be qcow2). Roughly: $ # create a qcow2 wrapper $ virsh snapshot-create-as $dom --no-metadata --disk-only \ --diskspec vda,file=wrapA $ # copy the backing file to the pivot location, ideally \ taking advantage of faster-than-cp methods $ $your_cool_cp imageA imageB $ # create a destination qcow2 file $ qemu-img create -f qcow2 -obacking_file=imageB,backing_fmt=$fmt wrapB $ # block copy - note below that you may need to make $do...
2015 May 19
3
Re: Pivot without copy
...gt; the ideal pivot uses snapshot-create, blockcopy, and active blockcommit, > and lets you pivot to any destination format (does not have to be > qcow2). Roughly: > > $ # create a qcow2 wrapper > $ virsh snapshot-create-as $dom --no-metadata --disk-only \ > --diskspec vda,file=wrapA > $ # copy the backing file to the pivot location, ideally \ > taking advantage of faster-than-cp methods > $ $your_cool_cp imageA imageB > $ # create a destination qcow2 file > $ qemu-img create -f qcow2 -obacking_file=imageB,backing_fmt=$fmt wrapB > $ # block copy - note below...
2015 May 19
0
Re: Pivot without copy
...snapshot-create, blockcopy, and active blockcommit, >> and lets you pivot to any destination format (does not have to be >> qcow2). Roughly: >> >> $ # create a qcow2 wrapper >> $ virsh snapshot-create-as $dom --no-metadata --disk-only \ >> --diskspec vda,file=wrapA >> $ # copy the backing file to the pivot location, ideally \ >> taking advantage of faster-than-cp methods >> $ $your_cool_cp imageA imageB >> $ # create a destination qcow2 file >> $ qemu-img create -f qcow2 -obacking_file=imageB,backing_fmt=$fmt wrapB >> $ #...