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] File2LVM?

To: "Rainer Sokoll" <rainer@xxxxxxxxxx>
Subject: Re: [Xen-users] File2LVM?
From: "Al Tobey" <tobert@xxxxxxxxx>
Date: Wed, 26 Mar 2008 21:05:48 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 26 Mar 2008 21:06:20 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ea3M0YGd4pAquVnXomjY9vJQHRbB8hNkAlv075lFH/o=; b=H6HQTuXHXDPuGEbZi6oqh2E5/HgzEKq72MWEkLwzQwsK17hNfXBKT2mseBMcIDsV9f/lENegJw3TFY+mHcOm9dwRb8TGkJVCzES9ydeBh0XadSUH589qA7QbyrioYgsfYbeyjnnVBcnpMQSLOUzLhx9w7ydZ/pgXJQN6ONmFCuI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BaMlvkOGkOT9iagFqI8S265DdqXndEY8+helM1ah2hzdwWqJxY4qGTKaGwg1N/oNq2Z3aA+i2ZbVmlbob6veLCOzo0t83MQjaZB3L+hACjBLJEtCokLlYjDVx8g9lGCnb/X3VjwaItOQn4HvZtgi6B1EX3u+GzggWTVgDzQv2cQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080311102246.GV19477@xxxxxxxxxxxxxxxxxxxxxxx>
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: <20080311102246.GV19477@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Mar 11, 2008 at 3:22 AM, Rainer Sokoll <rainer@xxxxxxxxxx> wrote:
> Hi,
>
>  I want to switch (some of) my domUs from file based storage to a LVM
>  based backend - but without losing my domUs (some Linuxes, some
>  Windowses)
>  Is that possible, and if, how?

Check out qemu-img from the qemu package.    It can convert between
raw, qcow2, vmdk, etc..   So you can do stuff like convert vmware
images to raw on LVM for Xen.

lvcreate -n foobar-disk0 -L 5G vgroot
qemu-image convert /path/to/loopfile.img -O raw /dev/vgroot/foobar-disk0

Enjoy,
-Al

>  Thanks,
>  Rainer
>
>  _______________________________________________
>  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

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