May be either directly attached, or exposed through DM (e.g.
dm-multipath). udev helpers are probably required to give persistent,
human-friendly names.
For the time being, pathnames are required to lie under /dev.
|
|
__init__(self,
unique_id,
children,
size,
params,
dyn_params,
*args)
Attaches to a static block device. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Open(self,
force=False,
exclusive=True)
Make the device ready for I/O. |
source code
|
|
|
|
Close(self)
Notifies that the device will no longer be used for I/O. |
source code
|
|
|
|
Grow(self,
amount,
dryrun,
backingstore,
excl_stor)
Grow the logical volume. |
source code
|
|
|
list of strings
|
|
|
Inherited from base.BlockDev:
CombinedSyncStatus,
Export,
GetActualDimensions,
GetActualSize,
GetActualSpindles,
GetSyncStatus,
GetUserspaceAccessUri,
PauseResumeSync,
SetInfo,
SetSyncParams,
Snapshot,
__repr__
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|