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

2013-06-26 Thread cmcc.dylan
I fixed it by calling directly libvirt API! At 2013-06-26 11:31:46,"cmcc.dylan" wrote: Thank you! But snapshot-create-as will traverse all disks of the virtual machine and create snapshots for all of them. In my case, I want to create snapshot for root disk. What's mor

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

2013-06-25 Thread cmcc.dylan
ify a single disk to snapshot. 在 2013-06-26 09:10:31,"Gao Yongwei" 写道: try snapshot-create-as like below: virsh snapshot-create-as vm --disk-only --diskspec "vda,snapshot=external" 2013/6/25 cmcc.dylan Hi, everyone, I have found the API snapshotCreateXML() can creat

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

2013-06-25 Thread cmcc.dylan
reate" ? I try "virsh snapshot-create domain_name snapshot.xml", but I report an error: error: unsupported configuration: disk 'vda' must use snapshot mode 'internal'. What's the probem? I feel crazy now. Could someone give me a sucessfule example? At 201

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

2013-06-25 Thread cmcc.dylan
e’s one. http://www.tldp.org/HOWTO/LVM-HOWTO/snapshots_backup.html From:libvirt-users-boun...@redhat.com [mailto:libvirt-users-boun...@redhat.com] On Behalf Of cmcc.dylan Sent: Saturday, June 22, 2013 11:13 AM To:libvirt-users@redhat.com Subject: [libvirt-users] snapshot-create-as for

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

2013-06-22 Thread cmcc.dylan
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

[libvirt-users] Live Migration Without Shared Storage

2013-06-19 Thread cmcc.dylan
I‘m very exited to hear that qemu has supported live migration without shared storage and I also have found some persons give their experiments, for example: (http://blog.allanglesit.com/2011/08/linux-kvm-management-live-migration-without-shared-storage/) # virsh migrate --live vmname qem