Problem with Xen, xvda and sda
Posted
by
Javier J. Salmeron Garcia
on Server Fault
See other posts from Server Fault
or by Javier J. Salmeron Garcia
Published on 2011-05-26T10:27:37Z
Indexed on
2012/03/25
23:32 UTC
Read the original article
Hit count: 315
I am creating a cloud for my university using Eucalyptus with Xen (PCs have Debian Squeeze 64 bit installed). I have a problem with the following guest configuration:
#
# Configuration file for the Xen instance evenmorefinalfoo, created
# by xen-tools 4.2 on Thu May 26 11:03:06 2011.
#
#
# Kernel + memory size
#
kernel = '/boot/vmlinuz-2.6.32-5-xen-amd64'
ramdisk = '/boot/initrd.img-2.6.32-5-xen-amd64'
vcpus = '1'
memory = '128'
#
# Disk device(s).
#
root = '/dev/sda2 ro'
disk = [
'file:/home/xen/domains/evenmorefinalfoo/disk.img,sda2,w',
'file:/home/xen/domains/evenmorefinalfoo/swap.img,sda1,w',
]
As you can see, the disk and swap images are meant to be mounted on sda1 and sda2. However, when I start the guest, these are mounted on xvda1 xvda2, provoking an error. Is there anything that I can do about that? It seems like it is a Xen error.
Thank you in advance,
© Server Fault or respective owner