6. LIBRARY FUNCTIONS
Level stores the RAID level. The meaning of each value that can be stored in Level is as
follows.
Table 6-10 Values Stored in Level in the ARRAY_STATUS Structure
No.
1
HFW_RAID1 (0x00000001)
DiskNumber stores the value that indicates the drive bays used by the RAID. The stored
value is a logical sum of some of the following.
Table 6-11 Values Stored in DiskNumber in the ARRAY_STATUS Structure
No.
1
HFW_DISK1 (0x00000001)
2
HFW_DISK2 (0x00000002)
Status stores the value that indicates the RAID status. The stored value is a logical sum of
some of the following. Numbers.1 through 4 denote RAID statuses, and numbers 5 and 6
denote detailed information.
Table 6-12 Values Stored in Status in the ARRAY_STATUS Structure
No.
HFW_RAID_OPTIMAL
1
(0x00000001)
HFW_RAID_DEGRADE
2
(0x00000004)
HFW_RAID_UNKNOWN
3
(0x00000008)
HFW_RAID_FAIL
4
(0x00000010)
HFW_RAID_REBUILD
5
(0x00010000)
HFW_RAID_MEDIA_ERROR
6
(0x00020000)
For example, while the rebuild process is ongoing, the RAID status is Degraded
(HFW_RAID_DEGRADE) and the detailed information is Rebuild
(HFW_RAID_REBUILD). Therefore, the logical sum of those two
(HFW_RAID_DEGRADE| HFW_RAID_REBUILD) is stored in Status.
Defined value
Defined value
Defined value
Description
RAID 1 is set up.
Description
Drive bay1 is used by the RAID.
Drive bay2 is used by the RAID.
Description
The RAID is working properly.
The RAID is degenerated.
The RAID status is unknown.
The RAID failed.
One of the drives is under the rebuild process.
A media error has occurred.
6-24