[DRBD-user] LV becomes non-allocatable on other primary

himanshu padmanabhi himanshu.padmanabhi at gmail.com
Tue May 5 13:21:07 CEST 2009

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

Here's my drbd.conf

resource "res1" {
        protocol C;
        startup {

                wfc-timeout     0;
                degr-wfc-timeout        120;
        disk {
                on-io-error     detach;
        net {
        syncer {
                rate 15M;
        on "machine1systems.com"
                device  /dev/drbd0;
                disk    /dev/sdd;
                meta-disk       internal;
        on "machine2.systems.com"
                device  /dev/drbd0;
                disk    /dev/sde;
                meta-disk       internal;

service drbd start
drbdadm adjust res1(on both sides)
drbdadm primary res1(on both sides)

pvcreate /dev/drbd0
vgcreate drbdtest /dev/drbd0
lvcreate -n drbdlv1 -L 50M drbdtest

I faced 2 problems on *other primary side*,

1. drbdlv1 has attributes as '-wi---' and not '-wi-a-'.I need to do
'lvchange' here to activate it.
    Is there any way that  I can maintain their active state here?

2. PV,VG and LV are appears quite late,after 3-4 minutes.Why is this much
delay,operation being synchronous?
Thanks and Regards,
Himanshu Padmanabhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090505/b437515e/attachment.htm>

More information about the drbd-user mailing list