beautypg.com

HighPoint RocketRAID 2644X4 User Manual

Page 52

background image

Linux(Fedora,Red Hat,SuSE) Driver Support

2. You are using a kernel that is build off a different configuration with the driver. In

this case the precompiled drivers cannot be used. You can build a driver for your

kernel using Open Source package for RocketRAID controller.

To ensure the module has been loaded successfully, you can check the driver status

by typing in the command “cat /proc/scsi/rr2644/x”,where x is the filename you

found under /proc/scsi/rr2644/. You should see the driver banner and a list of at-

tached drives. You can now access the drives as a SCSI device (the first device is /

dev/sda, then /dev/sdb, etc.).

Example: You have configured a RAID 5 array using 4 disks. It will be registered to

system as device /dev/sda. You can use “fdisk /dev/sda” to create a partition on it,

which will be /dev/sda1, and use “mkfs /dev/sda1” to setup a file system on the

partition. Then you can mount /dev/sda1 to somewhere to access it.

Step 3 Configure System to Automatically Load the Driver

Most likely, you will not want to type in “insmod rr2644.ko” each time you boot up

the system. Therefore you must install the module and tell the system about it. To

install the module, type in the following commands (first change directory to where

the proper rr2644.ko locates):

# cp rr2644.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:

# echo “modprobe rr2644” > /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

6-6