[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] multiple disk images, how to?



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.