|
OpenMediaVault
0.6 (Kralizec)
The open network attached storage solution
|
Public Member Functions | |
| refresh () | |
| exists () | |
| getName () | |
| getLevel () | |
| getNumDevices () | |
| getUuid () | |
| getSerialNumber () | |
| getSlaves () | |
| getState () | |
| getDetail () | |
| getDescription () | |
| isRaid () | |
| hasWriteIntentBitmap () | |
Public Member Functions inherited from OMVStorageDeviceAbstract | |
| __construct ($deviceFile) | |
| exists () | |
| getDeviceFile () | |
| getDeviceFileById () | |
| getSize () | |
| getBlockSize () | |
| getSectorSize () | |
| getModel () | |
| getVendor () | |
| getSerialNumber () | |
| getDescription () | |
| isRotational () | |
| isRaid () | |
| isUsb () | |
| isAta () | |
| hasSMART () | |
Public Member Functions inherited from OMVBlockDeviceAbstract | |
| __construct ($deviceFile) | |
| exists () | |
| getDeviceFile () | |
| getCanonicalDeviceFile () | |
| getDeviceName ($canonical=FALSE) | |
| getSize () | |
| getBlockSize () | |
| getSectorSize () | |
| getDeviceNumber () | |
| getMajor () | |
| getMinor () | |
Public Member Functions inherited from OMVObject | |
| __construct () | |
| getLastError () | |
Protected Attributes | |
| $name = "" | |
| $level = FALSE | |
| $devices = array() | |
| $numDevices = FALSE | |
| $uuid = FALSE | |
| $state = "unknown" | |
| $hasWriteIntentBitmap = FALSE | |
| $details = array() | |
Protected Attributes inherited from OMVStorageDeviceAbstract | |
| $deviceFileById = FALSE | |
| $model = FALSE | |
| $vendor = FALSE | |
| $udevInfo = FALSE | |
Protected Attributes inherited from OMVBlockDeviceAbstract | |
| $deviceFile = FALSE | |
| $size = FALSE | |
| $blockSize = FALSE | |
| $sectorSize = FALSE | |
Additional Inherited Members | |
Protected Member Functions inherited from OMVStorageDeviceAbstract | |
| getUdevProperty ($id) | |
Protected Member Functions inherited from OMVObject | |
| setLastError ($error) | |
| debug () | |
This class provides a simple interface to handle software RAID devices.
| OMVStorageDeviceMdadm::exists | ( | ) |
See interface definition.
Implements OMVIBlockDevice.
| OMVStorageDeviceMdadm::getDescription | ( | ) |
See interface definition.
Implements OMVIBlockDevice.
| OMVStorageDeviceMdadm::getDetail | ( | ) |
Get detail of the md device.
| OMVStorageDeviceMdadm::getLevel | ( | ) |
Get the level of the array.
| OMVStorageDeviceMdadm::getName | ( | ) |
Get the array name.
| OMVStorageDeviceMdadm::getNumDevices | ( | ) |
Get the number of active devices in the array.
| OMVStorageDeviceMdadm::getSerialNumber | ( | ) |
See abstract class definition.
| OMVStorageDeviceMdadm::getSlaves | ( | ) |
Get the list of device files used in the array.
| OMVStorageDeviceMdadm::getUuid | ( | ) |
Get the UUID of the array.
| OMVStorageDeviceMdadm::hasWriteIntentBitmap | ( | ) |
Check whether the RAID device has write-intent bitmap enabled. Note, only 'internal' bitmaps are detected and reported.
| OMVStorageDeviceMdadm::isRaid | ( | ) |
See abstract class definition.
| OMVStorageDeviceMdadm::refresh | ( | ) |
Refresh the cached information.
1.8.6