OpenMediaVault  3.0 (Erasmus)
The open network attached storage solution
Public Member Functions | List of all members
OMV\System\Storage\ISmartStorageDevice Interface Reference
Inheritance diagram for OMV\System\Storage\ISmartStorageDevice:
OMV\System\Storage\SmartStorageDeviceAbstract OMV\System\Storage\StorageDeviceCCISS OMV\System\Storage\StorageDeviceHDD OMV\System\Storage\StorageDeviceVirtIO

Public Member Functions

 getSmartDeviceType ()
 
 getSmartInformation ()
 
 executeSmartSelfTest ($test)
 

Detailed Description

Interface for S.M.A.R.T. AT Attachment (ATA) devices.

Member Function Documentation

OMV\System\Storage\ISmartStorageDevice::executeSmartSelfTest (   $test)

Execute a S.M.A.R.T. self test.

Parameters
testThe test to be used. This can be:
short (s)
  • long (l)
  • conveyance (c)
  • offline (o)
Returns
None.
Exceptions

Implemented in OMV\System\Storage\SmartStorageDeviceAbstract.

OMV\System\Storage\ISmartStorageDevice::getSmartDeviceType ( )

Identify the device type required by the smartctl utility program.

See also
https://www.smartmontools.org/browser/trunk/smartmontools/smartctl.8.in
Returns
Returns the identified device type, e.g. 'sat', 'scsi', 'usbcypress', ... or an empty string.

Implemented in OMV\System\Storage\StorageDeviceHDD, OMV\System\Storage\SmartStorageDeviceAbstract, OMV\System\Storage\StorageDeviceCCISS, and OMV\System\Storage\StorageDeviceVirtIO.

OMV\System\Storage\ISmartStorageDevice::getSmartInformation ( )

Get the S.M.A.R.T. information.

Returns
An object of the class.
Exceptions

Implemented in OMV\System\Storage\SmartStorageDeviceAbstract.


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