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

xen-users

[Top] [All Lists]

Re: [Xen-users] can I clone a runiung domU?

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] can I clone a runiung domU?
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: 2008年8月01日 14:38:18 +0700
Delivery-date: 2008年8月01日 00:39:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4892B82A.1050802@xxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4892ABDD.4080803@xxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01490120@trantor> <4892B450.8080701@xxxxxxxxx> <4892B82A.1050802@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080505)
Rudi Ahlers wrote:
Fajar A. Nugraha wrote:
Using LVM you should be able to make a snapshot of the filesystem which
should be at least as consistent (integrity wise) as if you'd done an
'xm destroy' on the domain.
A neat way to do that is if you use zfs-backed storage, either directly (using Sun's xVM) or having solaris export the volume over iscsi to linux box. The "clone" process for zfs is two simple commands : "zfs snanpshot" and "zfs clone", which is almost instaneous.
Sure, but I don't. I'm using CentOS as OS, with ext3 :) So, I need to work with what I have
In that case James' suggestion is probably your best bet. If you use
lvm-backed storage for domU :
- lvm snapshot on running domU's LVM, to get a consistent state.
- dd from the snapshot to a new LV
- destroy snapshot
As for optimum block size for dd, I think the default PE size for linux
LVM is 4MB, so you might want to try that.
Regards,
Fajar

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>
Previous by Date: Re: [Xen-users] can I clone a runiung domU? , Rudi Ahlers
Next by Date: [Xen-users] Hardware Assisted Paging Question , Robert Dunkley
Previous by Thread: Re: [Xen-users] can I clone a runiung domU? , Rudi Ahlers
Next by Thread: Re: [Xen-users] can I clone a runiung domU? , Rudi Ahlers
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /