Table 6-14 Values Stored In Each Element Of The Raid_Data Structure - Hitachi HF-W7500 40 Manual

Industrial computer, ras features
Table of Contents

Advertisement

(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.
1
HDD_ONLINE
2
HDD_OFFLINE
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
Defined value
(0x01) The HDD is working properly.
(0x02) The drive is disconnected from the RAID.
Description
6-25
6. LIBRARY FUNCTIONS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents