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-devel

Re: [Xen-devel] consistent LVM snapshot of domUs from dom0

To: "Nikola Ciprich" <extmaillist@xxxxxxxxxxx>
Subject: Re: [Xen-devel] consistent LVM snapshot of domUs from dom0
From: "Mike Sun" <msun@xxxxxxxxxx>
Date: Sat, 8 Dec 2007 17:25:09 -0500
Cc: nikola.ciprich@xxxxxxxxxxx, Stefan de Konink <skinkie@xxxxxxxxx>, Mark Williamson <mark.williamson@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 08 Dec 2007 14:25:46 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=Fg1K9m1df39CHIXLABAdYrN/gB74QEfGDZty9Joo9hY=; b=cVbpJnOfE0dLWS1qBwpSQ7+QrLn57QsD32Zp+RCNLJ+Rauf8+/2pc58oiTTOGs6j8zmd5jeI8vgUBBBWg9Jkkx7jAXbWOEwekwy0rdO0P6aASHV/3d8Xo/e4dCH1xVad13VlwWlaO9F1Gn2w0j1rTCxq6z2Kq0cghcye0Mdq5bw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=vOyHnoEI8nx+v+tfHRWgQsn5g+XexQ+8kNEiSNGoI7VoXrHem2J7Wo62TIaz/pfoT1CoY5qef7hKlPcR5EZVoDkueWXMMkR7jMf+8hNBzWaCHi9qpdvqjTOqdlrUunWiJPAfYd9ejDix6RFwO3NbvfAVMJfCMY3fTX3fznta2qw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.LRH.0.9999.0712082300510.14596@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <alpine.LRH.0.9999.0712070833080.11416@xxxxxxxxxxxxxxxxxxxx> <200712081826.23257.mark.williamson@xxxxxxxxxxxx> <e4e579070712081301v2ffe15acjf8a13fb6977bf960@xxxxxxxxxxxxxx> <alpine.LRH.0.9999.0712082237340.14596@xxxxxxxxxxxxxxxxxxxx> <475B1148.30301@xxxxxxxxx> <alpine.LRH.0.9999.0712082300510.14596@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Ok... I see where you're coming from Nikola... you're only concerned
with safe, consistent snapshots of the filesystem state without
checkpointing the running vm state.  Yes, implementing a special xm
fssnapshot command would be the way to go.  I was just curious if
there were any other pitfalls given my approach of checkpointing the
entire VM with a suspend followed by an lvm snapshot.  Thanks for the
clarifications.  I'm actually considering  an attempt to implement the
COW memory functionality that's been discussed on this list in the
past.

Mike

On Dec 8, 2007 5:17 PM, Nikola Ciprich <extmaillist@xxxxxxxxxxx> wrote:
> Hi Mike, well, I maybe don't understand where the question is ;) but I
> guess that Your procedure is perfectly correct (for creation of a
> checkpoint of running system), if You want to restore the backup later,
> You restore system into running state, so a filesystem is in state
> consistent with running system....
> n.
>
>
>
>   On Sat, 8 Dec 2007, Stefan de Konink wrote:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA512
> >
> > Nikola Ciprich schreef:
> >> Hi Mike,
> >> I think that this problem can be solved using procedure Mark proposed -
> >> freeze filesystems of all running domUs using some xm command, then
> >> create snapshot and unfreeze them all again. I think that You won't need
> >> suspend at all.
> >> We just now need to implement it :)
> >
> >
> > Just a question about unsafely. I have implemented iscsi and zfs as
> > combination with Xen on Linux. Is the only safe procedure:
> >
> > pause
> memory snapsnot
> > [send out disk snapshot]
> > resume
> >
> >
> > Stefan
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2.0.7 (GNU/Linux)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iD8DBQFHWxFIYH1+F2Rqwn0RCiT7AKCBAnfW4E0M8pLjHKZUHOOX0mwoZwCfcfY3
> > Rns2S2AETOMypqLDmRnljx4=
> > =ADlt
> > -----END PGP SIGNATURE-----
> >
> >
>
> --
>
>

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