SuSE Linux 10.1 (Open and Novell) Driver Support
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.
Step 4 Configure System to Automatically Load the Driver
To avoid typing in “insmod hpy37x2.ko” each time the operating system is booted,
the system must be instructed to automatically load the module during bootup. You
can add the driver to the initial RAM disk image to load the driver at boot time:
1.
Backup the initial RAM disk at first. # mv /boot/initrd-‘uname –r‘ /boot/
initrd-‘uname –r‘.backup
2.
Edit file /etc/sysconfig/kernel and append hpt37x2 module to the line
INITRD_MODULES=…, e.g: INITRD_MODULES=”… piix hpt37x2”
Example: A RAID array has been configured between several hard disks.
3.
Run mkinitrd to update the initrd file: # depmod -a # mkinitrd
4.
If you are using lilo boot loader, run lilo again: # lilo Then reboot your
system and the driver will be loaded.
Step 5 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 ext2 defaults 0 0
6-4