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] Duplicating disk files

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Duplicating disk files
From: "Glenn W. Bach" <glenn@xxxxxxxxxxx>
Date: Fri, 28 Jul 2006 09:24:16 -0700
Delivery-date: Fri, 28 Jul 2006 09:33:51 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060728161941.GA12585@xxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <44CA3777.2040106@xxxxxxxxxxx> <20060728161941.GA12585@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060614)
Hmm.... I did change the name, though I now notice that they had the same uuid. 
Did you
change that as well? Is that just a random hex value?

Thanks!

Glenn

Steve Kemp wrote:
> On Fri, Jul 28, 2006 at 09:12:39AM -0700, Glenn W. Bach wrote:
> 
>> Why I try to do the same with Xen, I get an error when I try to
>> boot the new VM. Some error expecting an integer. 
>> Then `xm list` shows the original VM loaded twice, when in fact the
>> original is running and and second one which was a copy of
>> the first failed to run. I am copying the file when the original is shutdown.
>>
>> Is there any way to duplicate a working disk image file?
> 
>   It works for me under Debian.  I'd suggest the most probably cause
>  is that you've not updated the Xen configuration file.
> 
>   To duplicate a Xen guest you need to:
> 
>     1.  Duplicate the disk image, and make appropriate networking
>        changes (as you suggest).
> 
>     2.  Duplicate the /etc/xen/${name}.cfg file.
> 
>   I wonder if you didn't update the configuration file for the copy?
>  Specifically you'll want to give it a new "name = " entry.
> 
> Steve

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

<Prev in Thread] Current Thread [Next in Thread>