search for: imageb

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

Did you mean: image
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
...estination 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 $dom transient $ virsh blockcopy $dom vda wrapB --shallow --reuse-external --pivot \ --verbose $ # commit the wrapper back into the piv...
2015 May 19
3
Re: Pivot without copy
...> 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 $dom transient > $ virsh blockcopy $dom vda wrapB --shallow --reuse-external --pivot \ > --verbose > $ # commit...
2015 May 19
0
Re: Pivot without copy
...gt; >> $ # 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 $dom transient >> $ virsh blockcopy $dom vda wrapB --shallow --reuse-external --pivot \ >> --ver...