[DRBD-user] Problem in Mounting and Umounting during failover.

Achim Stumpf newgrp at gmx.net
Tue Feb 27 15:41:29 CET 2007

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


Lars Ellenberg wrote:
> / 2007-02-27 14:36:32 +0530
> \ Sivaram:
>> Hi All,
>>
>> I am trying to use DRBD and Heartbeat for the first time for my application.
>>
>> DRBD Version : 8.0.0
>> Heartbeat Version: 2.0.8.
>>
>> The problem I am facing was, whenever a failover happens, the Secondary is becoming Primary, but the partition that 
>> I have replicated is not getting mounted. I have configured haresources properly with drbddisk::drbd0 as parameter. 
>> The same is the case even if make a system primary, manually for the first time using --overwrite-data-of-peer.
>>
>> I tried to understand what is being done and tried mounting and unmounting the partition during drbddisk start and 
>> stop operations.
>> It was working. I wanted to know whether this is a valid change, I made in drbddisk or was it something silly I 
>> did??
> 
> less /usr/lib/ocf/resource.d/heartbeat/Filesystem
> 
I think he is using Heartbeat in v1 Style, because of haresources and 
drbddisk::drbd0. So you should look at

http://www.linux-ha.org/GettingStarted/DRBD

Search for Filesystem on that page. That should solve your problems...

Achim








More information about the drbd-user mailing list