4 - monitoring the driver – HighPoint RocketRAID 2644X4 User Manual
Page 67

Linux(Fedora,Red Hat,SuSE) Driver Support
Step 3 Configure System to Automatically Load the Driver
Most likely, you will not want to type in “insmod rr2644” each time you boot up the
system. You can add the driver to the initial RAM disk image to load the driver at boot
time:
1.
Edit the file “/etc/sysconfig/kernel”, and add the rr2644 module to the line
INITRD_MODULES=…,e.g
Example:
INITRD_MODULES=”reiserfs rr2644”
2.
Run the “depmod” command to update the module configuration:
# depmod
3.
Next, run the “mkinitrd” command to update the initrd file:
# mkinitrd
4.
If you are using the lilo boot loader, run lilo again:
# lilo
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/rr2644/. 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.
6-21