[DRBD-user] drbd wrong lower device doubt

陈楠 chennan.1986 at 163.com
Mon May 21 10:39:13 CEST 2012

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


I configure it like I show. I create metadata on every node and set one disk state to optodate and the other inconsistent, then drbd can sync and heartbeat can failover. Can you tell me the reason? I need the reason to persuade my leader.




在 2012-05-21 16:27:44,"Felix Frank" <ff at mpexnet.de> 写道:
>No.
>
>On 05/21/2012 10:24 AM, 陈楠 wrote:
>> Actually, we just have one resource. /dev/vg01/share and /dev/vg02/share
>> has the same size.
>> Business system A
>> 
>> resource r0 {
>>         meta-disk internal;
>>         device /dev/drbd0;
>>         disk /dev/vg01/share;  # <- Partition A: always vg01
>>         on NodeA {
>>                 address 2.2.2.150:7788;
>>         }
>>         on NodeB {
>> 		address 2.2.2.151:7788;
>>         }
>> }
>> 
>> Business system B
>> 
>> resource r0 {
>>         meta-disk internal;
>>         device /dev/drbd0;
>>         disk /dev/vg02/share;  # <- Partition A: always vg01
>>         on NodeA {
>>                 address 2.2.2.150:7788;
>>         }
>>         on NodeB {
>> 		address 2.2.2.151:7788;
>>         }
>> }
>
>Both nodes:
>
>resource r0 {
>        meta-disk internal;
>        device /dev/drbd0;
>        on NodeA {
>	        disk /dev/vg01/share;
>                address 2.2.2.150:7788;
>        }
>        on NodeB {
>	        disk /dev/vg02/share;
>		address 2.2.2.151:7788;
>        }
>}
>
>It's OK for your nodes to be different, but *do include that in your
>config*. Save yourself from pain down the road.
>
>Regards,
>Felix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120521/77824b20/attachment.htm>


More information about the drbd-user mailing list