[DRBD-user] Procedure to convert internal to external meta data

Caspar Smit c.smit at truebit.nl
Wed Oct 13 10:21:43 CEST 2010

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


Hi all,

Is there a procedure to convert internal meta data to external meta
data without loosing any data?

I was thinking of something like this:

1. drbdadm down r0
2. drbdadm dump-md r0 >/tmp/metadata
3. edit config for r0 changing internal to external metadata.
4. drbdadm create-md r0
5. drbdmeta_cmd=$(drbdadm -d dump-md test-disk)
    ${drbdmeta_cmd/dump-md/restore-md} /tmp/metadata

6. repeat steps 1-5 on the other node
7. drbdadm up r0 (both nodes)

Is this the way to go?

Kind regards,
Caspar Smit



More information about the drbd-user mailing list