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] change a image from physical to fil based

To: "mattias" <mj@xxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] change a image from physical to fil based
From: Jeff Sturm <jeff.sturm@xxxxxxxxxx>
Date: Fri, 10 Jul 2009 16:38:07 -0400
Cc:
Delivery-date: Fri, 10 Jul 2009 13:40:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <001501ca019c$c2c6b9d0$d116e255@jonsson2>
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: <64D0546C5EBBD147B75DE133D798665F02FDC341@xxxxxxxxxxxxxxxxx> <001501ca019c$c2c6b9d0$d116e255@jonsson2>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoBnLDHHTHMr9NNSwCpR+opg0ZyKwAAX8RA
Thread-topic: [Xen-users] change a image from physical to fil based

You can use either, but file: requires a loopback block device, and so is probably slower than tap:aio:.

 

From: mattias [mailto:mj@xxxxxx]
Sent: Friday, July 10, 2009 4:27 PM
To: Jeff Sturm; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: SV: [Xen-users] change a image from physical to fil based

 

what are diffrenses between tap and file?

-----Ursprungligt meddelande-----
Från: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] För Jeff Sturm
Skickat: den 10 juli 2009 22:21
Till: mattias; xen-users@xxxxxxxxxxxxxxxxxxx
Ämne: RE: [Xen-users] change a image from physical to fil based

In the "disk" section of your domU configs, try changing phy: to tap:aio:.

 

-Jeff

 

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of mattias
Sent: Friday, July 10, 2009 4:16 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] change a image from physical to fil based

 

i try to change one of my images from lvm to file with

dd if=/dev/vps/centos of=/root/mj.img

the fiel whas created byt will not

ok i bigin boot but failed

i remember the system can't find the  lvm groups

i not remember anymore

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