Class RaidSoftware
Description
RAID Management Utility.
Class to assist in management and notification of a software RAID (mdadm) array.
Located in /api/RaidSoftware.class.php (line 59)
Engine | --Raid | --RaidSoftware
Variable Summary
mixed
$interactive
mixed
$mdstat
Method Summary
RaidSoftware
__construct
()
Array
GetArrays
()
Variables
mixed
$mdstat
= array() (line 68)
Inherited Variables
Inherited from Raid
Raid::$config
Raid::$is_loaded
Raid::$status
Raid::$type
Inherited from Engine
Engine::$errors
Methods
Constructor __construct (line 79)
RaidSoftware constructor.
RaidSoftware
__construct
()
Redefinition of:
- Raid::__construct()
- RAID constructor.
GetArrays (line 96)
Returns RAID arrays.
Array
GetArrays
()
RemoveDevice (line 208)
Removes a device from the specified array.
void
RemoveDevice
(string $array, string $device)
- string $array: the array
- string $device: the device
RepairArray (line 235)
Repair an array with the specified device.
void
RepairArray
(string $array, string $device)
- string $array: the array
- string $device: the device
Inherited Methods
Inherited From Raid
Raid::__construct()
Raid::CheckStatusChange()
Raid::CopyPartitionTable()
Raid::Create()
Raid::GetDevicesInUse()
Raid::GetEmail()
Raid::GetFormattedBytes()
Raid::GetInteractive()
Raid::GetLevel()
Raid::GetMonitorStatus()
Raid::GetMount()
Raid::GetNotify()
Raid::GetPartitionTable()
Raid::GetStatus()
Raid::GetType()
Raid::GetTypeDetails()
Raid::SanityCheckPartition()
Raid::SendStatusChangeNotification()
Raid::SetEmail()
Raid::SetMonitorStatus()
Raid::SetNotify()
Raid::_CreateHardwareRaidReport()
Raid::_CreateSoftwareRaidReport()
Raid::_LoadConfig()
Raid::_SetParameter()
Inherited From Engine
Engine::__construct()
Engine::AddValidationError()
Engine::CheckValidationErrors()
Engine::CopyValidationErrors()
Engine::GetValidationErrors()
Engine::Log()
Engine::__destruct()
Class Constants
CMD_DD
= '/bin/dd'
(line 66)
CMD_MDADM
= '/sbin/mdadm'
(line 65)
Inherited Constants
Inherited from Raid
Raid::CMD_CAT
Raid::CMD_DF
Raid::CMD_DIFF
Raid::CMD_FDISK
Raid::CMD_MPT_STATUS
Raid::CMD_RAID_SCRIPT
Raid::CMD_SFDISK
Raid::CMD_SWAPON
Raid::CMD_TW_CLI
Raid::DEFAULT_CRONTAB_TIME
Raid::FILE_CONFIG
Raid::FILE_CROND
Raid::FILE_MDSTAT
Raid::FILE_RAID_STATUS
Raid::LOG_TAG
Raid::STATUS_CLEAN
Raid::STATUS_DEGRADED
Raid::STATUS_REMOVED
Raid::STATUS_SPARE
Raid::STATUS_SYNCING
Raid::STATUS_SYNC_PENDING
Raid::TYPE_3WARE
Raid::TYPE_LSI
Raid::TYPE_SOFTWARE
Raid::TYPE_UNKNOWN
Inherited from Engine
Engine::COMMAND_API
Documentation generated on Fri, 28 Aug 2009 20:32:17 -0400 by phpDocumentor 1.3.2

