[DRBD-user] Failing to convert metadata from 0.7.2x to 8.0.1

Jens Beyer jbe at webde.de
Fri Mar 9 12:28:50 CET 2007

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


Hi,

I'm trying to migrate an existing drbd-0.7 volume to 8.0,
but seem to miss something:

I took the drbd(-0.7) offline and updated to 8.0.
To convert the metadata I call

#> drbdadm create-md r1
(or :
   #> drbdmeta /dev/drbd1 v08 /dev/VG/LV2 internal create-md
)

Both giving me:

#> drbdadm create-md r1
v08 Magic number not found
v07 Magic number not found
About to create a new drbd meta data block
on /dev/VG/LV2.

 ==> This might destroy existing data! <==

Do you want to proceed?
[need to type 'yes' to confirm] no
#>

If I say yes at this point data is 'inconsistent' (and I have 
to downgrade to 0.7 to resync).

If I just look at the metadata everything seems fine:

#> ./drbdmeta /dev/drbd1 v07 /dev/VG/LV2 internal dump-md
version "v07";

gc {
    5; 5; 9; 183; 33;
}
la-size-sect 976832262;
# bm-bytes 15263008;
# bits-set 0;
bm {
   # at 0kB
    0x0000000000000000; 0x0000000000000000; 0x0000000000000000; 0x0000000000000000;
    1907872 times 0x0000000000000000;
    0x0000000000000000;
}

On another host I have external metadata for one attached drbd and internal for another;
only the external seems to be found and offered for conversion.

What am I doing wrong ?

Thanks,
Jens

-- 
Dr. Jens Beyer
IT-Systemarchitekt

1&1 Internet AG IT-Portal
Brauerstrasse 48 - D-76135 Karlsruhe
Tel. +49-721-91374-4245
jens.beyer at webde.de - http://web.de



More information about the drbd-user mailing list