A block device provided by an ExtStorage Provider.
This class implements the External Storage Interface, which means
handling of the externally provided block devices.
|
__init__(self,
unique_id,
children,
size,
params,
dyn_params,
*args)
Attaches to an extstorage 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 Volume. |
source code
|
|
|
|
string
|
|
tuple
|
Snapshot(self,
snap_name=None,
snap_size=None)
Take a snapshot of the block device. |
source code
|
|
Inherited from base.BlockDev :
CombinedSyncStatus ,
Export ,
GetActualDimensions ,
GetActualSize ,
GetActualSpindles ,
GetSyncStatus ,
Import ,
PauseResumeSync ,
SetSyncParams ,
__repr__
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|