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] Can you convert Windows LVM domU to sparse img file?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Can you convert Windows LVM domU to sparse img file?
From: Māris Ruskulis <maris@xxxxxxxx>
Date: Thu, 15 Jan 2009 08:59:35 +0200
Cc: James Pifer <jep@xxxxxxxxxxxxxxxx>
Delivery-date: Wed, 14 Jan 2009 23:00:22 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1231982574.7185.11.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
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: <1231982574.7185.11.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)
You can do this by dd.
for example:
dd if=/dev/vg/winpart of=/home/myuser/winimage.img bs=4096
bs set to your block size, as i remember ntfs has 4096 by default.

James Pifer wrote:
I have a Windows 2000 domU running in an LVM partition. I need to move
it to another host, but none of my other xen servers have lvm or free
space to create an lvm. So I'd like to convert it to a sparse img file.
The file system in the domU is ntfs.
Can anyone suggest how to do this?

Thanks,
James


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



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