{"id":2933,"date":"2022-07-10T17:05:31","date_gmt":"2022-07-10T08:05:31","guid":{"rendered":"https:\/\/www.kinryo.net\/?p=2933"},"modified":"2022-07-10T18:24:13","modified_gmt":"2022-07-10T09:24:13","slug":"block-drbd0-unrelated-data-aborting-%e3%81%a8%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%8c%e5%87%ba%e3%81%9f","status":"publish","type":"post","link":"https:\/\/www.kinryo.net\/?p=2933","title":{"rendered":"block drbd0: Unrelated data, aborting! \u3068\u30a8\u30e9\u30fc\u304c\u51fa\u305f"},"content":{"rendered":"<p>\u4eca\u65e5\u3001primary \u5074\u304c StandAlone \u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3001Secondary \u5074\u3067<br \/>\n<span style=\"color: #008000;\"><span style=\"color: #ff6600;\">#<\/span> drbdadm &#8211; &#8211;\u00a0 &#8211; -discard-my-data connect r0<\/span><br \/>\n\u3067 primary \u5074\u3067<br \/>\n<span style=\"color: #008000;\"><span style=\"color: #ff6600;\">#<\/span> drbdadm connect r0<\/span><br \/>\n\u3068\u3057\u3066\u3082\u3001\u4e21\u65b9\u5171 StandAlone \u306e\u307e\u307e\u3060\uff01\u306a\u306e\u3067\u30ed\u30b0\u3092\u898b\u308b(\u629c\u7c8b \/var\/log\/message)\u3068<br \/>\n<span style=\"color: #ff6600;\">kernel: block drbd0: uuid_compare()=-1000 by rule 100<\/span><br \/>\n<span style=\"color: #ff6600;\">kernel: block drbd0: Unrelated data, aborting!<\/span><br \/>\n\u3068\u306a\u3063\u3066\u3044\u308b\uff01\u3002\u3069\u3046\u3082\u53c8\u30e1\u30bf\u30c7\u30fc\u30bf\u30fc\u304c\u304a\u304b\u3057\u3044\u307f\u305f\u3044\u3002<br \/>\n\u306a\u306e\u3067\u3001Secondary \u5074\u3067\uff08\u53c2\u8003\uff1ahttps:\/\/support.sciencelogic.com\/s\/article\/3518\uff09DRBD\u3092\u6b62\u3081\u3001\u4f5c\u696d\u3092\u3059\u308b\u3002<br \/>\n<span style=\"color: #008000;\"><span style=\"color: #ff6600;\">#<\/span> systemctl stop drbd<\/span><br \/>\n<span style=\"color: #008000;\"><span style=\"color: #ff6600;\">#<\/span> drbdadm down r0<\/span><br \/>\n<span style=\"color: #008000;\"><span style=\"color: #ff6600;\">#<\/span> drbdadm wipe-md r0<\/span><br \/>\n<span style=\"color: #ff6600;\">Do you really want to wipe out the DRBD meta data?<\/span><br \/>\n<span style=\"color: #ff6600;\">[need to type &#8216;yes&#8217; to confirm]<\/span> <span style=\"color: #008000;\">yes<\/span><br \/>\n<span style=\"color: #ff6600;\">Wiping meta data&#8230;<\/span><br \/>\n<span style=\"color: #ff6600;\">DRBD meta data block successfully wiped out.<\/span><br \/>\n<span style=\"color: #ff6600;\">Do you really want to wipe out the DRBD meta data?<\/span><br \/>\n<span style=\"color: #ff6600;\">[need to type &#8216;yes&#8217; to confirm]<\/span> <span style=\"color: #008000;\">yes<\/span><br \/>\n<span style=\"color: #ff6600;\">Wiping meta data&#8230;<\/span><br \/>\n<span style=\"color: #ff6600;\">DRBD meta data block successfully wiped out.<\/span><br \/>\n<span style=\"color: #008000;\"><span style=\"color: #ff6600;\">#<\/span> drbdadm create-md r0<\/span><br \/>\n<span style=\"color: #ff6600;\">md_offset 53687087104<\/span><br \/>\n<span style=\"color: #ff6600;\">al_offset 53687054336<\/span><br \/>\n<span style=\"color: #ff6600;\">bm_offset 53685415936<\/span><\/p>\n<p><span style=\"color: #ff6600;\">Found xfs filesystem<\/span><br \/>\n<span style=\"color: #ff6600;\">52427164 kB data area apparently used<\/span><br \/>\n<span style=\"color: #ff6600;\">52427164 kB left usable by current configuration<\/span><\/p>\n<p><span style=\"color: #ff6600;\">Even though it looks like this would place the new meta data into<\/span><br \/>\n<span style=\"color: #ff6600;\">unused space, you still need to confirm, as this is only a guess.<\/span><\/p>\n<p><span style=\"color: #ff6600;\">Do you want to proceed?<\/span><br \/>\n<span style=\"color: #ff6600;\">[need to type &#8216;yes&#8217; to confirm]<\/span> <span style=\"color: #008000;\">yes<\/span><\/p>\n<p><span style=\"color: #ff6600;\">initializing activity log<\/span><br \/>\n<span style=\"color: #ff6600;\">initializing bitmap (1600 KB) to all zero<\/span><br \/>\n<span style=\"color: #ff6600;\">Writing meta data&#8230;<\/span><br \/>\n<span style=\"color: #ff6600;\">New drbd meta data block successfully created.<\/span><br \/>\n<span style=\"color: #ff6600;\">success<\/span><br \/>\n<span style=\"color: #ff6600;\">md_offset 53687087104<\/span><br \/>\n<span style=\"color: #ff6600;\">al_offset 53687054336<\/span><br \/>\n<span style=\"color: #ff6600;\">bm_offset 53685415936<\/span><\/p>\n<p><span style=\"color: #ff6600;\">Found xfs filesystem<\/span><br \/>\n<span style=\"color: #ff6600;\">52427164 kB data area apparently used<\/span><br \/>\n<span style=\"color: #ff6600;\">52427164 kB left usable by current configuration<\/span><\/p>\n<p><span style=\"color: #ff6600;\">Even though it looks like this would place the new meta data into<\/span><br \/>\n<span style=\"color: #ff6600;\">unused space, you still need to confirm, as this is only a guess.<\/span><\/p>\n<p><span style=\"color: #ff6600;\">Do you want to proceed?<\/span><br \/>\n<span style=\"color: #ff6600;\">[need to type &#8216;yes&#8217; to confirm]<\/span> <span style=\"color: #008000;\">yes<\/span><\/p>\n<p><span style=\"color: #ff6600;\">initializing activity log<\/span><br \/>\n<span style=\"color: #ff6600;\">initializing bitmap (1600 KB) to all zero<\/span><br \/>\n<span style=\"color: #ff6600;\">Writing meta data&#8230;<\/span><br \/>\n<span style=\"color: #ff6600;\">New drbd meta data block successfully created.<\/span><br \/>\n<span style=\"color: #ff6600;\">success<\/span><br \/>\n<span style=\"color: #ff6600;\"># <span style=\"color: #008000;\">drbdadm up r0<\/span><\/span><br \/>\n<span style=\"color: #ff6600;\">#<span style=\"color: #008000;\"> drbdadm disconnect r0<\/span><\/span><br \/>\n<span style=\"color: #ff6600;\">#<span style=\"color: #008000;\"> drbdadm connect r0<\/span><\/span><br \/>\n<span style=\"color: #ff6600;\"># <span style=\"color: #008000;\">cat \/proc\/drbd<\/span><\/span><br \/>\n<span style=\"color: #ff6600;\">version: 8.4.11-1 (api:1\/proto:86-101)<\/span><br \/>\n<span style=\"color: #ff6600;\">GIT-hash: 66145a308421e9c124ec391a7848ac20203bb03c build by mockbuild@, 2020-04-05 02:58:18<\/span><br \/>\n<span style=\"color: #ff6600;\">0: cs:SyncTarget ro:Secondary\/Primary ds:Inconsistent\/UpToDate C r&#8212;&#8211;<\/span><br \/>\n<span style=\"color: #ff6600;\">ns:0 nr:7700 dw:23928 dr:0 al:8 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:52407248<\/span><br \/>\n<span style=\"color: #ff6600;\">[&gt;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..] sync&#8217;ed: 0.1% (51176\/51184)M<\/span><br \/>\n<span style=\"color: #ff6600;\">finish: 14:09:11 speed: 996 (996) want: 1,480 K\/sec<\/span><br \/>\n<span style=\"color: #ff6600;\">1: cs:SyncTarget ro:Secondary\/Primary ds:Inconsistent\/UpToDate C r&#8212;&#8211;<\/span><br \/>\n<span style=\"color: #ff6600;\">ns:0 nr:16384 dw:49500 dr:0 al:8 bm:0 lo:1 pe:1 ua:0 ap:0 ep:1 wo:f oos:52378012<\/span><br \/>\n<span style=\"color: #ff6600;\">[&gt;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..] sync&#8217;ed: 0.1% (51148\/51164)M<\/span><br \/>\n<span style=\"color: #ff6600;\">finish: 6:12:36 speed: 2,340 (2,340) want: 3,880 K\/sec<\/span><br \/>\n\u3068\u30b7\u30f3\u30af\u30ed\u304c\u59cb\u307e\u3063\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u65e5\u3001primary \u5074\u304c StandAlone \u306b\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3001Secondary \u5074\u3067 # drbdadm &#8211; &#8211;\u00a0 &#8211; -discard-my-data connect r0  &hellip; <a href=\"https:\/\/www.kinryo.net\/?p=2933\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"vkexunit_cta_each_option":"","footnotes":""},"categories":[20],"tags":[],"class_list":["post-2933","post","type-post","status-publish","format-standard","hentry","category-drbdcentos7"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/2933","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2933"}],"version-history":[{"count":5,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/2933\/revisions"}],"predecessor-version":[{"id":2938,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/2933\/revisions\/2938"}],"wp:attachment":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2933"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2933"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}