[DRBD-user] metadata upgrade from 0.7.22 to 8.2.5

Jure Pečar pegasus at nerv.eu.org
Thu Mar 20 10:51:13 CET 2008

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


Hello,

I'm following Florian’s blog to upgrade drbd from 0.7.22 to 8.2.5. Now that I've managed to compile latest drbd, I'm stuck at the last step before starting it up, upgrading the metadata.

As I understand, drbdadm should detect the presence of v07 metadata and offer an upgrade. But instead I get this:

# drbdadm create-md drbd0
v08 Magic number not found
md_offset 578730696704
al_offset 578730663936
bm_offset 578713001984

Found ext3 filesystem which uses 565035628 kB
current configuration leaves usable 565149416 kB

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

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

Operation cancelled.

Google suggests these info might be useful to you to figure out the problem.

# drbdmeta /dev/drbd0 v07 /dev/cciss/c0d0p3 internal dump-md
# DRBD meta data dump
# 2008-03-20 10:23:20 +0100 [1206005000]
# grunf.domenca.com> drbdmeta /dev/drbd0 v07 /dev/cciss/c0d0p3 internal dump-md
#

version "v07";

# md_size_sect 262144
# md_offset 578596483072
# al_offset 578596487168
# bm_offset 578596519936

gc {
    5; 2; 1; 52; 4;
}
la-size-sect 1130071256;
# bm-bytes 17657368;
bm {
   # at 0kB
    2207232 times 0x0000000000000000;
}
# bits-set 0;
[root at grunf drbd-8.2.5]# drbdmeta /dev/drbd0 v07 /dev/cciss/c0d0p3 internal show-gi

                                        WantFullSync |
                                  ConnectedInd |     |
                               lastState |     |     |
                      ArbitraryCnt |     |     |     |
                ConnectedCnt |     |     |     |     |
            TimeoutCnt |     |     |     |     |     |
        HumanCnt |     |     |     |     |     |     |
Consistent |     |     |     |     |     |     |     |
   --------+-----+-----+-----+-----+-----+-----+-----+
       1/c |   2 |   1 |  52 |   4 | 0/s | 1/c | 0/n

last agreed size: 538 GB


Any hints?


-- 

Jure Pečar
http://jure.pecar.org



More information about the drbd-user mailing list