beautypg.com

HighPoint RocketRAID 2340 User Manual

Page 62

background image

Linux Driver Support

5-12

Step 2 Install the Driver Module

Extract the module file from the file /linux/suse /[arch]-[version]/install/update.tar.gz
(from the driver disk), using the following commands:

# mount /dev/fd0 /media/floppy

# cd /

# tar xfz /media/floppy/linux/suse/i386-sles9/install/update.tar.gz

The driver modules will be extracted to the directory /lib/modules/[kernel-ver]/kernel/
drivers/scsi/ .

After you have extracted the driver module, you can load it by following commands:

# modprobe sd_mod

# insmod /lib/modules/‘uname –r‘/kernel/drivers/scsi/rr2340.ko

Then you can access the arrays attached to the controller as SCSI devices (e.g. /dev/
sda).

Step 3 Mounting and Partitioning the Device

Note: Many versions of SuSE include YAST. YAST is a graphical configuration
utility that is capable of executing the commands described below. We recommend
using YAST, if available, as it may help simplify the installation process.

Example: A RAID array has been configured between several hard disks.

This array will be registered to the system as device “/dev/sda”.

1.

To create a partition on this array (which will listed as /dev/sda1), use the
“fdisk /dev/sda” command.

2.

Next, use the “mkfs /dev/sda1” command to setup a file system on this
partition.

3.

Use the command “mkdir xxxx” to create a mount point for the RAID array.
Then, mount /dev/sda1 /xxxx in order to access it.

Note: xxxx represents the desired name of the mount point.