HighPoint HPT372 설치 매뉴얼 - 페이지 14
{카테고리_이름} HighPoint HPT372에 대한 설치 매뉴얼을 온라인으로 검색하거나 PDF를 다운로드하세요. HighPoint HPT372 16 페이지. Ata raid controller for red hat linux
HPT370/372/372A Red Hat Linux Installation Guide
Rescanning Devices
If you attach a disk after the system boots up, the driver will not detect the disk
automatically. In this case, you can tell the driver to rescan the devices attached to it by
typing in the following command:
# echo " hpt rescan all" > /proc/scsi/hpt37x2/X
This command will rescan all devices and refresh their states. If you want to rescan only
a single device, you can use
# echo " hpt rescan a,b,c" > /proc/scsi/hpt37x2/X
In the command, " a,b,c" specifies the controller, bus and device number for the disk.
E.g. 0,1,0 specifies the secondary master disk on the first HPT37x controller.
Note
If the driver detects out a new disk plugged by rescanning the command and there is a
broken RAID 1 array, the disk will be automatically used to rebuild the RAID 1 array.
5 Updating 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 Existing System".
If you are using a system installed to HPT37x controller, you can update the driver by the
following steps.
1) First obtain the new driver module file hpt37x2.o. Refer to the previous section " Obtain
the Driver Module" . In the following steps, we assume you have copied it to
/tmp/hpt37x2.o.
2) Replace hpt37x2.o in the boot RAM disk image, /boot/initrd-xxx.img, where
kernel version. (2.2.16-22 for Red Hat Linux 7.0, 2.4.2-2 for Red Hat Linux 7.1, 2.4.7-10 for
Red Hat Linux 7.2)
# gzip -dc /boot/initrd-xxx.img > /tmp/initrd.ext2
# mkdir /mnt/initrd
# mount -o loop /tmp/initrd.ext2 /mnt/initrd
# cp /tmp/hpt37x2.o /mnt/initrd/lib/hpt37x2.o
# umount /mnt/initrd
# gzip -c /tmp/initrd.ext2 > /boot/initrd-xxx.img
3) If you are using lilo to boot kernel, do remember using "lilo" to reinstall the RAM disk:
# lilo
4) Update hpt37x2.o in /lib/modules:
xxx
is the
- 12 -