[libvirt-users] snapshot-create-as for a single disk not all disks

vonNieda, Adam (USMS) Adam.vonNieda at usdoj.gov
Mon Jun 24 15:22:47 UTC 2013


   I think what you're looking for is LVM snapshots. The whole purpose of taking VM snapshots is to have a consistent image of the machine as a whole. There's lots of articles out there on LVM snapshots, here's one.

   http://www.tldp.org/HOWTO/LVM-HOWTO/snapshots_backup.html

From: libvirt-users-bounces at redhat.com [mailto:libvirt-users-bounces at redhat.com] On Behalf Of cmcc.dylan
Sent: Saturday, June 22, 2013 11:13 AM
To: libvirt-users at redhat.com
Subject: [libvirt-users] snapshot-create-as for a single disk not all disks

Hi everyone!
   Is there any way to create snaphot for a single disk of a virtual machine. As I konw, "virsh snapshot-create-as domain_name  snapshot_name --disk-only" traverses all block devices to create snapshot. However I don't want to create snapshot except for root partition.
  The version of qemu and libvirt I used is as follows:
                qemu-1.4.2 and libvrit-0.10.2
  I meet an error when I delete the snapshot which is created by "snapshot-create-as" command. whether or not qemu(1.4.2) and libvirt(0.10.2) don't support the function currently.

   Look forward to your help!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130624/438a166b/attachment.htm>


More information about the libvirt-users mailing list