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-devel

Re: [Xen-devel] Automatic loopback dev with 'whole disk' stored in file

To: Stephen Childs <Stephen.Childs@xxxxxxxxx>
Subject: Re: [Xen-devel] Automatic loopback dev with 'whole disk' stored in file
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 28 Oct 2004 13:49:18 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Thu, 28 Oct 2004 13:53:43 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Thu, 28 Oct 2004 12:47:41 BST." <4180DC5D.6080501@xxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> I am (finally) porting my setup code to use the automatic loopback 
> disk='file:/blah' stuff rather than setting up the loopback devices myself. 
> This doesn't seem to work when the file is backing a whole 'device' rather 
> than just a partition hosting a filesystem? (i.e. the file actually contains 
> partitions which then hold filesystems)

I don't believe the standard loop back device supports whole
device. Are you using the NASA enhanced loop back device patch?

I guess you'd need to use this patch in domain 0 to populate the
file in the first place. The other domains won't care.

However, It's not immediately obvious to me why the standard
script that handles setting up loopback devices cares whether
you're exporting partitions or a whole disk.

Any reason not to have a file per partition? (Unless you want to
let your domains partition their 'disk' however they see fit.)

Ian




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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