Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1275 10241406 83 Linux
/dev/hda2 1276 1402 1020127+ 82 Linux swap / Solaris
/dev/hda3 1403 4865 27816547+ 83 Linux
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 19457 156288321 83 Linux
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 19457 156288321 83 Linux
Disk /dev/md0: 320.0 GB, 320078348288 bytes
2 heads, 4 sectors/track, 78144128 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
alias acsi_hostadapter megaide
"
[root@test02 tmp]# rm -fr /boot/initrd-2.6.18-8.el5.img ; mkinitrd -v -f /boot/initrd-2.6.18-8.el5.img 2.6.18-8.el5
Creating initramfs
WARNING: using /tmp for temporary files
Looking for deps of module uhci-hcd
Looking for deps of module ohci-hcd
Looking for deps of module ehci-hcd
Looking for deps of module ext3: jbd
Looking for deps of module jbd
Found root device hda1 for LABEL=/
Looking for driver for device hda1
Looking for deps of module ide:m-disk
Looking for driver for device LABEL=SWAP-hda2
Looking for deps of module megaide
Looking for deps of module ide-disk
Using modules: /lib/modules/2.6.18-8.el5/kernel/drivers/usb/host/uhci-hcd.ko /lib/modules/2.6.18-8.el5/kernel/drivers/usb/host/ohci-hcd.ko /lib/modules/2.6.18-8.el5/kernel/drivers/usb/host/ehci-hcd.ko /lib/modules/2.6.18-8.el5/kernel/fs/jbd/jbd.ko /lib/modules/2.6.18-8.el5/kernel/fs/ext3/ext3.ko /lib/modules/2.6.18-8.el5/updates/megaide.ko
/sbin/nash -> /tmp/initrd.Id7134/bin/nash
/sbin/insmod.static -> /tmp/initrd.Id7134/bin/insmod
copy from `/lib/modules/2.6.18-8.el5/kernel/drivers/usb/host/uhci-hcd.ko' [elf32-i386] to `/tmp/initrd.Id7134/lib/uhci-hcd.ko' [elf32-i386]
copy from `/lib/modules/2.6.18-8.el5/kernel/drivers/usb/host/ohci-hcd.ko' [elf32-i386] to `/tmp/initrd.Id7134/lib/ohci-hcd.ko' [elf32-i386]
copy from `/lib/modules/2.6.18-8.el5/kernel/drivers/usb/host/ehci-hcd.ko' [elf32-i386] to `/tmp/initrd.Id7134/lib/ehci-hcd.ko' [elf32-i386]
copy from `/lib/modules/2.6.18-8.el5/kernel/fs/jbd/jbd.ko' [elf32-i386] to `/tmp/initrd.Id7134/lib/jbd.ko' [elf32-i386]
copy from `/lib/modules/2.6.18-8.el5/kernel/fs/ext3/ext3.ko' [elf32-i386] to `/tmp/initrd.Id7134/lib/ext3.ko' [elf32-i386]
copy from `/lib/modules/2.6.18-8.el5/updates/megaide.ko' [elf32-i386] to `/tmp/initrd.Id7134/lib/megaide.ko' [elf32-i386]
Adding module uhci-hcd
Adding module ohci-hcd
Adding module ehci-hcd
Adding module jbd
Adding module ext3
Adding module megaide #这里可以看见这个模块
[root@test02 tmp]#
重启后依然不行,磁盘还是两块,而不是raid0。
[root@test02 ~]# dmesg | grep megaide
megaide: no version for "struct_module" found: kernel tainted.
megaide: module license 'Proprietary' taints kernel.
megaide: Unknown symbol scsi_remove_host
megaide: Unknown symbol scsi_host_put
megaide: Unknown symbol scsi_scan_host
megaide: Unknown symbol scsi_add_host
megaide: Unknown symbol scsi_host_alloc
[root@test02 ~]#