Configuring I/O error handling strategies

DRBD's strategy for handling lower-level I/O errors is determined by the on-io-error option, included in the resource disk configuration in /etc/drbd.conf:

resource resource {
  disk {
    on-io-error strategy;
    ...
  }
  ...
}

You may, of course, set this in the common section too, if you want to define a global I/O error handling policy for all resources.

strategy may be one of the following options:

You may reconfigure a running resource's I/O error handling strategy by following the following process: