6. LIBRARY FUNCTIONS
6-25
Possible combinations are as follows.
Table 6-13 Possible Combinations that can be Stored in Status in the
ARRAY_STATUS Structure
No.
RAID status
Detailed information
1
HFW_RAID_OPTIMAL
None
2
HFW_RAID_MEDIA_ERROR
3
HFW_RAID_DEGRADE
None
4
HFW_RAID_MEDIA_ERROR
5
HFW_RAID_REBUILD
6
HFW_RAID_REBUILD |
HFW_RAID_MEDIA_ERROR
7
HFW_RAID_UNKNOWN
None
8
HFW_RAID_FAIL
None
No.8: The system cannot operate normally, and the value may not be acquired.
Progress stores the progress of the rebuild process. If the RAID status value (Status) does not
contain HFW_RAID_REBUILD, 0 is stored.
<Diagnosis>
This function returns TRUE if it completes successfully, and it returns FALSE if it terminates
with an error. When this function terminates with an error, the value stored in
phfwRaidStatus is invalid. You can call the GetLastError Windows API function to get the
error code. Error codes returned by this function on its own are as follows.
Error code (value)
Description
HFWRAS_INVALID_PARAMETER
(0x20000001)
There is an error in the specified parameters.
HFWRAS_NOT_INITIALIZE
(0x20000002)
Startup of the RAS software has not completed
yet.
HFWRAS_INTERNAL_ERROR
(0x20000003)
An internal error has been generated.
HFWRAS_NOT_RAID
(0x20000101)
This equipment on which this function is being
executed is not a D Model.
Other error codes come from the Windows API functions used by this function. For details
about those error codes, refer to Windows API help.
<Sample program>
The following is a sample from a C program that uses this function. For information about the
name of the sample program and where you can find it, see “6.2 Sample Programs”.
Summary of Contents for HF-W6500 45/40
Page 1: ...WIN 63 0088 02 ...
Page 2: ...WIN 63 0088 02 ...
Page 21: ...This page is intentionally left blank ...
Page 35: ...This page is intentionally left blank ...
Page 79: ...4 CHECKING THE HARDWARE STATUS 4 26 5 In the SNMP Service Properties window click Apply ...
Page 91: ...This page is intentionally left blank ...
Page 105: ...This page is intentionally left blank ...
Page 137: ...This page is intentionally left blank ...