[DRBD-user] Help with config

Cameron Smith velvetpixel at gmail.com
Mon Mar 15 16:07:23 CET 2010

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


On Sun, Mar 14, 2010 at 6:59 PM, Cameron Smith <velvetpixel at gmail.com>wrote:

> The partition I want drbd to match to secondary is / and it is at
> /dev/sda2.
>
> Is this the correct syntax?
>
>
> resource r0 {
> on clst01 {
>   device    /;
>   disk      /dev/sda2;
>   address   10.1.1.31:7789;
>   meta-disk internal;
> }
> on clst02 {
>   device    /;
>   disk      /dev/sda2;
>   address   10.1.1.32:7789;
>   meta-disk internal;
> }
>
>
> Also how do I reference the external location if I am using a
> separate partition for drbd meta data?
>


OK That must be wrong as I get:

" drbdadm create-md r0
/ is not a block device!
Command 'drbdmeta / v08 /dev/sda2 internal create-md' terminated with exit
code 20
drbdadm aborting"


How do I set root partition to be the source of the resource?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20100315/b999a562/attachment.htm>


More information about the drbd-user mailing list