如果電腦主機板(asus ts100-e5)上已經有raid bios的話
- 代碼: 選擇全部
Intel® ICH7R:
Intel® MSM RAID 0,1,10,5 (Windows Only)
LSI MegaRAID 0,1,10 (Windows & Linux)
Independent Marvell 6145 chip:
RAID 0,1,10 (Windows/Linux)
(應該是使用ICH7R)
這個時候還需要安裝mdadm 或 mdraid??
還是說進到raid bios裡設定就ok了?
目前我是參考這個網頁在安裝過程中就設定好raid
結果第一次開機很ok~
等到硬碟同步完後(raid 1) 重開機
在開機畫面(還沒進到grub)就出現raid錯誤(offline)
解決方法是進raid bios裡重新配置raid
再重開機就ok了
我是覺得說 raid bios和mdadm應該相衝吧
不知道有沒有板友有其他想法?
主機的lspci
- 代碼: 選擇全部
00:00.0 Host bridge: Intel Corporation Unknown device 29f0 (rev 01)
00:01.0 PCI bridge: Intel Corporation Unknown device 29f1 (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 RAID bus controller: Intel Corporation 82801GR/GH (ICH7 Family) Serial ATA Storage Controller RAID (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:01.0 Ethernet controller: Accton Technology Corporation SMC2-1211TX (rev 10)
01:03.0 VGA compatible controller: XGI - Xabre Graphics Inc Volari Z7
02:00.0 RAID bus controller: Marvell Technology Group Ltd. Unknown device 6145 (rev a1)
fdisk -l
- 代碼: 選擇全部
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 18 144553+ fd Linux raid autodetect
/dev/sda2 19 626 4883760 fd Linux raid autodetect
/dev/sda3 627 30401 239167687+ fd Linux raid autodetect
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 18 144553+ fd Linux raid autodetect
/dev/sdb2 19 626 4883760 fd Linux raid autodetect
/dev/sdb3 627 30401 239167687+ fd Linux raid autodetect
Disk /dev/md0: 147 MB, 147914752 bytes
2 heads, 4 sectors/track, 36112 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md0 doesn't contain a valid partition table
Disk /dev/md1: 5000 MB, 5000855552 bytes
2 heads, 4 sectors/track, 1220912 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md1 doesn't contain a valid partition table
Disk /dev/md2: 244.9 GB, 244907638784 bytes
2 heads, 4 sectors/track, 59791904 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md2 doesn't contain a valid partition table
cat /porc/dmstat
- 代碼: 選擇全部
md2 : active raid1 sda3[0] sdb3[1]
239167616 blocks [2/2] [UU]
md1 : active raid1 sda2[0] sdb2[1]
4883648 blocks [2/2] [UU]
md0 : active raid1 sda1[0] sdb1[1]
144448 blocks [2/2] [UU]
unused devices: <none>