<HTML>
<HEAD>
<TITLE>Getting close</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I have tweaked my configurations a bit and have been able to get the primary machine to automatically mount my replicated partition and it sees and syncs with the secondary server.<BR>
<BR>
As part of testing I am shutting down heartbeat on the primary node and watching the logs on secondary. It seems to be trying to hand resources off from primary as replicated drive gets unmounted from primary machine however it won’t mount the replicated drive on the secondary machine and I get the message that drbd0 is write protected, wrong medium type and generic error.<BR>
<BR>
<BR>
Nov 18 04:40:42 mail2 Filesystem[6010]: INFO: Resource is stopped<BR>
Nov 18 04:40:42 mail2 ResourceManager[5983]: info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 /replicated ext3 start<BR>
Nov 18 04:40:42 mail2 Filesystem[6091]: INFO: Running start for /dev/drbd0 on /replicated<BR>
Nov 18 04:40:42 mail2 Filesystem[6091]: ERROR: Couldn't mount filesystem /dev/drbd0 on /replicated<BR>
Nov 18 04:40:42 mail2 Filesystem[6080]: ERROR: Generic error<BR>
Nov 18 04:40:42 mail2 ResourceManager[5983]: ERROR: Return code 1 from /etc/ha.d/resource.d/Filesystem<BR>
Nov 18 04:40:42 mail2 ResourceManager[5983]: CRIT: Giving up resources due to failure of Filesystem::/dev/drbd0::/replicated::ext3<BR>
Nov 18 04:40:42 mail2 ResourceManager[5983]: info: Releasing resource group: mail.eng.uiowa.edu Filesystem::/dev/drbd0::/replicated::ext3<BR>
Nov 18 04:40:42 mail2 ResourceManager[5983]: info: Running /etc/ha.d/resource.d/Filesystem /dev/drbd0 /replicated ext3 stop<BR>
Nov 18 04:40:42 mail2 Filesystem[6199]: INFO: Running stop for /dev/drbd0 on /replicated<BR>
Nov 18 04:40:42 mail2 Filesystem[6188]: INFO: Success<BR>
<BR>
When I run /etc/ha.d/resources.d/Filesystem /dev/drbd0 /replicated ext3 start I receive the following error message:<BR>
<BR>
root@mail2 ~]# mount /dev/drbd0 /replicated<BR>
mount: block device /dev/drbd0 is write-protected, mounting read-only<BR>
mount: Wrong medium type<BR>
[root@mail2 ~]# <BR>
<BR>
Seems to me I get this going and I am in the clear but am not quite sure what the problem on secondary machine.<BR>
<BR>
Here is the line in my haresources file<BR>
<BR>
mail.eng.uiowa.edu Filesystem::/dev/drbd0::/replicated::ext3 # mail2.eng.uiowa.edu is the secondary machine<BR>
<BR>
Thanks</SPAN></FONT>
</BODY>
</HTML>