OpenMediaVault
3.0 (Erasmus)
The open network attached storage solution
|
Protected Attributes | |
$name = "" | |
$level = FALSE | |
$devices = [] | |
$numDevices = FALSE | |
$uuid = FALSE | |
$state = "unknown" | |
$hasWriteIntentBitmap = FALSE | |
$details = [] | |
![]() | |
$model = NULL | |
$vendor = NULL | |
![]() | |
$deviceFile = NULL | |
$deviceFileById = NULL | |
$size = FALSE | |
$blockSize = FALSE | |
$sectorSize = FALSE | |
$udevData = NULL | |
Additional Inherited Members | |
![]() | |
static | enumerate ($type=OMV_STORAGE_DEVICE_TYPE_ALL) |
static | enumerateUnused ($type=OMV_STORAGE_DEVICE_TYPE_ALL) |
static | enumerateUsed ($type=OMV_STORAGE_DEVICE_TYPE_ALL) |
static | isUsed ($deviceFile, $type=OMV_STORAGE_DEVICE_TYPE_ALL) |
static | getStorageDevice ($deviceFile) |
static | assertStorageDeviceExists ($deviceFile) |
![]() | |
getUdevData ($force=FALSE) | |
This class provides a simple interface to handle software RAID devices.
OMV\System\Storage\StorageDeviceMdadm::exists | ( | ) |
See interface definition.
Implements OMV\System\Storage\IStorageDevice.
OMV\System\Storage\StorageDeviceMdadm::getDescription | ( | ) |
See interface definition.
Implements OMV\System\Storage\IStorageDevice.
OMV\System\Storage\StorageDeviceMdadm::getDetail | ( | ) |
Get detail of the md device.
OMV\System\Storage\StorageDeviceMdadm::getLevel | ( | ) |
Get the level of the array.
OMV\System\Storage\StorageDeviceMdadm::getName | ( | ) |
Get the array name.
OMV\System\Storage\StorageDeviceMdadm::getNumDevices | ( | ) |
Get the number of active devices in the array.
OMV\System\Storage\StorageDeviceMdadm::getSerialNumber | ( | ) |
See abstract class definition.
Implements OMV\System\Storage\IStorageDevice.
OMV\System\Storage\StorageDeviceMdadm::getSlaves | ( | ) |
Get the list of device files used in the array.
OMV\System\Storage\StorageDeviceMdadm::getUuid | ( | ) |
Get the UUID of the array.
OMV\System\Storage\StorageDeviceMdadm::hasWriteIntentBitmap | ( | ) |
Check whether the RAID device has write-intent bitmap enabled. Note, only 'internal' bitmaps are detected and reported.
OMV\System\Storage\StorageDeviceMdadm::isRaid | ( | ) |
See abstract class definition.
Implements OMV\System\Storage\IStorageDevice.
OMV\System\Storage\StorageDeviceMdadm::refresh | ( | ) |
Refresh the cached information.