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] multiple disk images, how to?

To: Molle Bestefich <molle.bestefich@xxxxxxxxx>
Subject: Re: [Xen-users] multiple disk images, how to?
From: "Christopher G. Stach II" <cgs@xxxxxxxxx>
Date: Mon, 09 Jan 2006 11:13:58 -0600
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 10 Jan 2006 10:32:44 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <62b0912f0601090911n5565ceebsbb02dc4d5901d340@xxxxxxxxxxxxxx>
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>
References: <62b0912f0601090911n5565ceebsbb02dc4d5901d340@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
Molle Bestefich wrote:
> I'm trying to mount two filesystems in a Xen virtual machine.
> I think this should work since 'xm' has an option to attach virtual disks.
> Can't get it to work though.
> 
> Here's my domU config file:
> ################
> kernel = "/boot/kernel-domU"
> memory = 128
> name = "dom1"
> nics = 1
> disk = ['phy:/dev/evms/domubase,xvda1,r']
> disk = ['file:/images/linux1.img,xvda2,w']
> root = "/dev/xvda1 ro"
> ################
> 
> Using the above, the domU kernel dies like this:
> ===========
> VFS: Cannot open root device "xvda1" or unknown-block(0,0)
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
> ===========
> 
> If I switch the order of the two 'disk' lines, the domU actually
> boots, but xvda2 is inacessible and nowhere to be found.
> 
> Am I doing something wrong?
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

Have you tried this?

disk = ['phy:/dev/evms/domubase,xvda1,r', 'file:/images/linux1.img,xvda2,w']

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