OpenMediaVault  0.6 (Kralizec)
The open network attached storage solution
 All Classes Functions Variables Groups Pages
Public Member Functions | List of all members
OMVStorageDeviceCCISS Class Reference
Inheritance diagram for OMVStorageDeviceCCISS:
OMVStorageDeviceSMARTAbstract OMVStorageDeviceAbstract OMVBlockDeviceAbstract OMVObject OMVIBlockDevice

Public Member Functions

 getDeviceName ($canonical=FALSE)
 
 isRaid ()
 
 getSMARTDeviceType ()
 
- Public Member Functions inherited from OMVStorageDeviceSMARTAbstract
 setSMARTDeviceType ($type)
 
 getSMARTDeviceType ()
 
 getSMARTInformation ()
 
- 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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from OMVStorageDeviceAbstract
 getUdevProperty ($id)
 
- Protected Member Functions inherited from OMVObject
 setLastError ($error)
 
 debug ()
 
- Protected Attributes inherited from OMVStorageDeviceSMARTAbstract
 $smartDeviceType = ""
 
- 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
 

Detailed Description

This class provides a simple interface to handle the CCISS hardware RAID devices, e.g. HP's Smart Array hardware RAID controller.

Member Function Documentation

OMVStorageDeviceCCISS::getDeviceName (   $canonical = FALSE)

Get the device name, e.g. sda or hdb.

Parameters
canonicalIf set to TRUE the canonical device file will be used. Defaults to FALSE.
Returns
The device name.

Implements OMVIBlockDevice.

OMVStorageDeviceCCISS::getSMARTDeviceType ( )

Identify the device type required by the smartctl command.

Returns
Returns the identified device type or an empty string.

The documentation for this class was generated from the following file: