
Adding Timothy to the thread. Remove live snapshot is not supported yet, but it's in the roadmap. For now VM must be shut down before removing a snapshot. On 03/19/2013 07:11 PM, Gianluca Cecchi wrote:
On Tue, Mar 19, 2013 at 5:52 PM, wrote:
I can create a snapshot, but how can I revert it. Need to has the VM off?
I confirm that also in my oVirt 3.2.1 when the VM is running the "delete" is greyed out. I successfully tested that if I shutdown it, then I can complete snapshot deletion. during deletion
iotop: Total DISK READ: 31896.94 K/s | Total DISK WRITE: 30310.11 K/s PID PRIO USER DISK READ DISK WRITE> SWAPIN IO COMMAND 28654 idle vdsm 30555.40 K/s 30302.88 K/s 0.00 % 31.58 % qemu-img convert -t none -f qco~88a-40db-a9fb-619a6655c858_MERGE 2830 be/4 root 0.00 K/s 14.47 K/s 0.00 % 0.00 % libvirtd --listen 3141 be/3 vdsm 0.00 K/s 1.32 K/s 0.00 % 0.00 % python /usr/share/vdsm/vdsm 875 be/3 root 0.00 K/s 0.00 K/s 0.00 % 0.27 % [jbd2/dm-12-8] 2457 be/4 sanlock 1010.10 K/s 0.00 K/s 0.00 % 0.02 % sanlock daemon -U sanlock -G sanlock
ps: [root@f18ovn01 ~]# ps -ef| grep convert vdsm 28654 3141 5 18:00 ? 00:00:06 /usr/bin/qemu-img convert -t none -f qcow2 /rhev/data-center/5849b030-626e-47cb-ad90-3ce782d831b3/013bcc40-5f3d-4394-bd3b-971b14852654/images/43ca3bc4-fefc-43c5-8508-ad4d2599418b/77af271e-a88a-40db-a9fb-619a6655c858 -O raw /rhev/data-center/5849b030-626e-47cb-ad90-3ce782d831b3/013bcc40-5f3d-4394-bd3b-971b14852654/images/43ca3bc4-fefc-43c5-8508-ad4d2599418b/77af271e-a88a-40db-a9fb-619a6655c858_MERGE root 29211 25304 0 18:02 pts/0 00:00:00 grep --color=auto convert
I don't know how oVirt 3.2.1 is positioned vs rhev 3.1 but I found this:
- rhevm 3.1 manual is wrong in my opinion at page 139 section 8.9.3 because in create VM from snapshot it says: Ensure the status is Powered Down. and I think this is not true (possibly cut-n-paste from procedure 8.20 to 8.21 and forgetting to leave off the power down thing...)
- rhevm 3.1 at page 141 section 8.9.4 procedure 8.22 is not clear because it doesn't say if the VM has to be powered down for the snapshot to be deleted or can be running.... any information for both RHEVM 3.1 and oVirt 3.2.1 and snapshot deletion? Thanks for pointing that out, Timothy, perhaps you know who can help with that issue?
Gianluca