Hi George,
I already outlined the drbd-stuff on xen-users (see attachement). Yes - elrepo is right on mark.
Excerpt: "The script (/etc/xen/scripts/block-drbd) I am using is from drbd84-utils-8.9.2-1.el6.elrepo.x86_64 - and already seems to contain the "drbd or phy" case; both in the add and the remove branch.
CentOS6 XEN4 is based on the Kernel 3.10.68-11.el6.centos.alt.x86_64 which has drbd 8.4.3 built in."
Excurse: As for SLES 11 there are two possibilities: a) official: Buy the HAE license (quite expensive). There is a drbd-stack built into it (based on drbd 8.4) b) inofficial: Compile your own drbd-srpm. That will contain the needed block-drbd as well, as part of the drbd-xen rpm.
Back to my problem:
Your patch does not fit my sources: http://vault.centos.org/6.6/xen4/Source/SPackages/ I am currently on XEN 4.4.2-2 - your patch is for 4.5?
Can you please backport your patch to 4.4.2-2?
Kind regards
Nils
-----Ursprüngliche Nachricht----- Von: George Dunlap [mailto:george.dunlap@eu.citrix.com] Gesendet: Montag, 18. Mai 2015 18:47 An: Hildebrand, Nils (BIT II 9); centos-virt@centos.org Betreff: Re: xl stack problems on CentOS6 XEN4
[Switching to CentOS-virt, as I think that's probably actually a more appropriate venue]
On 05/11/2015 02:52 PM, Hildebrand, Nils (BIT II 9) wrote:
I am currently in the process of replacing my SLES11 SP3 Dom0s with CentOS6 XEN4 (at the moment: proof of concept with a test-cluster).
I want to use the new xl-stack, instead of the old xm-stack, too.
So far I stumbled across a number of minor glitches which could be worked around, I got DomUs with CentOS6 and CentOS 5 PV up and running with drbd-disk-backend (primary/secondary mode).
But now I am stuck at the problem that pygrub does not seem to know about drbd-devices.
I've never used drbd myself, but poking around a little bit, it seems that the SLES has drbd pacakages, one of which includes block scripts for Xen (drbd-xen).
Looking at CentOS 6, I don't immediately see any drbd packages. Are you using the packages from elrepo, perhaps?
In particular, do you have the Xen block scripts in /etc/xen/scripts/block-drbd?
-George