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 () | |
![]() | |
__construct ($deviceFile) | |
exists () | |
getDeviceFile () | |
getDeviceFileById () | |
getSize () | |
getBlockSize () | |
getSectorSize () | |
getModel () | |
getVendor () | |
getSerialNumber () | |
getDescription () | |
isRotational () | |
isRaid () | |
isUsb () | |
isAta () | |
hasSMART () | |
![]() | |
__construct ($deviceFile) | |
exists () | |
getDeviceFile () | |
getCanonicalDeviceFile () | |
getDeviceName ($canonical=FALSE) | |
getSize () | |
getBlockSize () | |
getSectorSize () | |
getDeviceNumber () | |
getMajor () | |
getMinor () | |
![]() | |
__construct () | |
getLastError () | |
Protected Attributes | |
$name = "" | |
$level = FALSE | |
$devices = array() | |
$numDevices = FALSE | |
$uuid = FALSE | |
$state = "unknown" | |
$hasWriteIntentBitmap = FALSE | |
$details = array() | |
![]() | |
$deviceFileById = FALSE | |
$model = FALSE | |
$vendor = FALSE | |
$udevInfo = FALSE | |
![]() | |
$deviceFile = FALSE | |
$size = FALSE | |
$blockSize = FALSE | |
$sectorSize = FALSE | |
Additional Inherited Members | |
![]() | |
getUdevProperty ($id) | |
![]() | |
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.