Download Print this page

Hitachi HF-BT1000 User Manual page 97

Advertisement

6. LIBRARY FUNCTIONS
Level stores the RAID level. The meaning of each value that can be stored in Level is as follows.
Table 6-4 Values Stored in Level in the HFB_ARRAY_STATUS Structure
No.
1
HFB_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-5 Values Stored in DiskNumber in the HFB_ARRAY_STATUS Structure
No.
1
HFB_DISK1 (0x00000001)
2
HFB_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-6 Values Stored in Status in the HFB_ARRAY_STATUS Structure
No.
HFB_RAID_OPTIMAL
1
(0x00000001)
HFB_RAID_DEGRADE
2
(0x00000004)
HFB_RAID_UNKNOWN
3
(0x00000008)
HFB_RAID_FAIL
4
(0x00000010)
HFB_RAID_REBUILD
5
(0x00010000)
HFB_RAID_MEDIA_ERROR
6
(0x00020000)
For example, while the rebuild process is ongoing, the RAID status is Degraded
(HFB_RAID_DEGRADE) and the detailed information is Rebuild (HFB_RAID_REBUILD).
Therefore, the logical sum of those two (HFB_RAID_DEGRADE| HFB_RAID_REBUILD
(0x00010004)) 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-10

Advertisement

loading