From: Brendan Cully Subject: Re: Does XEN have any hot backup/snapshot features or plan? Date: Sun, 5 Apr 2009 17:24:41 -0700 Message-ID: <20090406002441.GE53590@zanzibar.kublai.com> References: <49D942F6.6030400@hongo.wide.ad.jp> <20090405235450.GD53590@zanzibar.kublai.com> <49D949E8.80105@hongo.wide.ad.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <49D949E8.80105@hongo.wide.ad.jp> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: zign Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Monday, 06 April 2009 at 09:16, zign wrote: > Mr Brendan Cully, > Thank you for your fast reply! > LVM + checkpoint sounds reasonable, but there is problem: > if the storage and the MEM checkpoint are not saved in the > very same time, I am not sure if this is a "correct" snapshot. > You mentioned something about the migration hook that can tie > the MEM checkpoint and the LVM snapshot together. Can this > migration hook ensure that there is no "time-shift" between the > MEM and storage? As you say, the memory and disk images must be synchronized, and you can use the external device migration hook to do it. I posted some demo (that is, not production!) code to do it here: http://lists.xensource.com/archives/html/xen-devel/2006-12/msg00685.html But I haven't looked at this problem in quite some time.