通常装好系统后,开机硬盘会在/dev/sda,但接上array后,常常就变成/dev/sdb去了,导致无法开机.
1.change /etc/modules.conf
将scsci adapter的顺序调换,改成如下所示:
<ccid_nobr>
<ccid_code>alias scsi_hostadapter mptbase # sda
alias scsi_hostadapter1 mptscsih # sda
alias scsi_hostadapter2 aic7xxx #应该是sdb却跑到sda去的
2.更新开机ramdisk
确认核心版本
#uname -a
再来就是重建开机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.reboot后检视scsi adapter顺序是否正确.
<ccid_nobr>
<ccid_code>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