search for: wrapb

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

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
...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 pivoted base $ virsh blockcommit $dom vda --shallow --active --verbose --pivot $ # delete the temporaries $ rm...
2015 May 19
3
Re: Pivot without copy
...nly \ > --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 pivoted base > $ virsh blockcommit $dom vda --shallow --active --verbose --pivot > $...
2015 May 19
0
Re: Pivot without copy
...pec 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 pivoted base >> $ virsh blockcommit $dom vda --shallow --active --ver...