5 Feb 2007, 22:20
Comments Off
Comments Off
DRBD0.8 setup on Debian Etch
Pff, spend some hours trying to get DRBD working *again*. The thing is, if you get something like “HaveNetConfig” or when you try to make the filesystem you get that the device is not a valid blockdevice or size cannot be determined, remember to make your drbd disk primary first. Documentation for drbd0.8 is very scarce at the moment, so I’m putting it on my blog:
drbdadm -- -o primary all
This will make the current node primary and voila, you can do:
mkfs.ext3 /dev/drbd0
Which is what I wanted to do in the first place. Also, if the system doesn’t seem to create it’s own device, try
mknod /dev/drbd0 b 147 0
Good luck to you all! Pity Debian decided to leave drbd8 out of Etch :(