[pve-devel] create snapshots
Alexandre DERUMIER
aderumier at odiso.com
Wed Sep 5 07:58:50 CEST 2012
>>The idea is to save the state into an external file. That will work for all storage
>>types.
Great :) so it'll work for rbd or nexenta :)
>>Sorry, I do not understand what you mean?
When I have done tests with savevm, the qmp socket timeout each time during the vmstate save.
It's also take more time to take than using your vmstate file. (maybe because savevm write the state in the main volume and need to do space inside.).
>>qm start -stateuri <statefile>
Oh, yes, it should works. (like for migratation with statefile). I'll test that this morning.
----- Mail original -----
De: "Dietmar Maurer" <dietmar at proxmox.com>
À: "Alexandre DERUMIER" <aderumier at odiso.com>
Cc: pve-devel at pve.proxmox.com
Envoyé: Mercredi 5 Septembre 2012 07:50:55
Objet: RE: [pve-devel] create snapshots
> what is the statefile argument ?
> I thinked that the state was saved inside the (first) disk. (so vmstate is
> snapshoted and we can rollback it easily) Or it's for doing some tests ?
The idea is to save the state into an external file. That will work for all storage
types.
> I don't know if the vmstate is ok, but it seem faster to take than using the
> savevm command. (and also qmp socket don't timeout like with savevm)
Sorry, I do not understand what you mean?
> When I tried to use loadvm, it complain that state is not available.(So we
> need to hack loadvm too to use external statefile)
# qm start -stateuri <statefile>
should do the trick - but I have not tested that.
More information about the pve-devel
mailing list