|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Re: creating a xen failover with lookback images
>>> Hi Daniel,
>>> i reinstalled both servers and now have LVM.
>>> Since I dont use the Xen-tools and use CentOS, i would like to install
>>> the VM with virt-install,
>>> I started the installation with:
>>>
>>> virt-install \
>>> --name=ticketsystem \
>>> --ram=2000 \
>>> --file=/dev/vg01/lv_myVM \
>>
>> --file=/dev/vg01/lv_myVM \ should be --file=/dev/drdb0 i guess
>>
>>> --vcpus=2 \
>>> --os-variant=centos5 \
>>> --nographics \
>>> --location ftp://wftp.tu-chemnitz.de/pub/linux/centos/5.2/os/x86_64/ \
>>>
>>> it ran thorugh, now I did shut it down and changed the VM config:
>>>
>>> disk = [ "drdb:ticketsystem,xvda1,w" ,
>>> "file:/VM/ticketsystem_swap.img,xvda2,w"]
>>>
> still wont boot:
>
> xm create ticketsystem -c
> Using config file "./ticketsystem".
> Traceback (most recent call last):
> File "/usr/bin/pygrub", line 651, in ?
> fs = fsimage.open(file, get_fs_offset(file))
> IOError: [Errno 95] Operation not supported
> No handlers could be found for logger "xend"
> Error: Boot loader didn't return any data!
>
> I did a complete reinstall to /dev/drbd0
>
Believe your problem is with pygrub, that doesn't play well with DRBD.
Have a look at the following post with similar issue:
http://lists.linbit.com/pipermail/drbd-user/2007-November/007808.html
Follow those instructions, by removing the pygrub bootloader and
copying the kernel and initrd to your Dom0.
Hopefully that will do it.
Cheers, Daniel
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|