6. LIBRARY FUNCTIONS
6-25
(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 used.
Use the function (hfwRaidStat) provided as an alternative.
pRaidData:
This parameter specifies a pointer to a RAID_DATA structure 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-W7500 40
Страница 1: ...WIN 63 0090 03 ...
Страница 2: ...WIN 63 0090 03 ...
Страница 23: ...This page is intentionally left blank ...
Страница 105: ...This page is intentionally left blank ...
Страница 145: ...This page is intentionally left blank ...
Страница 161: ...This page is intentionally left blank ...