我们的主板上有英特尔 raid-5,它也是在 ubuntu 中组装的,并像home
中一样安装fstab
。后来我读到在 ubuntu 中不应该使用硬件 raid。然而它工作正常。但是,在 dist-upgrade 之后它就坏了。
当我们使用直播服务器 USB,它要求激活两个 raid,一个用于 mdadm,另一个用于串行 ATA raid。后者对我来说是新的。然后我们可以卸载mount -a
(使用 fstab)。
但无法使之永久化。当主系统重新启动,通过注释掉fstab
的条目/home
,我无法组装 RAID。mdadm examining 可以工作,但是 detail 和 assemble 失败:
$ sudo mdadm --examine /dev/sd[b-d]
/dev/sdb:
Magic : Intel Raid ISM Cfg Sig.
Version : 1.3.00
Orig Family : 0812e07d
Family : 0812e07d
Generation : 000009e6
Attributes : All supported
UUID : e941dc32:65235e4f:cf333333:3c6f4826
Checksum : 4b52bbd0 correct
MPB Sectors : 2
Disks : 3
RAID Devices : 1
Disk00 Serial : WD-WCC130JX4N8U
State : active
Id : 00000001
Usable Size : 7814026766 (3726.02 GiB 4000.78 GB)
[RAIDDISK]:
UUID : fd8c3145:bac17e65:0ea10271:3138ac34
RAID Level : 5
Members : 3
Slots : [UUU]
Failed disk : none
This Slot : 0
Sector Size : 512
Array Size : 14846574592 (7079.40 GiB 7601.45 GB)
Per Dev Size : 7423287560 (3539.70 GiB 3800.72 GB)
Sector Offset : 0
Num Stripes : 28997216
Chunk Size : 128 KiB
Reserved : 0
Migrate State : idle
Map State : normal
Dirty State : clean
RWH Policy : off
Disk01 Serial : WD-WMC130E3P371
State : active
Id : 00000002
Usable Size : 7814026766 (3726.02 GiB 4000.78 GB)
Disk02 Serial : WD-WMC130E4AW5F
State : active
Id : 00000003
Usable Size : 7814026766 (3726.02 GiB 4000.78 GB)
/dev/sdc:
Magic : Intel Raid ISM Cfg Sig.
Version : 1.3.00
Orig Family : 0812e07d
Family : 0812e07d
Generation : 000009e6
Attributes : All supported
UUID : e941dc32:65235e4f:cf333333:3c6f4826
Checksum : 4b52bbd0 correct
MPB Sectors : 2
Disks : 3
RAID Devices : 1
Disk01 Serial : WD-WMC130E3P371
State : active
Id : 00000002
Usable Size : 7814026766 (3726.02 GiB 4000.78 GB)
[RAIDDISK]:
UUID : fd8c3145:bac17e65:0ea10271:3138ac34
RAID Level : 5
Members : 3
Slots : [UUU]
Failed disk : none
This Slot : 1
Sector Size : 512
Array Size : 14846574592 (7079.40 GiB 7601.45 GB)
Per Dev Size : 7423287560 (3539.70 GiB 3800.72 GB)
Sector Offset : 0
Num Stripes : 28997216
Chunk Size : 128 KiB
Reserved : 0
Migrate State : idle
Map State : normal
Dirty State : clean
RWH Policy : off
Disk00 Serial : WD-WCC130JX4N8U
State : active
Id : 00000001
Usable Size : 7814026766 (3726.02 GiB 4000.78 GB)
Disk02 Serial : WD-WMC130E4AW5F
State : active
Id : 00000003
Usable Size : 7814026766 (3726.02 GiB 4000.78 GB)
/dev/sdd:
Magic : Intel Raid ISM Cfg Sig.
Version : 1.3.00
Orig Family : 0812e07d
Family : 0812e07d
Generation : 000009e6
Attributes : All supported
UUID : e941dc32:65235e4f:cf333333:3c6f4826
Checksum : 4b52bbd0 correct
MPB Sectors : 2
Disks : 3
RAID Devices : 1
Disk02 Serial : WD-WMC130E4AW5F
State : active
Id : 00000003
Usable Size : 7814026766 (3726.02 GiB 4000.78 GB)
[RAIDDISK]:
UUID : fd8c3145:bac17e65:0ea10271:3138ac34
RAID Level : 5
Members : 3
Slots : [UUU]
Failed disk : none
This Slot : 2
Sector Size : 512
Array Size : 14846574592 (7079.40 GiB 7601.45 GB)
Per Dev Size : 7423287560 (3539.70 GiB 3800.72 GB)
Sector Offset : 0
Num Stripes : 28997216
Chunk Size : 128 KiB
Reserved : 0
Migrate State : idle
Map State : normal
Dirty State : clean
RWH Policy : off
Disk00 Serial : WD-WCC130JX4N8U
State : active
Id : 00000001
Usable Size : 7814026766 (3726.02 GiB 4000.78 GB)
Disk01 Serial : WD-WMC130E3P371
State : active
Id : 00000002
Usable Size : 7814026766 (3726.02 GiB 4000.78 GB)
$ sudo mdadm --assemble --scan -v
mdadm: looking for devices for further assembly
mdadm: No OROM/EFI properties for /dev/sdd
mdadm: no RAID superblock on /dev/sdd
mdadm: No OROM/EFI properties for /dev/sdc
mdadm: no RAID superblock on /dev/sdc
mdadm: No OROM/EFI properties for /dev/sdb
mdadm: no RAID superblock on /dev/sdb
mdadm: no RAID superblock on /dev/sda5
mdadm: no RAID superblock on /dev/sda2
mdadm: no RAID superblock on /dev/sda1
mdadm: No OROM/EFI properties for /dev/sda
mdadm: no RAID superblock on /dev/sda
mdadm: /dev/loop7 is not attached to Intel(R) RAID controller.
mdadm: No OROM/EFI properties for /dev/loop7
mdadm: no RAID superblock on /dev/loop7
mdadm: /dev/loop6 is not attached to Intel(R) RAID controller.
mdadm: No OROM/EFI properties for /dev/loop6
mdadm: no RAID superblock on /dev/loop6
mdadm: /dev/loop5 is not attached to Intel(R) RAID controller.
mdadm: No OROM/EFI properties for /dev/loop5
mdadm: no RAID superblock on /dev/loop5
mdadm: /dev/loop4 is not attached to Intel(R) RAID controller.
mdadm: No OROM/EFI properties for /dev/loop4
mdadm: no RAID superblock on /dev/loop4
mdadm: /dev/loop3 is not attached to Intel(R) RAID controller.
mdadm: No OROM/EFI properties for /dev/loop3
mdadm: no RAID superblock on /dev/loop3
mdadm: /dev/loop2 is not attached to Intel(R) RAID controller.
mdadm: No OROM/EFI properties for /dev/loop2
mdadm: no RAID superblock on /dev/loop2
mdadm: /dev/loop1 is not attached to Intel(R) RAID controller.
mdadm: No OROM/EFI properties for /dev/loop1
mdadm: no RAID superblock on /dev/loop1
mdadm: /dev/loop0 is not attached to Intel(R) RAID controller.
mdadm: No OROM/EFI properties for /dev/loop0
mdadm: no RAID superblock on /dev/loop0
mdadm: looking for devices for /dev/md/RAIDDISK
mdadm: No OROM/EFI properties for /dev/sdd
mdadm: no RAID superblock on /dev/sdd
mdadm: No OROM/EFI properties for /dev/sdc
mdadm: no RAID superblock on /dev/sdc
mdadm: No OROM/EFI properties for /dev/sdb
mdadm: no RAID superblock on /dev/sdb
mdadm: no recogniseable superblock on /dev/sda5
mdadm: Cannot assemble mbr metadata on /dev/sda2
mdadm: no recogniseable superblock on /dev/sda1
mdadm: Cannot assemble mbr metadata on /dev/sda
mdadm: no recogniseable superblock on /dev/loop7
mdadm: no recogniseable superblock on /dev/loop6
mdadm: no recogniseable superblock on /dev/loop5
mdadm: no recogniseable superblock on /dev/loop4
mdadm: no recogniseable superblock on /dev/loop3
mdadm: no recogniseable superblock on /dev/loop2
mdadm: no recogniseable superblock on /dev/loop1
mdadm: no recogniseable superblock on /dev/loop0