Article Title: New School: Linux system hard drive path settings. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic categories. After the system is installed, the hard drive will be in/dev/sda, but after the array is connected, it is often changed to/dev/sdb, and thus cannot be started.
1. change/etc/modules. conf
Change the order of the scsci adapter to the following:
Alias scsi_hostadapter mptbase # sda alias scsi_hostadapter1 mptscsih # sda alias scsi_hostadapter2 aic7xxx # It should be sdb but go to sda
|
2. Update ramdisk
First confirm the core version
# Uname-
The next step is to re-boot ramdisk.
#mv /boot/initrd-2.4.35.3-1trsmp.img /boot/initrd-2.4.35.3-1trsmp.img.orig #mkinitrd /boot/initrd-2.4.35.3-1trsmp.img 2.4.35.3-1trsmp
|
3. Check whether the scsi adapter sequence is correct after reboot.
scsi0 : ioc0: LSI53C1030, FwRev=01000e00h, Ports=1, MaxQ=222, IRQ=22 Vendor: LSILOGIC Model: 1030 IM Rev: 1000 Type: Direct-Access ANSI SCSI revision: 02 Vendor: IBM Model: 25P3495a S320 1 Rev: 1 Type: Processor ANSI SCSI revision: 02 scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.3.11 aic7892: Ultra160 Wide Channel A, SCSI Id=15, 32/253 SCBs
|