HighPoint HPT372 Installation Manual - Page 13

Browse online or download pdf Installation Manual for Controller HighPoint HPT372. HighPoint HPT372 16 pages. Ata raid controller for red hat linux

HPT370/372/372A Red Hat Linux Installation Guide

4 Monitoring the Driver

Once the driver is running, you can monitor it through the Linux proc file system support.
There is a special file under /proc/scsi/hpt37x2/. Through this file you can view driver status
and send control commands to the driver.
Note
The file name is the SCSI host number allocated by OS. If you have no other SCSI cards
installed, it will be 0. In the following sections, we will use X to represent this number.

Checking Devices Status

Using the following command to show driver status:
# cat /proc/scsi/hpt37x2/X
This command will show the driver version number, physical device list and logical
device list.

Rebuilding a Critical Array

A RAID 1 array or a RAID 0/1 array may become critical after a disk member fails.
When an array is in critical status, it will loss the ability of fault tolerance until you
finish rebuilding.
Generally rebuilding will automatically start if you have a spare disk for the RAID 1
array or you have replaced the failed disk. In these cases, the array needs to be
synchronized to ensure data consistency. If the array is broken, you must first add a disk
to the array. To add a disk to an array and start rebuilding, you can use the following
command:
# echo " hpt rebuild a b,c,d" > /proc/scsi/hpt37x2/X
In the command, " a" is array number shown in the logical device list. " b" is controller
number (always 0 if you have one HPT37x controller installed), " c" is bus number (0 for
primary channel, 1 for secondary channel), " d" is device number (0 for master device, 1
for slave device). E.g.
# echo " hpt rebuild 1 0,1,0" > /proc/scsi/hpt37x2/X
will rebuild the array with logical device number 1 using the secondary master disk on
the controller.
If rebuilding cannot be automatically started, you can use command
# echo " hpt rebuild start" > /proc/scsi/hpt37x2/X
to start rebuilding. To stop the rebuilding process, use command
# echo " hpt rebuild stop" > /proc/scsi/hpt37x2/X
- 11 -