系统环境debian 64位
raid环境 r410 系统盘sas卡raid 1;md1000 15块盘raid6 ctrl+c配置方式
接盘柜后盘柜认成sda问题.
修改/etc/modprobe.d/blacklist.conf
加一行blacklist megaraid_sas
cd /boot
mv initrd.img-2.6.30-1-amd64 initrd.img-2.6.30-1-bakamd64
mkinitramfs 2.6.30-1-amd64 -o /boot/initrd.img.-2.6.30-1-amd64
vim /etc/rc.local
cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
modprobe megaraid_sas (加这一行)
exit 0

reboot

fdisk -l
Disk /dev/sda: 299.4 GB, 299439751168 bytes
255 heads, 63 sectors/track, 36404 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000840cc
Device Boot Start End Blocks Id System
/dev/sda1 1 261 2096451 83 Linux
/dev/sda2 262 36404 290318647+ f W95 Ext'd (LBA)
/dev/sda5 262 522 2096451 82 Linux swap / Solaris
/dev/sda6 523 783 2096451 83 Linux
/dev/sda7 784 1044 2096451 83 Linux
/dev/sda8 1045 1566 4192933+ 83 Linux
/dev/sda9 1567 36404 279836203+ 83 Linux
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use
GNU Parted.

Disk /dev/sdb: 7794.1 GB, 7794157682688 bytes
255 heads, 63 sectors/track, 947585 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 267350 2147483647+ ee EFI