WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] is save and restore save?

To: "'Harald Kubota'" <hkubota@xxxxxxx>, "'Julian Hagenauer'" <chaosbringer@xxxxxx>
Subject: RE: [Xen-users] is save and restore save?
From: "Steffen Heil" <lists@xxxxxxxxxxxxxxx>
Date: Sun, 10 Sep 2006 20:36:19 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 10 Sep 2006 11:37:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45037603.5080905@xxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbUf6TzrY6tu1cTRLShH8kMR90rTwAiCjXw
Hi

> > xm create myvm
> > (now logging on an do some modifikations)
> > xm destroy myvm 
> > xm restore state.dat

> Since 'xm save' saves the memory and the state of the 
> machine, but not the disk, any changes on the disk and on 
> swap space is bad.

I think the same.

> However, if you do 'xm save', then do a snapshot from disks 
> (including swap), then 'xm create' again (which will have an 
> unclean filesystem just like after a crash), then 'xm 
> destroy' and then undo all the recent changes on disk and 
> swap (undo snapshot), THEN you can 'xm restore' that state again.
> Since memory is in the state.dat, and disk is unchanged 
> (curtesy of lvm snapshots), that's ok.

But it will not fullfill the purpose of "do some modifikations".

Regards,
  Steffen

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>