Syba SB-ATA8212-133R User Manual

Page 39

Advertising
background image

RAIDExpress 133 RAID USER MANUAL

73

# install -c iteraid.o /lib/modules/2.4.18-3/kernel/drivers/scsi

Then you should inform the system when to load the module.

You can add the driver to the existing RAM disk image (In

RedHat 7.3, it will be /boot/initrd-2.4.18-3.img). Use the

following commands:

# gzip -dc /boot/initrd-2.4.18-3.img > /tmp/initrd.ext2

# mkdir /mnt/initrd

# mount -o loop /tmp/initrd.ext2 /mnt/initrd

# cp iteraid.o /mnt/initrd/lib/

# cp /lib/modules/2.4.18-3/kernel/drivers/scsi/scsi_mod.o

/mnt/initrd/lib/

# cp /lib/modules/2.4.18-3/kernel/drivers/scsi/sd_mod.o

/mnt/initrd/lib/

Now, add the following lines to the file /mnt/initrd/linuxrc and you

can use the editor that you are familiar with like vi. Example of

linuxrc:

# vi /mnt/initrd/linuxrc

================================================

#!/bin/sh

echo "Loading scsi_mod module"

<-- new insert line

insmod /lib/scsi_mod.o

<-- new insert line

echo "Loading sd_mod module"

<-- new insert line

insmod /lib/sd_mod.o

<-- new insert line

echo "Loading IT8212 module"

<-- new insert line

RAIDExpress 133 RAID USER MANUAL

74

insmod /lib/iteraid.o

<-- new insert line

...

...

================================================

# umount /mnt/initrd

# gzip -c /tmp/initrd.ext2 > /boot/initrd-2.4.18-3.img

If you are using Lilo to boot your system, you also need to run

lilo:

# lilo

Then reboot your system and the driver will be loaded.

3.1.5

Configure system to mount volumes during 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

3.2 Installing Red Hat Linux on IT8212 Controller.

3.2.1

Prepare your hardware for installation.

After attaching your hard disks to IT8212 controller, you can use

IT8212 BIOS to configure your hard disks as RAID 0, RAID 1,

RAID 0/1 or JBOD arrays, or just use them as single disks.

Remember to set the BOOT disk in the IT8212 BIOS

configuration menu.

Before installation, you must remove all the disk drives, which

Advertising
This manual is related to the following products: