Trees | Indices | Help |
|
---|
|
Various methods to deals with the DRBD system as a whole.
This class provides a set of methods to deal with the DRBD installation on the node or with uninitialized devices as opposed to a DRBD device.
|
|||
Inherited from |
|
|||
string |
|
||
DRBD8Info |
|
||
list of ints |
|
||
int |
|
||
BaseDRBDCmdGenerator |
|
||
|
|
|||
_USERMODE_HELPER_FILE = "/sys/module/drbd/parameters/usermode_
|
|||
_MAX_MINORS = 255
|
|
|||
Inherited from |
|
Returns DRBD usermode_helper currently set.
|
Reads and parses information from /proc/drbd.
|
Find an unused DRBD device. This is specific to 8.x as the minors are allocated dynamically, so non-existing numbers up to a max minor count are actually free.
|
Creates a suitable BaseDRBDCmdGenerator based on the given info.
|
Deactivate the device. This will, of course, fail if the device is in use.
|
|
_USERMODE_HELPER_FILE
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Aug 22 11:13:35 2016 | http://epydoc.sourceforge.net |