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] domU snaphots

To: "Marcel Lanz" <marcel.lanz@xxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] domU snaphots
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 30 Mar 2005 08:53:49 +0100
Cc: ian.pratt@xxxxxxxxxxxx
Delivery-date: Wed, 30 Mar 2005 07:54:00 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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: AcU09naLHbLGLX7wRteO6ZK2hYafmwABk05Q
Thread-topic: [Xen-users] domU snaphots
> If I see the xen migrate/save of a domain, why not copy the 
> domain with its disks ? 

It easy to add this functionality, and its on the todo list.

Because of the live migrate code in xc_linux_save, it will be possible
to take a checkpoint of a domain without actually stopping it (well,
probably not for more than a few 10s of ms).

The only difficulty (which is why we haven't done it yet) is that it
requires a bit of co-ordination with LVM to create a snapshot of the
VM's file system at the synchronization point. This require a bit of
xend hacking to invoke LVM at the appropriate point. No more than a
couple of hours work for someone that knows xend.
(It's probably best to have xm checkpoint receive the name of the LVM
volume it should snapshot the filesystem to on the command line, to
avoid having to worry about allocaitng one). 

Ian

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>