This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] Xen 4.0 feature request

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen 4.0 feature request
From: "Eljas Alakulppi" <Buzer@xxxxxxxxx>
Date: Sun, 05 Jul 2009 17:48:49 +0300
Delivery-date: Sun, 05 Jul 2009 07:50:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <cd4e9f58149e6eed7ae8064cb05c8f45@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <c31e4ce433b93e42c510b70dd1a383df@xxxxxxxxxxxx> <4A4F927C.90806@xxxxxxxxxxxxx> <cd4e9f58149e6eed7ae8064cb05c8f45@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Opera Mail/9.63 (Win32)
If you want snapshots of the filesystem, use LVM. "xm save" takes snapshot of the domain's state (memory and such).

One secnario where xm save is useful: You need to reboot the Dom0, but want to restore DomUs back to how they were after reboot (really useful when your router is in DomU. Reboot is normally fast enough to get the router back up before the connections timeout).

-Eljas Alakulppi

On Sun, 05 Jul 2009 17:35:54 +0300, Enrico Valsecchi <admin@xxxxxxxxxx> wrote:

Do you know "xm save"?

Overmind # xm save
Error: 'xm save' requires between 2 and 3 arguments.

Usage: xm save [-c] <Domain> <CheckpointFile>

Save a domain state to restore later.
  -c, --checkpoint               Leave domain running after creating

I know xm save command....

I have make a snapshot with xm save -c, then I have delete some file in a
(complete remove /boot directory)
O.K., I'm shutdown domain and restore.

Result are that domain start, but does not are file deleted from me!

My little and stupid question are:

What do you do with this snapshot???????



Xen-users mailing list

Xen-users mailing list