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] Re: Installing a new domU

To: "Mark Hurenkamp" <mark.hurenkamp@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Re: Installing a new domU
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 18 Oct 2005 23:04:15 +0100
Cc: ian.pratt@xxxxxxxxxxxx
Delivery-date: Tue, 18 Oct 2005 22:01:44 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXUK1p6Wr0QtzspRQ6QqMg+HxoSWgAA/qpA
Thread-topic: [Xen-users] Re: Installing a new domU
 
> 3) Create an sparse image file of a disk (not partition, but entire
> disk!) for the os to use as hda during install. In my case, I 
> used a sparse file I created using dd (5.4G size). I used a 
> LVM partition (5G) for
> hda1 and another for swap on hda2 (256M).
> 4) in my config I put the following line:
> disk = [ 'file:/root/initrd,sda1,w' , 
> 'file:/etc/xen/breezy_hda,hda,w', 
> 'phy:/dev/linux/breezy,hda1,w' , 
> 'phy:/dev/linux/breezy_swap,hda2,w' , ] and of course:
> root = "/dev/sda1"
> (xen will now use the sparse file for partition table 
> handling of /dev/hda, and the two LVM partitions for 
> accessing /dev/hda1 and /dev/hda2. Don't know if this is 
> intended, or will stay this way, but it worked for me).

Holy cow! We never envisaged anyone using whole-disk and partition
imports on the same disk at the same time.

Any reason not to just export an LVM volume as a whole disk and then
partition it internally?
 

Ian

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

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