Hi, Fang 1. Yes, There is a global config limit for the max snapshots each vm can take, default is 10 2. Yes, parent and current snapshot is updated when any vm snapshot operation is taken. 3. It is not allowed to attach or detach any volumes if the VM already has some vm snapshots, you can refer to the related discussion in http://mail-archives.apache.org/mod_mbox/incubator-cloudstack-dev/201208.mbox/%3cc66c814c1abfa8449ff65cb44953a8b4012cb9b1e...@sjcpmailbox01.citrite.net%3E
Regards Mice Hi Mice, > > Thanks for the doc. I have couple of questions: > 1. Do you set a upper limit on how many VM snapshots can be created on a > VM / cluster? > 2. If we have 3 vm snapshots, > A > | > B > \ > C where A is the parent of B and B is parent of C. > If we remove B, do we update the parent snapshot for C? > > 3. between B and C, there are some disks removed from the VM; we take > snapshot C. > When we want to revert back to snapshot B, how do you handle the disks > missing? > > Thanks, > -Fang > > > -----Original Message----- > From: Mice Xia [mailto:mice_...@tcloudcomputing.com] > Sent: Sunday, November 18, 2012 7:23 PM > To: cloudstack-dev@incubator.apache.org > Subject: VM Snapshot progress update > > Hi, Folks, > > Sorry for the late update. I have been busy recently and haven’t updated > this for awhile. > Yesterday I re-created vm-snapshot branch based on 4.0 branch and > submitted refactorred codes with KVM support. > Now the major parts have been done, and because this touches CS core, I > would like to welcome any suggestion, design/code review, tests and > feedbacks of all forms. > > [Document] > For a complete updated spec/design document, please see > https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots > > [Progress] (tested with simple scenario) Xenserver Free/Enterprise support > VMware support KVM support UI > > [TBD] > Resource Limit > VM snapshot allocation size stat > Usage > > [How to test] > 1.please notice KVM needs a modified libvirt.jar (thanks Wido for > providing it), to make KVM VM snapshot work properly, it is required to > replace the old libvirt-0.4.9.jar with this one. > http://people.apache.org/~mice/libvirt-0.4.9.jar > > 2.to test VMware support, apply Rohit’s 4.0 nonoss patch before > compile/build > http://bhaisaab.org/patches/cloudstack/0001-BUILD-Make-CloudStack-buildable-with-nonoss-libs.patch > > http://bhaisaab.org/patches/cloudstack/0002-BUILD-nonoss-libs-for-CloudStack.patch > > 3.use Ant/Maven to build/debug, same with 4.0. > > Regards > Mice >