Get Function For The Raid Status (Hfwraidstat, Raidstat) [D Model Only] - Hitachi HF-W6500 45/40 Feature Manual

Hide thumbs Also See for HF-W6500 45/40:
Table of Contents

Advertisement

6.1.10 Get function for the RAID status (hfwRaidStat, RaidStat)
(1) hfwRaidStat
<Name>
hfwRaidStat - RAID status acquisition
<Syntax>
#include <hfwras.h>
BOOL hfwRaidStat (PHFW_RAID_STATUS phfwRaidStatus);
<Description of the function>
The hfwRaidStat function stores the RAID status to a structure pointed to by phfwRaidStatus.
The parameters of this function are explained below.
phfwRaidStatus:
Specifies the pointer to the HFW_RAID_STATUS structure (shown below) where the
RAID status is stored.
typedef struct HFW_RAID_STATUS{
DWORD
HFW_ARRAY_STATUS
} HFW_RAID_STATUS, *PHFW_RAID_STATUS ;
Array_Count shows the number of monitored RAID arrays on this equipment (1).
Each element of Array shows the status of the corresponding RAID. The number of valid
elements is returned in Array_Count. (This value is 1, which means only Array[0] is valid.)
The elements after that are reserved. The values of those reserved elements are NULL. Do
not access those elements. The HFW_ARRAY_STATUS structure is defined as follows.
typedef struct HFW_ARRAY_STATUS{
DWORD
DWORD
DWORD
DWORD
}HFW_ARRAY_STATUS, *PHFW_ARRAY_STATUS ;
Array_Count;
Array[16];
Level;
//RAID level
Disk_Number;
//Drives in the RAID
Status;
//RAID status
Progress;
//Progress (0 - 99[%])
6-23
6. LIBRARY FUNCTIONS
[D Model only]
// Number of monitored arrays
// Array information

Advertisement

Table of Contents
loading

Table of Contents