<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Anybody know what this means?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">ha11b:~ # drbdadm attach ha01_mysql<o:p></o:p></p>
<p class="MsoNormal">Device '0' is configured!<o:p></o:p></p>
<p class="MsoNormal">Command 'drbdmeta 0 v09 /dev/md2 internal apply-al' terminated with exit code 20<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">DRBD starts and connects, but does not stay connected.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here are the relevant log entries when drbd starts…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m using drbd 9.0.1 (which is what came with SLE 12 SP2). <o:p>
</o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.536737-07:00 ha11b kernel: [352331.438176] drbd: initialized. Version: 9.0.1-1 (api:2/proto:86-111)<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.536746-07:00 ha11b kernel: [352331.438178] drbd: GIT-hash: 86e443973082570aeb651848db89e0c7b995c306 build by abuild<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.536747-07:00 ha11b kernel: [352331.438178] drbd: registered as block device major 147<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.541488-07:00 ha11b drbd[31266]: Starting DRBD resources: [<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.542640-07:00 ha11b kernel: [352331.443664] drbd ha01_mysql: Starting worker thread (from drbdsetup [31283])<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.543248-07:00 ha11b drbd[31266]: create res: ha01_mysql ha02_mysql<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.544119-07:00 ha11b kernel: [352331.444514] drbd ha02_mysql: Starting worker thread (from drbdsetup [31285])<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.545566-07:00 ha11b drbd[31266]: prepare disk: ha01_mysql ha02_mysql<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.580074-07:00 ha11b kernel: [352331.481387] drbd ha01_mysql/0 drbd0: disk( Diskless -> Attaching )<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.580082-07:00 ha11b kernel: [352331.481407] drbd ha01_mysql/0 drbd0: Maximum number of peer devices = 1<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.580083-07:00 ha11b kernel: [352331.481498] drbd ha01_mysql: Method to ensure write ordering: flush<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.580083-07:00 ha11b kernel: [352331.481500] drbd ha01_mysql/0 drbd0: peer DRBD too old, does not support TRIM: disabling discards<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.580084-07:00 ha11b kernel: [352331.481503] drbd ha01_mysql/0 drbd0: drbd_bm_resize called with capacity == 2348696088<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.604146-07:00 ha11b kernel: [352331.502823] drbd ha01_mysql/0 drbd0: resync bitmap: bits=293587011 words=4587298 pages=8960<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.632173-07:00 ha11b kernel: [352331.530122] drbd ha01_mysql/0 drbd0: recounting of set bits took additional 12ms<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.632180-07:00 ha11b kernel: [352331.530135] drbd ha01_mysql/0 drbd0: disk( Attaching -> Inconsistent )<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.632181-07:00 ha11b kernel: [352331.530139] drbd ha01_mysql/0 drbd0: attached to current UUID: 0000000000000004<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.648149-07:00 ha11b kernel: [352331.547708] drbd ha02_mysql/0 drbd1: disk( Diskless -> Attaching )<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.648167-07:00 ha11b kernel: [352331.547723] drbd ha02_mysql/0 drbd1: Maximum number of peer devices = 1<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.648168-07:00 ha11b kernel: [352331.547835] drbd ha02_mysql: Method to ensure write ordering: flush<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.648169-07:00 ha11b kernel: [352331.547838] drbd ha02_mysql/0 drbd1: peer DRBD too old, does not support TRIM: disabling discards<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.648169-07:00 ha11b kernel: [352331.547842] drbd ha02_mysql/0 drbd1: drbd_bm_resize called with capacity == 2348788240<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.668017-07:00 ha11b kernel: [352331.569562] drbd ha02_mysql/0 drbd1: resync bitmap: bits=293598530 words=4587478 pages=8960<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.712116-07:00 ha11b kernel: [352331.613044] drbd ha02_mysql/0 drbd1: recounting of set bits took additional 12ms<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.712131-07:00 ha11b kernel: [352331.613064] drbd ha02_mysql/0 drbd1: disk( Attaching -> Inconsistent )<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.712132-07:00 ha11b kernel: [352331.613069] drbd ha02_mysql/0 drbd1: attached to current UUID: 0000000000000004<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.713772-07:00 ha11b drbd[31266]: adjust disk: ha01_mysql ha02_mysql<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.719525-07:00 ha11b drbd[31266]: prepare net: ha01_mysql ha02_mysql<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.720100-07:00 ha11b kernel: [352331.618877] drbd ha01_mysql ha11a: Starting sender thread (from drbdsetup [31324])<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.720106-07:00 ha11b kernel: [352331.620205] drbd ha02_mysql ha11a: Starting sender thread (from drbdsetup [31331])<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.720107-07:00 ha11b kernel: [352331.621559] drbd ha01_mysql ha11a: conn( StandAlone -> Unconnected )<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.720997-07:00 ha11b drbd[31266]: attempt to connect: ha01_mysql ha02_mysql<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.721228-07:00 ha11b drbd[31266]: ]<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.724015-07:00 ha11b kernel: [352331.622425] drbd ha02_mysql ha11a: conn( StandAlone -> Unconnected )<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.724021-07:00 ha11b kernel: [352331.623610] drbd ha01_mysql ha11a: Starting receiver thread (from drbd_w_ha01_mys [31284])<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.724022-07:00 ha11b kernel: [352331.623781] drbd ha01_mysql ha11a: conn( Unconnected -> Connecting )<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.724023-07:00 ha11b kernel: [352331.625495] drbd ha02_mysql ha11a: Starting receiver thread (from drbd_w_ha02_mys [31286])<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:34.724023-07:00 ha11b kernel: [352331.625568] drbd ha02_mysql ha11a: conn( Unconnected -> Connecting )<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.224439-07:00 ha11b kernel: [352332.122298] drbd ha01_mysql ha11a: Handshake successful: Agreed network protocol version 111<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.224456-07:00 ha11b kernel: [352332.122302] drbd ha01_mysql ha11a: Feature flags enabled on protocol level: 0x7 TRIM THIN_RESYNC WRITE_SAME.<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.224458-07:00 ha11b kernel: [352332.122318] drbd ha01_mysql ha11a: Starting ack_recv thread (from drbd_r_ha01_mys [31337])<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.228378-07:00 ha11b kernel: [352332.126320] drbd ha02_mysql ha11a: Handshake successful: Agreed network protocol version 111<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.228384-07:00 ha11b kernel: [352332.126325] drbd ha02_mysql ha11a: Feature flags enabled on protocol level: 0x7 TRIM THIN_RESYNC WRITE_SAME.<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.228385-07:00 ha11b kernel: [352332.126340] drbd ha02_mysql ha11a: Starting ack_recv thread (from drbd_r_ha02_mys [31342])<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.288178-07:00 ha11b kernel: [352332.186384] drbd ha01_mysql ha11a: Preparing remote state change 2511193179 (primary_nodes=0, weak_nodes=0)<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.288186-07:00 ha11b kernel: [352332.187104] drbd ha01_mysql ha11a: Committing remote state change 2511193179<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.288187-07:00 ha11b kernel: [352332.187125] drbd ha01_mysql ha11a: conn( Connecting -> Connected ) peer( Unknown -> Secondary )<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.300174-07:00 ha11b kernel: [352332.198377] drbd ha02_mysql ha11a: Preparing remote state change 2545644491 (primary_nodes=0, weak_nodes=0)<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.300184-07:00 ha11b kernel: [352332.199095] drbd ha02_mysql ha11a: Committing remote state change 2545644491<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.300186-07:00 ha11b kernel: [352332.199116] drbd ha02_mysql ha11a: conn( Connecting -> Connected ) peer( Unknown -> Secondary )<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.304180-07:00 ha11b kernel: [352332.201766] drbd ha01_mysql/0 drbd0: peer DRBD too old, does not support TRIM: disabling discards<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.304189-07:00 ha11b kernel: [352332.201779] drbd ha01_mysql/0 drbd0 ha11a: drbd_sync_handshake:<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.304191-07:00 ha11b kernel: [352332.201782] drbd ha01_mysql/0 drbd0 ha11a: self 0000000000000004:0000000000000000:0000000000000000:0000000000000000 bits:0 flags:0<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.304192-07:00 ha11b kernel: [352332.201784] drbd ha01_mysql/0 drbd0 ha11a: peer 0000000000000004:0000000000000000:0000000000000000:0000000000000000 bits:0 flags:124<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.304193-07:00 ha11b kernel: [352332.201786] drbd ha01_mysql/0 drbd0 ha11a: uuid_compare()=0 by rule 10<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.304194-07:00 ha11b kernel: [352332.201801] drbd ha01_mysql/0 drbd0 ha11a: pdsk( DUnknown -> Inconsistent ) repl( Off -> Established )<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.322129-07:00 ha11b drbd[31266]: WARN: stdin/stdout is not a TTY; using /dev/consoledrbdadm: Unknown command 'sh-b-pri'<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.322355-07:00 ha11b drbd[31266]: .<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.324038-07:00 ha11b kernel: [352332.221724] drbd ha02_mysql/0 drbd1: peer DRBD too old, does not support TRIM: disabling discards<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.324045-07:00 ha11b kernel: [352332.221734] drbd ha02_mysql/0 drbd1 ha11a: drbd_sync_handshake:<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.324046-07:00 ha11b kernel: [352332.221737] drbd ha02_mysql/0 drbd1 ha11a: self 0000000000000004:0000000000000000:0000000000000000:0000000000000000 bits:0 flags:0<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.324047-07:00 ha11b kernel: [352332.221739] drbd ha02_mysql/0 drbd1 ha11a: peer 0000000000000004:0000000000000000:0000000000000000:0000000000000000 bits:0 flags:124<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.324048-07:00 ha11b kernel: [352332.221741] drbd ha02_mysql/0 drbd1 ha11a: uuid_compare()=0 by rule 10<o:p></o:p></p>
<p class="MsoNormal">2017-07-18T14:39:35.324048-07:00 ha11b kernel: [352332.221755] drbd ha02_mysql/0 drbd1 ha11a: pdsk( DUnknown -> Inconsistent ) repl( Off -> Established )<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">--<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Eric Robinson<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>