Hey all,
I'm very new to DRBD and I'm having some setup issues with it on 2 systems. Both are running Fedora Core 1 and are running hardware RAID 5 arrays.
Install appears to have gone ok on both systems, however I have noticed that the install script creates the module under /lib/modules/2.4.22-1.2174.nptlcustom instead of the 2.4.22-1.2174.nptl folder. I'm not sure how to change that either. As this is RedHat, making your own custom kernel will always name it differently I think. But, there were no errors during the install, but I can't help but think that this is the cause of my problems, as can be seen below.
Once it's installed, I set up my drbd.conf files on both machines to look like this:
resource drbd0 {
protocol=C
fsckcmd=fsck.ext3 -p -y
on Fileserver1 {
device=/dev/nb0
disk=/dev/sda2
address=192.168.8.250
port=7788
}
on Fileserver2 {
device=/dev/nb0
disk=/dev/sda2
address=192.168.8.249
port=7788
}
}
After that's set up, I try to start the service:
/etc/init.d/drbd start
drbd: pre-parsed needs update, parsing /etc/drbd.conf
............................................................
............................................................
............................................................
drbd: ERROR: modprobe -s drbd minor_count=1 [255]:
drbd: ERROR: NO OUTPUT
Can not load the drbd module.
I'm pretty much stuck here. Both machines do this. I can't even get drbdsetup to run right, but I don't know if it's related to this or not. When I try, I get this:
drbdsetup /dev/nb0 disk /dev/sda2
can not open device: No such device or address
Both devices show up in my /dev folder, and I've even tried /dev/MAKEDEV to make sure, but I still get this error.
In short, I'm not having much luck getting this working. Any advice would be greatly appreciated.
Thanks,
Brandon