OpenMediaVault
0.6 (Kralizec)
The open network attached storage solution
|
Public Member Functions | |
refresh () | |
exists () | |
getVGName () | |
getName () | |
getPath () | |
getSize () | |
getUuid () | |
getDescription () | |
remove () | |
![]() | |
__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 () | |
Protected Attributes | |
$uuid = "" | |
$attr = "" | |
$kernelMajor = "" | |
$kernelMinor = "" | |
$lvName = "" | |
$vgName = "" | |
![]() | |
$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 a LVM logical volume.
OMVLvmLogicalVolume::exists | ( | ) |
Checks if the logical volume exists.
Implements OMVIBlockDevice.
OMVLvmLogicalVolume::getDescription | ( | ) |
Get the description of the logical volume.
Implements OMVIBlockDevice.
OMVLvmLogicalVolume::getName | ( | ) |
Get the name of the logical volume.
OMVLvmLogicalVolume::getPath | ( | ) |
Get the path of the logical volume.
OMVLvmLogicalVolume::getSize | ( | ) |
Get the size of the logical volume in bytes.
Implements OMVIBlockDevice.
OMVLvmLogicalVolume::getUuid | ( | ) |
Get the UUID of the array.
OMVLvmLogicalVolume::getVGName | ( | ) |
Get the name of the volume group.
OMVLvmLogicalVolume::refresh | ( | ) |
Refresh the cached information.
OMVLvmLogicalVolume::remove | ( | ) |
Remove the logical volume.