[DRBD-user] what have i done

Philipp Reisner philipp.reisner at linbit.com
Tue Apr 6 15:14:20 CEST 2004

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


On Tuesday 06 April 2004 15:05, Gad wrote:
> hello everbody!!
>
> I have drbd version: 0.6.1-pre14 (api:58/proto:61) on RedHat 7.2. It

Please upgrade to drbd-0.6.12  !

> worked great till i screw this up.
> from the beginning;
>
> I had /dev/nb0 and on new discs I created /dev/nb1. After that I removed
> drbd0 from my drbd.conf file and only /dev/nb1 was working. Then I've
> changed drbd1 in conf file to drbd0 and /dev/nb1 to /dev/nb0 . Since
> this operation i have state contradition to GC's error in logs and if I
> start primary node and then secondary it is StandAlone. When i reconnect
> them everything looks ok. But I know that /var/lib/drbd/drbd0 file is
> not for this instance of drbd (it is for old drbd0 which i've removed).
> My question is what should I do to correct this all mess?.
> Should I stop drbd and remove matedata files? 

Yes.

> and when i start drbd new 
> /var/lib/drbd/ file will be created and everything will work ok?

Right.

-Philipp
-- 
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Schönbrunnerstr 244, 1120 Vienna, Austria    http://www.linbit.com :



More information about the drbd-user mailing list