6. LIBRARY FUNCTIONS
6-24
Possible combinations are as follows.
Table 6-13 Possible Combinations that Can Be Stored in Status in the
HFW_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>
If this function completes successfully, the function returns TRUE. If this function terminates
with an error, the function returns FALSE. When this function terminates with an error, the
value stored in phfwRaidStatus is invalid.
When this function terminates with an error, 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”.
Содержание 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 ...