cannot create-md on DRBD with external meta-disk

Lutz Griesbach lgr at elgonzo.com
Fri Jun 1 14:55:07 UTC 2012


Hi there

Fedora17 with drbd 8.3.11 an i am trying to create a resource with
external meta-disk:

resource cos62 {
        #meta-disk internal;
        meta-disk /dev/vg_drbd/lv-cos62-drbd-meta;
        disk    /dev/vg_drbd/lv-cos62-drbd;

        on fed17-1 {
                address 10.1.1.23:7789;
                device /dev/drbd0;
        }
        on fed17-2 {
                address 10.1.1.24:7789;
                device /dev/drbd0;
        }
}


the meta-disk is an existing LVM. When i try to create the meta-disk i
get an error:

[root at fed17-1 ~]# drbdadm -vvv create-md cos62
drbd.d/centos62.res:2: Parse error: '[' expected,
        but got ';' (TK 59)


The syntax is correct (if i use "internal" for meta-disk, i get no
parser errors and the md is created) and the LV does exist.

Any hints why this might happen?

Cheers,

Lutz


More information about the users mailing list