[DRBD-user] DRBD over an existing filesystem

Philipp Reisner philipp.reisner at linbit.com
Fri Mar 26 15:23:14 CET 2004


Am Freitag, 26. März 2004 14:48 schrieb Lars Ellenberg:
> / 2004-03-26 18:39:36 +0530
>
> \ En Chiang Lee:
> > This is what I got: (there is no size field in drbd.conf)
> >
> > [root at dlssi3 root]# drbdadm down all
> > [root at dlssi3 root]# fdisk -s /dev/hde6
> > 1004031
> > [root at dlssi3 root]# dd if=/dev/zero of=/dev/hde5 bs=512 count=1
> > 1+0 records in
> > 1+0 records out
> > [root at dlssi3 root]# drbdadm up all
> > [root at dlssi3 root]# checkout/drbd/testing/read_gc.pl
> >                                      ConnectedInd |
> >                                   lastState |     |
> >                          ArbitraryCnt |     |     |
> >                    ConnectedCnt |     |     |     |
> >                TimeoutCnt |     |     |     |     |
> >            HumanCnt |     |     |     |     |     |
> >    Consistent |     |     |     |     |     |     |
> > resource|     |     |     |     |     |     |     |   Size
> > --------+-----+-----+-----+-----+-----+-----+-----+----------+
> > state file corrupt at checkout/drbd/testing/read_gc.pl line 39.
>
> the drbdadm up all *should* have created new meta data.
> read_gc.pl says meta data is corrupt.
> so there is already something wrong at this stage.
> unload/reload the module before you do the drbdadm up.
>
> have a look into syslog or dmesg | tail
> after the drbdadm up.
>

Maybe there is something wrong with -pre5's read_gc.pl, or 
the metadata handling in -pre5. I will release -pre6 over
the weekend.

-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