[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Cloning domUs


  • To: Geoff Kirk <geoff.k@xxxxxxxxxxxxxxxxxxx>
  • From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
  • Date: Mon, 06 Aug 2007 20:41:11 +0100
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 06 Aug 2007 12:38:34 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=mqV6XLFvJgH/daHi/z5V/nj5rssMd2kEewE92wC1FdaNoLKXmmYyULM8UO8U1T/DMOqRiO+/0Xbe275Rkc68uNnNeCfMnRxVnwLLgZk0Ypdxsg4qsotF9oHo4r2DdLpKxFFxzopXukeqF7Vy3lrT5L2lXozS6q6ABUgmEO4Vw+s=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Geoff Kirk wrote:
shacky wrote:
What storage method are you using for the domU?

I'm using LVM for most domUs...

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

Using LVM i create a new volume mount the domU i want to copy and the new volume, format the new volume and cp -dpR the files over, then edit the network/hostname config. Don't forget swap space too.

It maybe you can just snapshot the domU and edit the network but i don't know if thats wise.

Geoff.
I use 'rsync -avH' instead of 'cp -a', since it handles being re-run better and handles exclusions better, too.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.