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] can I clone a runiung domU?

To: Nathan Eisenberg <nathan@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] can I clone a runiung domU?
From: Rudi Ahlers <Rudi@xxxxxxxxxxx>
Date: Fri, 01 Aug 2008 09:11:44 +0200
Cc: 'xen-users' <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 01 Aug 2008 00:12:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <e731c7e4.1c8f3a3.13b10b8.7b@xxxxxxxxxxxxxxxx>
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>
Organization: SoftDux
References: <e731c7e4.1c8f3a3.13b10b8.7b@xxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)
Nathan Eisenberg wrote:
Don't forget to specify block size (bs=x) in your DD command.  I've had good 
luck with 2-4M block sizes; by default, I think the BS=256k.  I've seen it cut 
copy time by 75%

~Nathan
-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Rudi Ahlers
Sent: Thursday, July 31, 2008 11:23 PM
To: xen-users
Subject: [Xen-users] can I clone a runiung domU?

Hi all

I'd like to know if it's possible to clone a running domU. I need to make an exact copy of an existing CentOS xen domU, but without taking it offline. I'm using LVM, so I don't know if it will help.

I have tried doing it with dd, after shutting down the domU, but it takes ages. The LVM image is 30GB. I can't really afford to have the running one off line that long, so if possible I'd like todo it while it's running.

Thanx for the tip :)

--

Kind Regards
Rudi Ahlers

Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff


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