Linux(Fedora,Red Hat,SuSE) Driver Support
install the module, type in the following commands (first change directory to where the
proper rr26xx.ko locates):
#install –d /lib/modules/‘uname –r‘/kernel/drivers/scsi
#install –c rr26xx.ko /lib/modules/‘uname –r‘/kernel/drivers/scsi
#depmod
Then you should inform the system load the module when system boots up with the
following command:
#iecho “modprobe rr26xx” > /etc/init.d/hptdriver
#chmod 755 /etc/init.d/hptdriver
#ln –sf /etc/init.d/hptdriver /etc/rc.d/rc3.d/S01hptdriver
#ln –sf /etc/init.d/hptdriver /etc/rc.d/rc4.d/S01hptdriver
#ln –sf /etc/init.d/hptdriver /etc/rc.d/rc5.d/S01hptdriver
Step 4 Configure System to Mount Volumes when Startup
Now you can inform the system to automatically mount the array by modifying the file /
etc/fstab. E.g. you can add the following line to tell the system to mount /dev/sda1 to
location /mnt/raid after startup:
/dev/sda1 /mnt/raid ext2 defaults 0 0
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/rr26xx/. 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
6-14