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: Steve Kemp <steve@xxxxxxxxxxxx>
Date: Fri, 28 Jul 2006 17:19:41 +0100
Delivery-date: Fri, 28 Jul 2006 09:19:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44CA3777.2040106@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/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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
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
-- 
http://xen-tools.org/

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

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