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

James Perry jperry at mezeo.com
Fri Dec 4 15:56:06 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.


Hi Jakov,

Thanks, I finally did realize my mistake.  I was looking at a sample from the LinBit site (http://www.drbd.org/users-guide/s-rhcs-failover-clusters.html)

I now only have one other issue with getting Postgres to startup and I think things will be working.

On Dec 4, 2009, at 3:55 AM, Jakov Sosic wrote:

> 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   |
> =================================================================
> |                                                               |
> 
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user






More information about the drbd-user mailing list