[virt-tools-list] clone with copy-on-write image

Eric Blake eblake at redhat.com
Mon Jun 6 20:55:37 UTC 2011


On 06/06/2011 01:48 PM, Florian Lindner wrote:
> Hellio,
> 
> What is the way to achieve something like that:
> 
> I want to mount an existing partition /dev/sdX from within a virtual machine. 
> If possible I don't want to clone the partition but rather use it like a 
> template and just record the writes (or maybe simply discard them).

Sounds like a perfect use case for a qcow2 file with /dev/sdX as the
backing file.

https://rwmj.wordpress.com/2011/06/03/tip-using-a-backing-file-to-record-file-and-registry-changes-part-1/

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20110606/547bdbba/attachment.sig>


More information about the virt-tools-list mailing list