HighPoint HPT370 Скачать руководство пользователя страница 12

HPT370/372/372A Red Hat Linux Installation Guide 

-  10  - 

should automatically load the HPT37x2 driver. 

2. If you use a SCSI adapter to boot the system, you cannot do as above since this may 

conflict with other SCSI devices. However, you can add the driver to the existing 

RAM disk image. First check which image file you are using by checking the 

“initrd=” line in file /etc/lilo.conf, then use the following commands (we assume the 

file is /boot/initrd-2.4.2-2.img. For Redhat 7.2 system, just need to substitute 

“initrd-2.4.2-2.img” with “initrd-2.4.7-10.img” to get the default RAM disk file 

name): 

 

 

# gzip –dc /boot/initrd-2.4.2-2.img > /tmp/initrd.ext2 

#

 

mkdir /mnt/initrd 

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

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

(specify the correct location of hpt37x2.o here)   

 

Now, add a line “insmod /lib/hpt37x2.o” to the file /mnt/initrd/linuxrc, just 

below the line of insmoding SCSI adapter’

s kernel module. Example of linuxrc: 

 

… …  

 

echo "Loading scsi_mod module" 

insmod /lib/scsi_mod.o   

echo "Loading sd_mod module" 

insmod /lib/sd_mod.o   

echo "Loading aic7xxx module" 

insmod /lib/aic7xxx.o    

 

 

 

 

ß

 

SCSI adapter’

s kernel module

 

insmod /lib/hpt37x2.o  

 

 

 

 

ß

 new inserted line 

echo "Loading jbd module" 

… …  

 

# umount /mnt/initrd 

# gzip –c /tmp/initrd.ext2 > /boot/initrd-2.4.2-2.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.

 

Step 5 Configure System to Mount Volumes when 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 

Содержание HPT370

Страница 1: ...2 372A Red Hat Linux Installation Guide HPT370 372 372AATA RAID Controller Red Hat Linux Installation Guide Version 1 3 Copyright 2001 HighPoint Technologies Inc All rights reserved Last updated on De...

Страница 2: ...btain the Driver Module 4 Step 2 Update the Kernel Red Hat Linux 7 1 7 2 Only 4 Step 3 Test the Driver Module 8 Step 4 Configure System to Automatically Load the Driver 9 Step 5 Configure System to Mo...

Страница 3: ...OD arrays or just use them as single disks Before installation you must remove all the disk drives which are not physically attached to HPT37x controller from your system Note If you have other SCSI a...

Страница 4: ...st boot from a customized boot diskette to start installation There is no need of customized boot diskette for HPT372A controller First obtain the boot diskette image file rh71boot img for RedHat 7 1...

Страница 5: ...just press Enter to continue 11 Continue the installation as normal You can refer to Red Hat Linux installation guide Note The system device mapping order is the same as the order shown in HPT37x BIOS...

Страница 6: ...e driver since current driver does not support SMP For HPT370 372A you can just boot from Linux UP if it is available For HPT372 you must first update the kernel with vmlinuz hpt37x2 on the boot diske...

Страница 7: ...ink to the source directory for RedHat 7 1 ln s usr src linux 2 4 2 usr src linux for RedHat 7 2 ln s usr src linux 2 4 7 10 usr src linux 2 Remove the following 2 lines from usr src linux drivers ide...

Страница 8: ...5 Type in the following command make dep Note 1 For RedHat 7 0 7 1 the file usr src linux include linux modversions h may be incorrect after make dep in some Red Hat Linux distributions Please check i...

Страница 9: ...d0 0 Check the correct location and modify the line root hd0 0 to match your system configuration b Your system s root file system may be not on dev hda5 Check the correct location and modify the line...

Страница 10: ...Step 3 Test the Driver Module You can test out the module to ensure that it works for your system by changing working directory to the location where hpt37x2 o resides and typing in the command insmod...

Страница 11: ...b modules 2 4 2 2 kernel drivers scsi On Red Hat Linux 7 2 use install d lib modules 2 4 7 10 kernel drivers scsi install c hpt37x2 o lib modules 2 4 7 10 kernel drivers scsi Then you should inform th...

Страница 12: ...ify the correct location of hpt37x2 o here Now add a line insmod lib hpt37x2 o to the file mnt initrd linuxrc just below the line of insmoding SCSI adapter s kernel module Example of linuxrc echo Load...

Страница 13: ...ance until you finish rebuilding Generally rebuilding will automatically start if you have a spare disk for the RAID 1 array or you have replaced the failed disk In these cases the array needs to be s...

Страница 14: ...ng the Driver If you are not booting from disks attached to HPT37x controller you can update the driver just by reinstalling it following the previous section Install HPT370 372 372A Driver on an Exis...

Страница 15: ...the following software packages installed on your system 1 X Window system 2 gtk library v1 2 or later If you are using KDE or GNOME workstation they are already installed Otherwise you may check you...

Страница 16: ...u can start it by choosing Menus menu bar Applications HighPoint ATA RAID Management Software On GNOME you can start it by choosing KDE menus GNOME Applications HighPoint ATA RAID Management Software...

Отзывы: