Hello, I am trying to setup drbd volumes on top of LVM logical volumes and want to keep the existing data on the logical volumes. I found a HOWTO for that, but when I try to create the metadata with 'drbdadm create- md', I get:
md_offset 0 al_offset 4096 bm_offset 36864 Found some data ==> This might destroy existing data! <== Do you want to proceed? [need to type 'yes' to confirm] And a test on a less important machine showed that it really destroyed data. This is my resource file: resource jovelin { volume 1 { device /dev/drbd1; disk /dev/vg0/home; flexible-meta-disk /dev/vg0/home_metadata; } volume 2 { device /dev/drbd2; disk /dev/vg0/vservers; flexible-meta-disk /dev/vg0/vservers_metadata; } on tristan { address 129.217.5.65:7789; } on isolde { address 129.217.5.66:7789; } } Why does drbdadm create-md destroy data on the logical volume, though I defined metadata to be an external volume? What can I do now to create the drbd device without losing data? Regards Christoph _______________________________________________ Star us on GITHUB: https://github.com/LINBIT drbd-user mailing list drbd-user@lists.linbit.com https://lists.linbit.com/mailman/listinfo/drbd-user