<html><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:10pt"><div><span>Hi Dan,</span></div><div><span><br></span></div><div><span>Thanks for the reply.</span></div><div><span><br></span></div><div><span>Another question, is there any different where I run the drbdadm verify <resource> ? Or I should always run on secondary server?</span></div><div><span><br></span></div><div>Regards</div><div>Louis</div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-size: 10pt; font-family: verdana, helvetica, sans-serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Dan Barker <dbarker@visioncomm.net><br><b><span style="font-weight: bold;">To:</span></b>
mailtolouis2020-forum@yahoo.com<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, October 6, 2011 4:50 PM<br><b><span style="font-weight: bold;">Subject:</span></b> RE: [DRBD-user] Online Verification<br></font><br><div id="yiv1412143322"><style><!--
#yiv1412143322
_filtered #yiv1412143322 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;}
_filtered #yiv1412143322 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
_filtered #yiv1412143322 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
_filtered #yiv1412143322 {font-family:Verdana;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv1412143322
#yiv1412143322 p.yiv1412143322MsoNormal, #yiv1412143322 li.yiv1412143322MsoNormal, #yiv1412143322 div.yiv1412143322MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"serif";}
#yiv1412143322 a:link, #yiv1412143322 span.yiv1412143322MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv1412143322 a:visited, #yiv1412143322 span.yiv1412143322MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv1412143322 span.yiv1412143322EmailStyle17
        {font-family:"sans-serif";color:#1F497D;}
#yiv1412143322 .yiv1412143322MsoChpDefault
        {font-size:10.0pt;}
_filtered #yiv1412143322 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv1412143322 div.yiv1412143322WordSection1
        {}
--></style><div><div class="yiv1412143322WordSection1"><div class="yiv1412143322MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">No, on the secondary do a drbdadm <resource> disconnect and then a reconnect. The “reconnection” starts the resync. Note, if you are dual primary, it won’t resync. That would require demoting a node to secondary, disconnect, connect, primary.</span></div><div class="yiv1412143322MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div class="yiv1412143322MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; ">Dan</span></div><div class="yiv1412143322MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: sans-serif; "> </span></div><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in;"><div
class="yiv1412143322MsoNormal"><b><span style="font-size: 10pt; font-family: sans-serif; ">From:</span></b><span style="font-size: 10pt; font-family: sans-serif; "> drbd-user-bounces@lists.linbit.com [mailto:drbd-user-bounces@lists.linbit.com] <b>On Behalf Of </b>mailtolouis2020-forum@yahoo.com<br><b>Sent:</b> Thursday, October 06, 2011 10:15 AM<br><b>To:</b> DRBD<br><b>Subject:</b> [DRBD-user] Online Verification</span></div></div></div><div class="yiv1412143322MsoNormal"> </div><div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="color: black; font-family: sans-serif; ">Hi,</span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="color: black; font-family: sans-serif; "> </span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="color: black; font-family: sans-serif; ">I did the online verifcation, and from the log I can see it
is out of sync, so my question is will drbd automatically resync it after online verification?</span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="color: black; font-family: sans-serif; "> </span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="color: black; font-family: sans-serif; ">Here is my log:</span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="color: black; font-family: sans-serif; "> </span></div></div><div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:07:50 server4 kernel: block drbd3: Starting Online Verify from sector 0</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt;
color: black; font-family: sans-serif; ">Oct 6 13:14:54 server4 kernel: ata1.00: exception Emask 0x50 SAct 0x0 SErr 0x90a02 action 0xe frozen</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:14:54 server4 kernel: ata1.00: irq_stat 0x00400000, PHY RDY changed</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:14:54 server4 kernel: ata1: SError: { RecovComm Persist HostInt PHYRdyChg 10B8B }</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family:
sans-serif; ">Oct 6 13:14:54 server4 kernel: ata1.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:14:54 server4 kernel: res 40/00:54:a4:fc:fb/00:00:1d:00:00/40 Emask 0x50 (ATA bus error)</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:14:54 server4 kernel: ata1.00: status: { DRDY }</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct
6 13:14:54 server4 kernel: ata1: hard resetting link</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:15:00 server4 kernel: ata1: softreset failed (device not ready)</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:15:00 server4 kernel: ata1: failed due to HW bug, retry pmp=0</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:15:01 server4 kernel: ata1: SATA link up 3.0 Gbps (SStatus 123 SControl
300)</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:15:01 server4 kernel: ata1.00: configured for UDMA/133</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:15:01 server4 kernel: ata1: EH complete</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:15:01 server4 kernel: SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div
class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:15:01 server4 kernel: sda: Write Protect is off</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:15:01 server4 kernel: SCSI device sda: drive cache: write back</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:26:57 server4 kernel: block drbd3: Out of sync: start=56079768, size=8 (sectors)</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span
style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:26:59 server4 kernel: block drbd3: Out of sync: start=56161688, size=8 (sectors)</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:43:36 server4 kernel: block drbd3: Online verify done (total 2145 sec; paused 0 sec; 24440 K/sec)</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:43:36 server4 kernel: block drbd3: Online verify found 2 4k block out of sync!</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span
style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:43:36 server4 kernel: block drbd3: conn( VerifyS -> Connected )</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:43:36 server4 kernel: block drbd3: Writing the whole bitmap, due to failed kmalloc</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:43:36 server4 kernel: block drbd3: helper command: /sbin/drbdadm out-of-sync minor-3</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color:
black; font-family: sans-serif; ">Oct 6 13:43:36 server4 kernel: block drbd3: helper command: /sbin/drbdadm out-of-sync minor-3 exit code 0 (0x0)</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="font-size: 10pt; color: black; font-family: sans-serif; ">Oct 6 13:43:36 server4 kernel: block drbd3: 8 KB (2 bits) marked out-of-sync by on disk bit-map.</span><span style="color: black; font-family: sans-serif; "></span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="color: black; font-family: sans-serif; "> </span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="color: black; font-family: sans-serif; "> </span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="color: black; font-family: sans-serif;
">Regards</span></div></div><div><div class="yiv1412143322MsoNormal" style="background:white;"><span style="color: black; font-family: sans-serif; ">Louis</span></div></div></div></div></div></div></div><br><br></div></div></blockquote></div></div></body></html>