6. LIBRARY FUNCTIONS
6-26
(2) RaidStat
<Name>
RaidStat - RAID drive status acquisition
<Syntax>
#include
<hfwraid.h>
BOOL RaidStat(PRAID_DATA
pRaidData);
<Description of the function>
The RaidStat function stores the drive status of the RAID to a structure pointed to by
pRaidData. The parameters of this function are explained below.
NOTE
If the operating system is a 64-bit version, this function is not supported.
Use the function (hfwRaidStat) provided as an alternative.
pRaidData:
This parameter points to the RAID_DATA structure shown below that stores the acquired
drive status.
typedef struct RAID_DATA {
DWORD Hdd1_Status; //Drive status of drive bay1
DWORD Hdd2_Status; //Drive status of drive bay2
} RAID_DATA, *PRAID _DATA;
Each element of the RAID_DATA structure above stores a value described in Table 6-14
when this function returns successfully.
Table 6-14 Values Stored in Each Element of the RAID_DATA Structure
No.
Defined value
Description
1
HDD_ONLINE (0x01)
The HDD is working properly.
2
HDD_OFFLINE (0x02)
The drive is disconnected from the RAID.
3
HDD_REBUILD (0x03)
The RAID is under a rebuild (copy) process.
4
HDD_REMOVED (0x04)
A drive is not connected.
5
HDD_UNKNOWN (0x06)
Unknown status
Содержание HF-W6500 45/40
Страница 1: ...WIN 63 0088 02 ...
Страница 2: ...WIN 63 0088 02 ...
Страница 21: ...This page is intentionally left blank ...
Страница 35: ...This page is intentionally left blank ...
Страница 79: ...4 CHECKING THE HARDWARE STATUS 4 26 5 In the SNMP Service Properties window click Apply ...
Страница 91: ...This page is intentionally left blank ...
Страница 105: ...This page is intentionally left blank ...
Страница 137: ...This page is intentionally left blank ...
Страница 147: ...This page is intentionally left blank ...
Страница 163: ...This page is intentionally left blank ...