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

Adam Goryachev mailinglists at websitemanagers.com.au
Thu Nov 26 14:07:11 CET 2020


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 
installed with the upgrade.

Hope that helps...

Regards,
Adam



More information about the drbd-user mailing list