[Fedora-xen] treating logical volumes as physical drives
Andrew Cathrow
acathrow at redhat.com
Sat Jan 6 16:32:28 UTC 2007
So looking at your xen config on your web page we see this
kernel = "/boot/vmlinuz-2.6.18-1.2257.fc5xen"
#initrd = "/boot/initrd-2.6.18-1.2257.fc5xen.img"
memory = "400"
name = "xm-fc5-001"
disk = [ 'phy:/dev/VolGroup00/xm_fc5_001_lv,xvda,w' ]
root = "/dev/hda2/dev/VolGroup00/xm_fc5_001_lv ro"
vif = [ '' ]
#vif = [ 'mac=00:17:3f:23:67:v2, bridge=xenbr0', ]
uuid = "34998936-a8a1-4252-81cc-3109181e8111"
#vnc = 1
#vncunused = 1
vcpus=4
extra = "4"
on_reboot = 'restart'
on_crash = 'restart'
Looking at your disk configuration in that file
disk = [ 'phy:/dev/VolGroup00/xm_fc5_001_lv,xvda,w' ]
So you're using /dev/VolGroup00/xm_fc6_001_lv as your disk in your guest domain.
and that will appear to the guest as /dev/xvda
So the root line is wrong. After the kernel is loaded it'll look inside the guest domain for /dev/hda2/dev/VolGroup00/xm_fc5_001_lv which doesn't exist.
Typically you'd not have the kernel, initrd and root lines in the xen config. You'd use a bootloader.
Remove those lines and add the following
bootloader="/usr/bin/pygrub"
Then start the domain with xm create -c domain-name
This will give you a console with a cut down version of grub (that reads /boot/grub/grub.conf from your guest's xvda device.
This presumes that you've got the xenU kernel installed in the guest domain.
On Sat, 2007-01-06 at 00:27 -0500, Justin Wickett wrote:
> ~jyw2/xenerrors.html
--
Andrew Cathrow
Red Hat, Inc.
(678) 733 0452 - Mobile
(404) 437 6178 - Home Office
acathrow at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20070106/25b4b217/attachment.htm>
More information about the Fedora-xen
mailing list