beautypg.com

4 - updating the driver, 5 - uninstalling the driver – HighPoint RocketRAID 2224 User Manual

Page 39

background image

HighPoint Technologies, Inc.

Step 3 Configure System to Automatically Load the Driver (continued)

# 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 during Startup


The system can be instructed to automatically mount the array(s) during startup by modifying the
file”/etc/fstab”.
For example, add the following line to tell the system to mount /dev/sda1 to location /mnt/raid after startup:

/dev/sda1 /mnt/raid ext3 defaults 0 0


4 - Updating the Driver

0. If the original driver is installed in the system’s initrd (Initial RAM Disk) file (when using a system

installed to RR2224 controller, for example), the driver module in the initrd file should be updated
using the mkinitrd command (or extract the initrd file and replace the driver module manually).


0. If the original driver is installed in the /lib/modules/`uname –r`/kernel/drivers/scsi/ directory, and

loaded by the script file (Example /etc/init.d/hptdriver) during the init process, or the configure file
(Example /etc/modules.conf), please replace it with the new driver (hptmv6.ko).


5 - Uninstalling the Driver


To uninstall the RocketRAID 2224 driver


Note: The driver cannot be uninstalled while the system is booted from a disk or array attached to the
RocketRAID 2224.

To uninstall the driver, remove the lines added to /etc/fstab, and remove the files created in the /etc/init.d
directory.

35