Hi guys,<div><br></div><div>I&#39;m trying to debug a SSD drive that&#39;s the backing device for my secondary node.</div><div><br></div><div>The primary/secondary are sync&#39;d (protocol C) and everything goes fine until I get to testing fail-over, e.g.on the primary &quot;drbdadm secondary drbd-sr1&quot;, and on the secondary &quot;drbdadm primary drbd-sr1&quot;.</div>

<div><br></div><div>When I do this the secondary locks up for about 5 minutes (SSH session drops) then it starts responding again and I see drbd has now dropped into diskless mode.</div><div><br></div><div>I&#39;m thinking there might be IO errors occurring with the underlying disk and perhaps drbd is automatically detaching it.</div>

<div><br></div><div>Right now I&#39;m running badblocks on the backing device and seeing if it can find any problems.</div><div><br></div><div>In the meantime I&#39;ve been trying to figure out how to get more information about IO errors from drbd.</div>

<div><br></div><div>My devices are configured with &quot;detach&quot; as recommended (<a href="http://www.drbd.org/users-guide/s-configure-io-error-behavior.html">http://www.drbd.org/users-guide/s-configure-io-error-behavior.html</a>), however, I&#39;m not sure how to find out more information about when this event occurs.</div>

<div><br></div><div>Are there any debugging options I can enable that would help me see IO error details that caused a detach? </div><div><br></div><div>Thanks!</div><div>Andrew</div><div><br></div>