drbd-user March 2010 archive
Main Archive Page > Month Archives  > drbd-user archives
drbd-user: Re: [DRBD-user] Help with config

Re: [DRBD-user] Help with config

From: Cameron Smith <velvetpixel_at_nospam>
Date: Mon Mar 15 2010 - 15:07:23 GMT
To: drbd-user@lists.linbit.com

On Sun, Mar 14, 2010 at 6:59 PM, Cameron Smith <velvetpixel@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?

_______________________________________________
drbd-user mailing list
drbd-user@lists.linbit.com
http://lists.linbit.com/mailman/listinfo/drbd-user