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

[Xen-users] Re: Cloning a Windows VM

To: Artur Linhart - Linux communication <AL.LINUX@xxxxxxxxxxx>
Subject: [Xen-users] Re: Cloning a Windows VM
From: Ligesh <myself@xxxxxxxxxx>
Date: Thu, 21 Jun 2007 15:51:57 +0530
Cc: 'Xen Users' <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 21 Jun 2007 03:04:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <047d01c7b38e$f699a1e0$6d58a8c0@xxxxxxxxxxxxxxxxxxxxxxxxx>
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: <20070619231312.GA13930@xxxxxxxxxx> <047d01c7b38e$f699a1e0$6d58a8c0@xxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: Ligesh <myself@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Thu, Jun 21, 2007 at 01:01:40AM +0200, Artur Linhart - Linux communication 
wrote:
> Hello,
> 
>       Is it impossible just to create new logical volume of the same size
> with lvcreate and simply copy with dd all bytes from the old LV to the new
> one and only modify the configuration file to read from the new physical
> device? (or to create the modifiable snapshot logical volume) I think this
> could work - the partition itself should know nothing about the physical
> location where and how it really runs... Or am I wrong?
> 
>       With regards,
> 
>               Archie
> 

 That's the brute force method, which is what I am doing now. But it takes too 
long, and you needlessly copy all the blanks in the file system to the new 
location. Also, you need the ability to resize the partition, so that's not a 
solution. For instance, I want to clone a 2GB windows into a 4GB lvm. How do I 
go about it?

 Thanks for the response.


 

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

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