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] More on domU not starting

To: Rob Gardner <rob.gardner@xxxxxx>
Subject: Re: [Xen-devel] More on domU not starting
From: Ryan Grimm <grimm@xxxxxxxxxx>
Date: Wed, 12 Oct 2005 11:01:45 -0500 (CDT)
Cc: Ryan Grimm <grimm@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 12 Oct 2005 15:58:58 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <434C46D8.9020204@xxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <434C2DC0.10701@xxxxxx> <Pine.LNX.4.63.0510111741560.7912@xxxxxxxxxxxxxxxxxxxxx> <434C46D8.9020204@xxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

I don't know what the desired behavior should be, but good point about the two disk statements...i am able to now get the desired behavior by using one like you suggested.

mine now looks like:

disk = [ 'phy:sda3,hda1,w', 'file:/path/to/image,hda1,w' ]

so i dont need the /dev in front of sda3 after all...but i think that if you export hda6 as hda6, you need to specify hda6 instead of sda1. so i think your disk and root statements should be:

disk = [ 'phy:hda6,hda6,w',
         'file:/xen/disk-images/dom1.fs,hda6,w']
root = "/dev/hda6 ro"

at least that is what works on my machine :)

ryan


On Tue, 11 Oct 2005, Rob Gardner wrote:

Ryan Grimm wrote:


I had a similar problem and was able to rectify it by including the following line:

disk = [ 'phy:/dev/sda3,hda1,w' ]

which, as stated in the user doc in section 5.1, will export /dev/sda3 (the partition where my image is) to the domU as hda1.

then, my disk config is:

disk = [ 'file:/path/to/image,hda1,w' ]

also, the user doc's example in section 5.1 says that disk = [ 'phy:sda3,hda1,w' ] would work but it did not unless i put /dev/ in front of sda3, like above.



I don't understand that. If you have two "disk = " lines, won't the second simply supercede the first? I tried exporting the partition containing the image like this:
 disk = [ 'phy:/dev/hda6,hda6,w',
        'file:/xen/disk-images/dom1.fs,sda1,w']
...but no luck there.


Rob





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