Xen + DRBD using pygrub.
I ran into this problem when I installed CentOS into a Xen domU using the HowTo:
http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU
After installation, you are urged to use bootloader=”/usr/bin/pygrub”
However, trying to start the domU results in the error “Error: Disk
isn’t accessible”. A google search turns up speculation that this is
somehow pygrub’s fault, however, if one runs pygrub /dev/drbd0, it
works as expected.
The problem is in the xm utility, it attempts to resolve the disk name
(drbd0) into a device name (/dev/drbd0) by using the disk type (drbd).
However, it does not recognize the type drbd, so it fails to do so.
Attached is a patch that simply treats






