[DRBD-user] drbd0: State change failed: Device is held open by someone

Phillips, Dan Dan.Phillips at tekelec.com
Thu Nov 15 21:02:02 CET 2012

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Problem:

The problem is that when performing an HA failover from server A to server B,  a DRBD resource is sometimes not shut down properly on server A. Several attempts are made to stop the DRBD resource, but finally it gives up and the server is rebooted. The failover to server B works properly; B becomes the Active server. After the reboot, server A comes up properly as the Standby server.

The problem is intermittent. Most HA failovers work as expected (server A does not reboot).

When the problem does occur, the following lines are logged in /var/log/messages and displayed on the OOBM:

drbd0: State change failed: Device is held open by someone
drbd0:   state = { cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate r--- }
drbd0:  wanted = { cs:Connected st:Secondary/Secondary ds:UpToDate/UpToDate r--- }

Heartbeat: 2.1.4

Drbd: 8.0.11

kernel-module-drbd: 2.6.18

lvm2: 2.02.42-5


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20121115/2b8f59bb/attachment.htm>


More information about the drbd-user mailing list