[DRBD-user] drbd wrong lower device doubt

Felix Frank ff at mpexnet.de
Mon May 21 09:24:22 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.


Hi,

On 05/21/2012 04:12 AM, 陈楠 wrote:
> When I have not configure peer node, drbd service ask me to configure
> peer, when I configure peer node, these keywords must be configured. I
> think ip address meta disk of peer node is useful, but the device of
> peer node is useless in configuration file, right?
> [root at IVE151 ~]# service drbd start 
> /etc/drbd.d/r0.res:8: in resource r0, on IVE150 { ... }: 'disk' keyword
> missing.
> /etc/drbd.d/r0.res:8: in resource r0, on IVE150 { ... }: 'meta-disk'
> keyword missing.
> Starting DRBD resources: /etc/drbd.d/r0.res:8: in resource r0, on IVE150
> { ... }: 'disk' keyword missing.
> /etc/drbd.d/r0.res:8: in resource r0, on IVE150 { ... }: 'meta-disk'
> keyword missing.
> /etc/drbd.d/r0.res:8: in resource r0, on IVE150 { ... }: 'disk' keyword
> missing.
> /etc/drbd.d/r0.res:8: in resource r0, on IVE150 { ... }: 'meta-disk'
> keyword missing.

please just paste the config just as Dan specified to *both* nodes. That
should work.

The idea with the DRBD configs is to tell each node about the whole
picture, and each node will pick the information it needs. That's why it
can even work when each node sees a slightly different picture.
But don't try tricking DRBD, because you will only confuse yourself.
Just install the whole, working config on each of your nodes.

HTH,
Felix

> At 2012-05-18 19:00:24,"Dan Barker" <dbarker at visioncomm.net
> <mailto:dbarker at visioncomm.net>> wrote:
> 
> The configurations SHOULD match to simplify maintenance, but server A
> will completely ignore server B settings, and server B will completely
> ignore server A settings. Your config is being read by the servers as:
> 
>  
> 
> Host A: 
> 
> resource r0 {
> 
>         on ME {
> 
>                 device /dev/drbd0;
> 
>                 disk /dev/vg01/share;
> 
>                 address 2.2.2.150:7788;
> 
>                 meta-disk internal;
> 
>         }
> 
> }
> 
> and Host B is like this:
> 
> resource r0 {
> 
>         on ME {
> 
>                 device /dev/drbd0;
> 
>                 disk /dev/vg02/share;
> 
>                 address 2.2.2.151:7788;
> 
>                 meta-disk internal;
> 
>         }
> 
> }
> 



More information about the drbd-user mailing list