[DRBD-user] DRBD over an existing filesystem

Lars Ellenberg Lars.Ellenberg at linbit.com
Fri Mar 26 14:48:00 CET 2004

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


/ 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.


	Lars Ellenberg



More information about the drbd-user mailing list