OpenMediaVault
0.6 (Kralizec)
The open network attached storage solution
|
Public Member Functions | |
__construct ($deviceFile) | |
getDeviceMapperName () | |
getDeviceMapperUuid () | |
getSlaves () | |
getDescription () | |
![]() | |
__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 () | |
Additional Inherited Members | |
![]() | |
getUdevProperty ($id) | |
![]() | |
setLastError ($error) | |
debug () | |
![]() | |
$deviceFileById = FALSE | |
$model = FALSE | |
$vendor = FALSE | |
$udevInfo = FALSE | |
![]() | |
$deviceFile = FALSE | |
$size = FALSE | |
$blockSize = FALSE | |
$sectorSize = FALSE | |
This class provides a simple interface to handle device-mapper devices. See http://en.wikipedia.org/wiki/Device_mapper for more details.
OMVStorageDeviceDM::__construct | ( | $deviceFile | ) |
Constructor
deviceFile | Specifies the device file, e.g. /dev/dm-1, /dev/vg0/lv0 or /dev/mapper/vg0-lv0. |
OMVStorageDeviceDM::getDescription | ( | ) |
Get the description of the logical volume.
Implements OMVIBlockDevice.
OMVStorageDeviceDM::getDeviceMapperName | ( | ) |
Get the name of the device mapper device.
OMVStorageDeviceDM::getDeviceMapperUuid | ( | ) |
Get the UUID of the device mapper device.
OMVStorageDeviceDM::getSlaves | ( | ) |
Get the slave devices of the device mapper device.