Get Function For The Raid Status (Hfwraidstat) [B/T Model Only] - Hitachi HF-W6500 60 Manual

Industrial computer
Table of Contents

Advertisement

6. LIBRARY FUNCTIONS
6.1.9 Get function for the RAID status (hfwRaidStat,) [B/T Model only]
<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.
NOTE
The drive status cannot be acquired with the hfwRaidStat function. If acquiring
the drive status, use the hfwDiskStat function.
phfwRaidStatus:
This parameter specifies a pointer to an HFW_RAID_STATUS structure that stores the
RAID status.
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-20
// Number of monitored arrays
// Array information

Advertisement

Table of Contents
loading

Table of Contents