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] flat file system as disk

To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] flat file system as disk
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Wed, 24 Jun 2009 09:50:48 +0700
Delivery-date: Tue, 23 Jun 2009 19:51:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <-5114820827033456841@unknownmsgid>
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: <-5114820827033456841@unknownmsgid>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Jun 24, 2009 at 9:32 AM, Pallab
Chakrabarty<pchakrabarty@xxxxxxxxxxxxxxx> wrote:
> I want to use a flat file system as disk instead of an image, like:
>
>   disk = ['file:/tmp/server,sda1,w', … ]
>
>
> Pls advice if this is doable ..

It's doable, with some caveats:
- consistency-wise, file: is not recommended. You should use tap:aio:
- mapping as sda1 instead of sda means you need to use templates (like
from jailtime.org). You won't be abe to use installer (like with
virt-manager).
- I/O performance will be slower compared to block-based vbd using phy:/

-- 
Fajar

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