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/
Home Products Support Community News


Re: [Xen-users] Cloning VM from Xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Cloning VM from Xen
From: Benjamin Knoth <knoth@xxxxxxxxxxx>
Date: Thu, 19 Aug 2010 13:32:06 +0200
Delivery-date: Thu, 19 Aug 2010 04:34:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8CBB53B8098D4544A6FF75CFFAD77DF2CA3C07@xxxxxxxxxxxxxxxxxxxxx>
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: <8CBB53B8098D4544A6FF75CFFAD77DF2CA3C07@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv: Gecko/20100711 Lightning/1.0b1 Thunderbird/3.0.6
Hi Emerson and all,
i test it again with rsync and dd but on both solutions i got some
errors on boot of my vm.
I modified the config succesfully and edit /etc/fstab and /etc/hosts
I can log in in the vm and can start Yast.
But on boot sles write that he can't find the network device and if i
log in i didn't find a network device on ifconfig.
The Hostname of the VM isn't the new name which i changed in the config,
it's the old hostname.

How can i cycle the problem?

I saw that all vm's on SLES 10 has a bridge (xenbr0) and on SLES 11 (br0).
Can i easy rename the bridge on the config or does it need a
modification of Dom-0? Or does it need also a modification in a file in
the new vm?

Best regards

Benjamin Knoth

Am 18.08.2010 19:31, schrieb Ribeiro Emerson Gomes:
> Log on to source server and fire a:
> dd if=/dev/[vg name]/[lv name] | ssh user@DestinationServer dd
> of=/dev/[vg name]/[lv name]
> Emerson
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Benjamin
> Knoth
> Sent: Wednesday, August 18, 2010 12:31 PM
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: [Xen-users] Cloning VM from Xen
> Hi all,
> i created some virtual machines on SLES 10 with Xen.
> Now i would like to use Xen on SLES 11.
> My harddisks from all vm are lvm.
> Is it possible to clone my existing vm to my new server which runs with
> SLES 11?
> If it's possible how do i do that?
> best regards
> Benjamin Knoth

Benjamin Knoth
Max Planck Digital Library (MPDL)
Amalienstrasse 33
80799 Munich, Germany

Mail: knoth@xxxxxxxxxxx
Phone:  +49 89 38602 202
Fax:    +49-89-38602-280

Xen-users mailing list