Re: [pve-devel] rollback timeout

2012-09-19 Thread Dietmar Maurer
# time qm rollback 115 test2 command '/usr/bin/qemu-img snapshot -a test2 /var/lib/vz/images/115/vm- 115-disk-1.qcow2' failed: got timeout I set the timeout to 30 seconds now - this should be long enough. ___ pve-devel mailing list

Re: [pve-devel] rollback timeout

2012-09-19 Thread Alexandre DERUMIER
sorry, I dind't see that I have set 1 second timeout I'll check other storage plugins - Mail original - De: Dietmar Maurer diet...@proxmox.com À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com Envoyé: Mercredi 19 Septembre 2012 08:56:49 Objet: RE: [pve-devel]

[pve-devel] snapshot gui, wrong Now location after rollback

2012-09-19 Thread Alexandre DERUMIER
I have simple test snap1 |- snap2 |- now now rollback to snap1 tree show snap1 |- snap2 |- now It should be snap1 |- snap2 | |- now ___ pve-devel mailing list pve-devel@pve.proxmox.com

Re: [pve-devel] snapshot gui, wrong Now location after rollback

2012-09-19 Thread Alexandre DERUMIER
oops,forget what I say, the location is correct. (I'm too tired ;) - Mail original - De: Alexandre DERUMIER aderum...@odiso.com À: pve-devel@pve.proxmox.com Envoyé: Mercredi 19 Septembre 2012 11:43:29 Objet: [pve-devel] snapshot gui, wrong Now location after rollback I have simple

Re: [pve-devel] snapshot gui, wrong Now location after rollback

2012-09-19 Thread Dietmar Maurer
btw, there is a bug in the '-loadstate' code - trying to fix that now. -Original Message- From: pve-devel-boun...@pve.proxmox.com [mailto:pve-devel- boun...@pve.proxmox.com] On Behalf Of Alexandre DERUMIER Sent: Mittwoch, 19. September 2012 11:45 To: pve-devel@pve.proxmox.com

Re: [pve-devel] snapshot gui, wrong Now location after rollback

2012-09-19 Thread Alexandre DERUMIER
btw, there is a bug in the '-loadstate' code - trying to fix that now. Ok. I see 2 other points: I'm trying to rollback with vmstate,works fine, but I need to resume the vm after the rollback. (I have the last qemu-server git with the continue VM after snapshot rollback commit). I have

[pve-devel] [PATCH] qcow2 : preallocate metadatas at file creation

2012-09-19 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier aderum...@odiso.com --- PVE/Storage/Plugin.pm |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm index 92a5978..4e6cac7 100644 --- a/PVE/Storage/Plugin.pm +++ b/PVE/Storage/Plugin.pm @@ -427,7

Re: [pve-devel] snapshot gui, wrong Now location after rollback

2012-09-19 Thread Dietmar Maurer
sorry - fixed -Original Message- From: Alexandre DERUMIER [mailto:aderum...@odiso.com] Sent: Mittwoch, 19. September 2012 12:23 To: Dietmar Maurer Cc: pve-devel@pve.proxmox.com Subject: Re: [pve-devel] snapshot gui, wrong Now location after rollback # make perl -I. ./qm

[pve-devel] some qcow2 and rbd snapshots tests

2012-09-19 Thread Alexandre DERUMIER
I have tested qcow2, seem to works fine now, snap/rollback with or without vmstate. rbd : snapshot works fine, with vmstate too. but rollback with vmstate , give timeout after rollback when vm is starting. Maybe loadvm doesn't work, I don't know if the vmstate is correctly save or not. rbd

Re: [pve-devel] some qcow2 and rbd snapshots tests

2012-09-19 Thread Dietmar Maurer
rbd : snapshot works fine, with vmstate too. but rollback with vmstate , give timeout after rollback when vm is starting. Maybe loadvm doesn't work, I don't know if the vmstate is correctly save or not. vmstate can be large, so I guess I need to give longer timeout for load. Also save can

Re: [pve-devel] nexenta rollback problems.

2012-09-19 Thread Alexandre DERUMIER
response from nexenta: Hello, Your case # 00014435: commstar : keep the disk guid after unmap/remap a lun (sa-api) has been updated as follows: Alexandre, There is no way to do this via SA-API . The only way to do it is via bash you as mentioned . #stmfadm create-lu -p guid=* LUN

Re: [pve-devel] nexenta rollback problems.

2012-09-19 Thread Dietmar Maurer
Your case # 00014435: commstar : keep the disk guid after unmap/remap a lun (sa-api) has been updated as follows: Alexandre, There is no way to do this via SA-API . The only way to do it is via bash you as mentioned . Our current code use delete_lu/import_lu, and that does not change

Re: [pve-devel] [PATCH] qcow2 : preallocate metadatas at file creation

2012-09-19 Thread Dietmar Maurer
applied, thanks -Original Message- From: pve-devel-boun...@pve.proxmox.com [mailto:pve-devel- boun...@pve.proxmox.com] On Behalf Of Alexandre Derumier Sent: Mittwoch, 19. September 2012 12:20 To: pve-devel@pve.proxmox.com Subject: [pve-devel] [PATCH] qcow2 : preallocate metadatas at

Re: [pve-devel] nexenta rollback problems.

2012-09-19 Thread Dietmar Maurer
oh, do you tried import_lu ? is it working ? I works for me, so I already committed that code. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel