From: Mark Williamson Subject: Re: consistent LVM snapshot of domUs from dom0 Date: Sat, 8 Dec 2007 22:59:54 +0000 Message-ID: <200712082259.56166.mark.williamson@cl.cam.ac.uk> References: <200712081826.23257.mark.williamson@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Nikola Ciprich Cc: nikola.ciprich@linuxbox.cz, xen-devel@lists.xensource.com, Mike Sun , Stefan de Konink List-Id: xen-devel@lists.xenproject.org Hi there, > thanks very very much for a reply, I was beginning to feel a bit sad that > nobody replied :) No problem! > > xm create mydomain > > xm fs_freeze mydomain > > > > xm fs_unfreeze mydomain > Actually, an even better way (with better tools integration) would be: xm create mydomain xm fs_snapshot mydomain +---> freezes domain filesystem +---> does a block level snapshot with LVM or qcow +---> unfreezes domain filesystem > Yes, I really like this way, and now the question is: do You think, > that You could have a time to look at it in near future? Or should I try > to solve it? I do not have knowledge of xen internals to do it (yet?), but > I'm trying to learn anyways, so maybe I could try to fix, if there would > be somebody to give me some guidance ;) It's mostly a question of Linux kernel hacking, I think, plus adding support to the Xen tools. Xen itself would definitely not need to be touched. I've actually been having a look at this today and trying to code up a little example implementation. You're welcome to have a go too if you want, particularly if you're into kernel hacking. But I'll put my code online if I get anywhere, anyhow. > What do you think? Lots of people seem to be interested in this sort of thing, so I think it's worth looking into. Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!