Hi Sanjeev, As I understand it from a cloudstack prospective it will work per disk. This error is returned because the KVM snapshot command (of which i can't remember the name of at this time), takes control of the VM state because the VM is paused while part of the copy is taking place.
It may be worth looking into libvirt and KVM to see if multiple volumes can be snapshot'ed at the same time and if so suggesting it through the appropriate cloudstack channels to be an implemented feature, this would be something I would be looking for and willing to implement if its possible on the underlying hypervisor and the community agrees. Marty On Wednesday, August 14, 2013, Sanjeev Neelarapu wrote: > Hi, > > This regarding snapshot process in KVM. Does libvirt allow creating > snapshots on two disks of a vm at the same time? > I have deployed a vm with root and data disk. Configured recurring > snapshot policies on both root disk and data disk and snapshot process > triggered on both the disks with difference of 1 sec. > But one of them failed with libvirt exception: > Failed to manage snapshot: org.libvirt.LibvirtException: Timed out during > operation: cannot acquire state change lock > > Is this expected? If yes could you specify the reason for my understanding? > > Thanks, > Sanjeev >