[DRBD-user] Can't find metadata after fevert to lvm snapthot

Timofey Koolin timofey at koolin.ru
Thu Jul 31 12:51:04 CEST 2014

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


I have a drbd-disk (/dev/drbd/by-res/test) with internal on lvm thin provisioned volume (/dev/storage/drbd-test).
I have few snapshots for the lvm volume.

Today I have removed the lvm volume and re-create it from a snapshot
drbdadm down test
lvremove /dev/storage/drbd-test
lvcreate -s -n drbd-test storage/drbd-test-my-snapshot
drbdadm up test

And have error:
37: Failure: (119) No valid meta-data signature found.

	==> Use 'drbdadm create-md res' to initialize meta-data area. <==

Command 'drbdsetup 37 disk /dev/storage/drbd-test /dev/storage/drbd-test internal --set-defaults --create-device' terminated with exit code 10

lvm volume contain VPS image and I can load from the lvm-volume directly.

Why drbd can’t find internal metadata on the volume after re-create this?
How I can repair the metadata without create new volume, initialize it and copy all data from old volume?


More information about the drbd-user mailing list