[DRBD-user] drbd does not find metadata any more

Michael Schwartzkopff misch at schwartzkopff.org
Thu Nov 26 14:20:05 CET 2020


On 26.11.20 14:07, Adam Goryachev wrote:
> 
> On 26/11/20 23:08, Michael Schwartzkopff wrote:
>> Hi,
>>
>>
>> I tried to upgrade from CentOS 8.0 to 8.1. My installation has a
>> self-compiled DRBD-9.
>>
>> After the upgrade my drbd does not start any more. the Status says:
>>
>> # drbdadm status
>> r0 role:Secondary
>>    disk:Diskless
>>    dev02 connection:StandAlone
>>
>>
>> Trying to attach to the disk tells me:
>>
>> # drbdadm attach r0
>> 1: Failure: (119) No valid meta-data signature found.
>>
>>          ==> Use 'drbdadm create-md res' to initialize meta-data area.
>> <==
>>
>> Command 'drbdsetup attach 1 /dev/vgDev01/drbd /dev/vgDev01/drbd
>> internal' terminated with exit code 10
>>
>>
>> The journal says:
>>
>> Nov 26 13:05:09 dev01.sys4.de kernel: drbd r0/0 drbd1: meta-data IO
>> uses: blk-bio
>> Nov 26 13:05:09 dev01.sys4.de kernel: drbd r0/0 drbd1: ambiguous node
>> id: meta-data: 1, config: 0
>>
>>
>> As far as I can see I have meta-data on my disk:
>>
>> # drbdadm dump-md r0 | head -30
>> # DRBD meta data dump
>> # 2020-11-26 13:06:58 +0100 [1606392418]
>> # xxx.sys4.de> drbdmeta 1 v09 /dev/vgDev01/drbd internal dump-md
>> #
>>
>> version "v09";
>>
>> max-peers 1;
>> # md_size_sect 196680
>> # md_offset 3298534879232
>> # al_offset 3298534846464
>> # bm_offset 3298434183168
>>
>> node-id 1;
>> current-uuid 0x45451CABFEB9894F;
>> flags 0x00000093;
>> peer[0] {
>>      bitmap-index 0;
>>      bitmap-uuid 0xF3394DA3B6073B46;
>>      bitmap-dagtag 0x0000000000000000;
>>      flags 0x00000000;
>> }
>>
>> (...)
>>
>>
>> Any idea how to bring my DRBD to life again?
>>
>> Any help appreciated.
>>
>>
>> Mit freundlichen Grüßen,
>>
> Just a thought, did you check if your drbd 9 kernel module is loaded, or
> is the old drbd 8 kernel module loaded? Check /proc/drbd to see this.
> You might need to re-compile the DRBD9 for the new kernel that was

drbd kernel module loaded and it seems to work:
# cat /proc/drbd
version: 9.0.20-1 (api:2/proto:86-115)
GIT-hash: 7dce3c8be99f4912f1490f9bb37f5aff6c873335 build by
root at dev01.sys4.de, 2019-11-01 13:16:06
Transports (api:16): tcp (9.0.20-1)

Perhaps I really need to recompile DRBD.


Mit freundlichen Grüßen,

-- 

Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0162) 1650044
Fax: (089) 620 304 13

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20201126/7cae52d1/attachment.pgp>


More information about the drbd-user mailing list