[DRBD-user] RHCS + DRBD - Service starting but filesystem not mounting

Jakov Sosic jakov.sosic at srce.hr
Fri Dec 4 10:55:53 CET 2009

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Thu, 2009-12-03 at 14:27 -0600, James Perry wrote:

>         <rm>
>                 <failoverdomains>
>                         <failoverdomain name="fo_domain" nofailback="0" ordered="0" restricted="0"/>
>                 </failoverdomains>
>                 <resources>
>                         <ip address="10.10.10.150" monitor_link="1"/>
>                         <postgres-8 config_file="/var/lib/pgsql/data/postgresql.conf" name="pgsql_db" postmaster_user="postgres" shutdown_wait="0"/>
>                         <drbd name="res_drbd" resource="drbd_disk">
>                                 <fs device="/dev/drbd/by-res/drbd_disk" fstype="ext3" mountpoint="/var/lib/pgsql/data" name="fs_pgsql" options="noatime"/>
>                         </drbd>
>                 </resources>
>                 <service autostart="1" exclusive="0" name="mezeo_ha_db" recovery="relocate">
>                         <drbd ref="res_drbd"/>
>                 </service>
>         </rm>

I think you're doing it wrong.
It should be like this:

<resources>
<ip/>
<drbd/>
<fs/>
</resources>

And then:

<service>
  <drbd ref="something">
    <fs ref="something2"/>
  </drbd>
</service>

You aren't supposed to make dependencies in resources section, just in
services section.

Try and please post comments back on the list for other people to see.


-- 
|    Jakov Sosic    |    ICQ: 28410271    |   PGP: 0x965CAE2D   |
=================================================================
|                                                               |





More information about the drbd-user mailing list