WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Re: creating a xen failover with lookback images

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Re: creating a xen failover with lookback images
From: "Daniel Asplund" <danielsaori@xxxxxxxxx>
Date: Mon, 28 Jul 2008 18:05:51 +0200
Cc: Heiko <rupertt@xxxxxxxxx>
Delivery-date: Mon, 28 Jul 2008 09:06:31 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=PnPcDvSYVFlm+3W9/hlPueCutsWTKz0HkRR5MNkfixM=; b=Tt/nHqamvkX6m01Rd+xeS1HSdfVCoX415PXa66rGGs8PzekKSEPJnSN4TOY9GMf5qv vUNvv/5XWVr+bBlmrkfEg5mYPUwShkOfWpKHRO7tmE53neRjpgOn1LFvsn3ho6Sq57zx FS/BVRDSorcdXjK6I/XJ9aTXFOF+vfDdn9V0w=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ME4CbYAyuLIb8hHNQkrjmHA5ec5nL0TRVzndZ5gdEhmLSVOs5VfuxHQFBU+HNB6Xik OiZmqh+8l7Qu7cNUiwkhjGRl3e0gHdZyS8+SjdAYVkab1srZVzyaqKXwGJOSc87GH1yn YUP9n7r9Erm0K1Cy8hbGa0WceZvIbStO/grgQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <537dcd6b0807280501i13be57ebua84632845445fa53@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <537dcd6b0807240149n376d570eq8d07c9750b2494ce@xxxxxxxxxxxxxx> <537dcd6b0807240614g58b3ec2cid3118454c071cec6@xxxxxxxxxxxxxx> <4135a64a0807241019h49874acata095a62e1fbd0af2@xxxxxxxxxxxxxx> <537dcd6b0807280418g40a58d40r1233ec9845379fdb@xxxxxxxxxxxxxx> <537dcd6b0807280433h6c4d7871i6fe89699597c6311@xxxxxxxxxxxxxx> <537dcd6b0807280501i13be57ebua84632845445fa53@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
>>> 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