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] Re: Cloning a Windows VM

To: Ligesh <myself@xxxxxxxxxx>
Subject: Re: [Xen-users] Re: Cloning a Windows VM
From: Christian Horn <chorn@xxxxxxxxxxxx>
Date: Wed, 27 Jun 2007 11:17:16 +0200
Cc: 'Xen Users' <xen-users@xxxxxxxxxxxxxxxxxxx>, Artur Linhart - Linux communication <AL.LINUX@xxxxxxxxxxx>
Delivery-date: Wed, 27 Jun 2007 02:15:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070621102157.GA6830@xxxxxxxxxx>
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> <20070621102157.GA6830@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Thu, Jun 21, 2007 at 03:51:57PM +0530, Ligesh wrote:
> On Thu, Jun 21, 2007 at 01:01:40AM +0200, Artur Linhart - Linux communication 
> wrote:
> >     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?
> > 
> 
>  That's the brute force method, which is what I am doing now. But it takes 
> too long, 

I would also do this complete copy, but create a big file with zeros inside 
the VM bevore taking the backup.
If you are not using some ntfs-encryption then a gzip -3 </dev/vg/lv_win 
>backup.gz
will give you a not-so-large backup.


Christian

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

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