6. LIBRARY FUNCTIONS
6-11
Possible combinations are as follows.
Table 6-7 Possible Combinations that can be Stored in Status in the
HFB_ARRAY_STATUS Structure
No.
RAID status
Detailed information
1
HFB_RAID_OPTIMAL
None
2
HFB_RAID_MEDIA_ERROR
3
HFB_RAID_DEGRADE
None
4
HFB_RAID_MEDIA_ERROR
5
HFB_RAID_REBUILD
6
HFB_RAID_REBUILD | HFB_RAID_MEDIA_ERROR
7
HFB_RAID_UNKNOWN
None
8
HFB_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 HFB_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 phfbRaidStatus 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
HFB_STORAGE_INVALID_PARAMETER
(0x20000001)
There is an error in the specified parameters.
HFB_STORAGE_NOT_INITIALIZE
(0x20000002)
Startup of the RAS software has not completed
yet.
HFB_STORAGE_INTERNAL_ERROR
(0x20000003)
An internal error has been generated.
HFB_STORAGE_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-BT1000
Страница 1: ...BT 63 0004 01 ...
Страница 2: ...BT 63 0004 01 ...
Страница 15: ...This Page Intentionally Left Blank ...
Страница 79: ...This Page Intentionally Left Blank ...
Страница 103: ...This Page Intentionally Left Blank ...
Страница 111: ...This Page Intentionally Left Blank ...
Страница 127: ...This Page Intentionally Left Blank ...
Страница 129: ...This Page Intentionally Left Blank ...