[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13561256#comment-13561256
 ] 

Fang Wang commented on CLOUDSTACK-732:
--------------------------------------

Internal snapshot works, bot not the external snapshot with --disk-only option. 

1.  Internal snapshot:
virsh # snapshot-list i-2-16-VM
 Name                 Creation Time             State
------------------------------------------------------------

virsh # snapshot-create i-2-16-VM
Domain snapshot 1358984012 created
virsh # snapshot-list i-2-16-VM
 Name                 Creation Time             State
------------------------------------------------------------
 1358984012           2013-01-23 18:33:32 -0500 running

2. External snapshot create fails:
virsh # snapshot-create i-2-16-VM --disk-only
error: operation failed: Failed to take snapshot: unknown command: 
'snapshot_blkdev'


                
> Add back KVM snapshot support
> -----------------------------
>
>                 Key: CLOUDSTACK-732
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-732
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: KVM
>    Affects Versions: 4.0.0
>         Environment: RHEL 6.3
>            Reporter: edison su
>            Assignee: Fang Wang
>            Priority: Critical
>             Fix For: 4.1.0
>
>
> In the latest KVM(on both RHEL 6.3 and Ubuntu 12.04), it supports external 
> snapshot. We need to investigate the status of external snapshot, as far as I 
> know, it still doesn't support disk-only snapshot(taking snapshot will pause 
> VM for a long time, e.g. few minutes). 
> 1. testing external snapshot: take an external snapshot instead of default 
> qcow2 internal snapshot, then back it up into backup storage. Only need to 
> test with libvirt snapshot API, if it works, then works, no need to hack on 
> the qemu-kvm.
> 2. test how long it will pause a VM during taking snapshot. from link [2] and 
> [3], only qemu-kvm-rhev supports disk-only snapshot, not sure ubuntu 12.04 
> supports it or not. We need to investigate on the issue.
> If item 1 and item 2(disk-only snapshot) works, then we can support default 
> kvm qcow2 snapshot again.
> The link: 
> [1] 
> http://kashyapc.wordpress.com/2011/10/04/snapshotting-with-libvirt-for-qcow2-images/
> [2] 
> http://www.linux-kvm.com/content/first-look-virtual-machine-online-disk-snapshots-coming-fedora-18
> [3] http://www.redhat.com/archives/libvir-list/2012-July/msg00782.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to