Hi guys,<div><br></div><div>I'm trying to debug a SSD drive that's the backing device for my secondary node.</div><div><br></div><div>The primary/secondary are sync'd (protocol C) and everything goes fine until I get to testing fail-over, e.g.on the primary "drbdadm secondary drbd-sr1", and on the secondary "drbdadm primary drbd-sr1".</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'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'm running badblocks on the backing device and seeing if it can find any problems.</div><div><br></div><div>In the meantime I'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 "detach" 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'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>