Download Print this page

Hitachi HF-BT1000 User Manual page 98

Advertisement

Possible combinations are as follows.
Table 6-7 Possible Combinations that can be Stored in Status in the
No.
RAID status
1
HFB_RAID_OPTIMAL
2
3
HFB_RAID_DEGRADE
4
5
6
7
HFB_RAID_UNKNOWN
8
HFB_RAID_FAIL
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)
HFB_STORAGE_INVALID_PARAMETER
(0x20000001)
HFB_STORAGE_NOT_INITIALIZE
(0x20000002)
HFB_STORAGE_INTERNAL_ERROR
(0x20000003)
HFB_STORAGE_NOT_RAID
(0x20000101)
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".
HFB_ARRAY_STATUS Structure
None
HFB_RAID_MEDIA_ERROR
None
HFB_RAID_MEDIA_ERROR
HFB_RAID_REBUILD
HFB_RAID_REBUILD | HFB_RAID_MEDIA_ERROR
None
None
6-11
Detailed information
Description
There is an error in the specified parameters.
Startup of the RAS software has not completed
yet.
An internal error has been generated.
This equipment on which this function is being
executed is not a D Model.
6. LIBRARY FUNCTIONS

Advertisement

loading