Thanks for your help! Much appreciated!
OK, what I did was :
yum remove drbd82 kmod-drbd82 ## These were the installed packages I had for drbd
yum install drbd82 kmod-drbd82-xen ## Which will install the XEN related modules
I then configured the drbd.conf and everything starts up correctly now.
Hope this helps anyone else out there.
Well, seeing as though I pulled my hair out solving this, let me answer my question and save someone else the trouble of hair pulling :)
Solution:
After playing around, plenty of Googling and repartitioning etc... I came to a setup that works like a charm.
There is probably a quicker way to do this but I am not going to over complicate this answer
I did a standard install with the partitions like this (I have a 500g hard drive) :
/boot 100mb
/swap 4gb
/ 40gb
The balance of the disk space is to be left as unpartitioned space.
Then, I created a primary partition called /dev/sda4 by following these steps:
~: fdisk /dev/sda
~: (fdisk shell) p4 (for primary partition # 4)
~: (fdisk shell) t (hit t and enter to edit the partition type)
~: (fdisk shell) 08e (Linux LVM)
Reboot the server so that the new partitions can take effect.
Now create logical volumes by:
~: pvcreate /dev/sda4
~: vgcreate xenvg -s 4M /dev/sda4 # (xenvg is the name of my virtual group, you can rename it)
~: lvcreate -L400G -n xenroot xenvg # (xenroot is going to be my drbd resource and root partition for my DomU)
~: lvcreate -L4G -n xenswap xenvg # (xenswap is my swap file for my DomU)
Now that you have the correct partitioning you can go ahead and install DRBD with the following config file directives (drbd.conf)
Just displaying the 2 important directives here...
{
device /dev/drbd0;
disk /dev/xenvg/xenroot;
}
Your XEN VM config file needs to look like this (again, just the important one)
{
disk = [ "drbd:xenvm,xvda,w","phy:xenvg/xenswap,xvdb,w" ]
}
I hope this helps someone out there...
Best Answer
Did you install the dkms and dkms-fuse package? That is probably what you are missing. The fuse package just has the userspace tools, so I am not sure why it does not depend on dkms-fuse.
DKMS is a system for automatically rebuilding external kernel modules when your kernel is updated. It is also used for some nvidia kernel modules. You will also need to make sure that the dkms_autoinstaller and fuse services are started at runtime. The fuse service (last time I checked) doesn't properly support chkconfig, so you have to manually create the symlink in /etc/rc5.d (or whatever runlevel you want).