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)
I tried these steps on a demo setup but it doesn't work like this.
Everything looks okay until i do the 'drbdadm up' command
I get the following error:
# drbdadm up r0
0: Failure: (111) Low.dev. smaller than requested DRBD-dev. size.
Command 'drbdsetup 0 disk /dev/md0 /dev/sda6 0 --set-defaults
--create-device --on-io-error=detach' terminated with exit code 10
Is there a way to fix this?
Kind regards,
Caspar Smit