In the course of testing DRBD in a HA setup, I've found the following
problems:
1. I kept getting 'bad substitution' errors in the drbd script. Changing
the first line from:
#!/bin/sh
to
#!/bin/bash2
fixed this one.
2. After using 'chkconfig' to enable DRBD on startup, I got the error:
/etc/rc.d/rc3.d/S30drbd: Do not know what to do...
changing line 325 from:
drbd) drbd ;;
to
*drbd) drbd ;;
did the trick.
Both these fixes are in the attached patch.
Enjoy!
Cheers,
Chris.
--
***********************************************************************
Disclaimer:
This e-mail is confidential and intended solely for the named recipient.
Any views expressed in this e-mail are those of the individual sender,
and not of dotWAP.com Pty Ltd. Any unauthorised use, dissemination,
forwarding or reproduction of this e-mail is strictly prohibited.
dotWAP.com Pty Ltd does not warrant that this e-mail is free from viruses
or other corruptions and is not liable to the recipient or any other
party should any virus or other corruption be present in this e-mail.
***********************************************************************
problems:
1. I kept getting 'bad substitution' errors in the drbd script. Changing
the first line from:
#!/bin/sh
to
#!/bin/bash2
fixed this one.
2. After using 'chkconfig' to enable DRBD on startup, I got the error:
/etc/rc.d/rc3.d/S30drbd: Do not know what to do...
changing line 325 from:
drbd) drbd ;;
to
*drbd) drbd ;;
did the trick.
Both these fixes are in the attached patch.
Enjoy!
Cheers,
Chris.
--
***********************************************************************
Disclaimer:
This e-mail is confidential and intended solely for the named recipient.
Any views expressed in this e-mail are those of the individual sender,
and not of dotWAP.com Pty Ltd. Any unauthorised use, dissemination,
forwarding or reproduction of this e-mail is strictly prohibited.
dotWAP.com Pty Ltd does not warrant that this e-mail is free from viruses
or other corruptions and is not liable to the recipient or any other
party should any virus or other corruption be present in this e-mail.
***********************************************************************