module documentation

DRBD block device related functionality

Class DRBD8 Various methods to deals with the DRBD system as a whole.
Class DRBD8Dev DRBD v8.x block device.
Function _CanReadDevice Check if we can read from the given device.
Constant _DEVICE_READ_SIZE Undocumented
def _CanReadDevice(path):

Check if we can read from the given device.

This tries to read the first 128k of the device.

Parameters
path:stringUndocumented
_DEVICE_READ_SIZE =

Undocumented

Value
128*1024