Home | Trees | Indices | Help |
---|
|
object --+ | Device --+ | StorageDevice --+ | MDRaidArrayDevice
An mdraid (Linux RAID) device.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
_type = "mdarray"
|
|||
_packages = ["mdadm"]
|
|||
memberDevices = property(_getMemberDevices, _setMemberDevices,
|
|||
spares = property(_getSpares, _setSpares)
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
Create a MDRaidArrayDevice instance. Arguments: name -- the device name (generally a device node's basename) Keyword Arguments: level -- the device's RAID level (a string, eg: '1' or 'raid1') metadataVersion -- the version of the device's md metadata parents -- list of member devices (StorageDevice instances) size -- the device's size (units/format TBD) uuid -- the device's UUID minor -- the device minor sysfsPath -- sysfs device path format -- a DeviceFormat instance exists -- indicates whether this is an existing device
|
|
|
|
repr(x)
|
|
|
This array's mdadm.conf entry.
|
Total number of devices in the array, including spares.
|
Update this device's sysfs path.
|
Add a new member device to the array. XXX This is for use when probing devices, not for modification of arrays. |
Remove a component device from the array. XXX This is for use by clearpart, not for reconfiguration. |
This device's status. For now, this should return a boolean: True the device is open and ready for use False the device is not open
|
Return True if the array is running in degraded mode.
|
Return a list of this array's member device instances.
|
Open, or set up, a device.
|
Close, or tear down, a device.
|
Determine create parameters for this set
|
|
Perform post-create operations.
|
Create the device.
|
Device-specific arguments to format creation program.
|
|
|
|
|
|
|
memberDevices
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Mar 2 14:52:24 2012 | http://epydoc.sourceforge.net |