[DRBD-user] How to convert existing lvm2 filesystem to use drbd

Bernd Nachtigall bnacht at web.de
Thu Aug 19 08:06:11 CEST 2010

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


Hallo Zusammen,

Bernie Wu schrieb in: "[DRBD-user] How to convert existing lvm2 filesystem 
to use drbd"

(...)
>When I run "drbdadm -c /etc/drbd.conf  create-md all "  I get the 
following error:
>
>/etc/drbd.conf:23: conflicting use of IP '172.27.100.211:7788' ...
>/etc/drbd.conf:12: IP '172.27.100.211:7788' first used here.
>
>Any ideas on how to :
>
(...)
>
>2.      create several resources in /etc/drbd.conf


Hi,

you have to use an own port for any resource.

E.G:

# cat drbd.conf
global {
    disable-ip-verification;
}
common {
    protocol C;
}
resource dbms01 {
    device /dev/drbd01;
    disk   /dev/vgora_dbms/lvdbms01;
    meta-disk internal;
    on lnocsrq1 {
       address 172.27.100.211:7788;
    }
    on lnocsrq2 {
       address 172.27.100.212:7788;
    }
}
resource dbms02 {
    device /dev/drbd02;
    disk   /dev/vgora_dbms/lvdbms02;
    meta-disk internal;
    on lnocsrq1 {
       address 172.27.100.211:7789;
    }
    on lnocsrq2 {
       address 172.27.100.212:7789;
    }
}


Bye Bernd




More information about the drbd-user mailing list