[DRBD-user] WG: adding a new volume to an existing resource

gerry kernan gerry.kernan at infinityit.ie
Thu May 23 12:00:26 CEST 2013

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


Did you create the metadata on the new drbd resource

gerry


-----Original Message-----
From: drbd-user-bounces at lists.linbit.com [mailto:drbd-user-bounces at lists.linbit.com] On Behalf Of Wolfgang Routschka
Sent: 23 May 2013 10:43
To: drbd-user at lists.linbit.com
Subject: [DRBD-user] WG: adding a new volume to an existing resource

Hi Luca,

thanks for yours answer. the lvm volume is active.  After recreating the resource with volumes 0 and 1 - and adding volume 2 after recreating drbadm adjust postfix is correct.

But I doesn´t know what was wrong. 


Greetings Wolfgang


------------------

Hi Wolfgang,

Are you sure /dev/vgsystem/lvpostfixlib is active?

Cheers,
Luca


On Thu, May 23, 2013 at 10:03 AM, Wolfgang Routschka < wolfgang.routschka at drumedar.de> wrote:

Hi Guys,

one question about adding new drbd volume in existing drbd resource.

I´m using compiled drbd-version 8.4.3 on Scientific Linux 6.4 64 Bit with a resource postfix and 2 volumes. Now I want to add a third volume but with exit code 255

configuration

resource postfix {

    volume 0 {
        device  /dev/drbd0;
        disk    /dev/vgsystem/lvpostfixetc;
        meta-disk internal;
    }

    volume 1 {
        device  /dev/drbd1;
        disk    /dev/vgsystem/lvpostfixspool;
        meta-disk internal;
    }

    volume 2 {
        device  /dev/drbd2;
        disk    /dev/vgsystem/lvpostfixlib;
        meta-disk internal;
    }

    syncer {
        rate 200M;
    }

        on  host01 {
                address IP-ADDRESS:7789;
        }
        on host {
                address IP-ADDRESS:7789;
        }
}
and adding the new volume

drbdadm adjust postfix
No valid meta data found
Command 'drbdmeta 2 v08 /dev/vgsystem/lvpostfixlib internal apply-al' terminated with exit code 255

How can I add the new volume?

Greetings Wolfgang

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




More information about the drbd-user mailing list