Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi
Just a suggestion for the 'make install' on a gentoo system ... you can
test if it's gentoo by checking if the file /etc/gentoo-release exists
(it has the release level in it)
If so, the init scriot for drbd needs to be a bit different. The one I'm
using is:
(NB. I have the drbdadm wait_connect all commented out because it always
seems to timeout and everything is fine with it integrated via the
heartbeat scripts anyway)
----------------------------cut here ----------------
#!/sbin/runscript
depend() {
use logger
need net
}
start() {
ebegin "Starting DRBD"
if [ ! -e /dev/nb0 ] ; then
/bin/mknod /dev/nb0 b 43 0
fi
if [ ! -e /dev/nb1 ] ; then
/bin/mknod /dev/nb1 b 43 1
fi
/sbin/drbdadm up all
# /sbin/drbdadm wait_connect all
eend $ret
}
stop() {
ebegin "Stopping DRBD"
/sbin/drbdadm down all
eend $?
}