Умер софтверный raid5
Массив собран из трёх одинаковых 2Гб хардов. Раньше он состоял из дисков (на сколько я помню) sda1,sdb1,sdd1
ОС - дебиан
root@ferdinand:~# uname -a
Linux ferdinand 2.6.32-5-686 #1 SMP Sun May 6 04:01:19 UTC 2012 i686 GNU/Linux
root@ferdinand:~# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : inactive sdb1[1](S) sdd1[3](S)
3907027037 blocks super 1.2
unused devices: <none>
root@ferdinand:~# mdadm -S /dev/md0
mdadm: stopped /dev/md0
root@ferdinand:~# sudo mdadm --assemble --scan -fv
mdadm: looking for devices for /dev/md/0
mdadm: no RAID superblock on /dev/sdd
mdadm: /dev/sdd has wrong uuid.
mdadm: cannot open device /dev/sdc9: Device or resource busy
mdadm: /dev/sdc9 has wrong uuid.
mdadm: cannot open device /dev/sdc8: Device or resource busy
mdadm: /dev/sdc8 has wrong uuid.
mdadm: cannot open device /dev/sdc7: Device or resource busy
mdadm: /dev/sdc7 has wrong uuid.
mdadm: cannot open device /dev/sdc6: Device or resource busy
mdadm: /dev/sdc6 has wrong uuid.
mdadm: cannot open device /dev/sdc5: Device or resource busy
mdadm: /dev/sdc5 has wrong uuid.
mdadm: no RAID superblock on /dev/sdc2
mdadm: /dev/sdc2 has wrong uuid.
mdadm: cannot open device /dev/sdc1: Device or resource busy
mdadm: /dev/sdc1 has wrong uuid.
mdadm: cannot open device /dev/sdc: Device or resource busy
mdadm: /dev/sdc has wrong uuid.
mdadm: no RAID superblock on /dev/sdb
mdadm: /dev/sdb has wrong uuid.
mdadm: /dev/sdd1 is identified as a member of /dev/md/0, slot -1.
mdadm: /dev/sdb1 is identified as a member of /dev/md/0, slot 1.
mdadm: /dev/sda is identified as a member of /dev/md/0, slot -1.
mdadm: no uptodate device for slot 0 of /dev/md/0
mdadm: no uptodate device for slot 2 of /dev/md/0
mdadm: added /dev/sdd1 to /dev/md/0 as -1
mdadm: failed to add /dev/sda to /dev/md/0: Device or resource busy
mdadm: added /dev/sdb1 to /dev/md/0 as 1
mdadm: /dev/md/0 assembled from 1 drive and 1 spare - not enough to start the array.
тут меня смущает что откуда-то появились 2 диска со слотом -1. Раньше ни одного spare диска не было
root@ferdinand:~# mdadm --examine /dev/sda1
mdadm: cannot open /dev/sda1: No such file or directory
root@ferdinand:~# mdadm --examine /dev/sda
/dev/sda:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : aee1cc6f:bb0a9112:acb1b9a8:89468900
Name : ferdinand:0 (local to host ferdinand)
Creation Time : Thu Aug 11 21:16:38 2011
Raid Level : raid5
Raid Devices : 3
Avail Dev Size : 3907027120 (1863.02 GiB 2000.40 GB)
Array Size : 7814051840 (3726.03 GiB 4000.79 GB)
Used Dev Size : 3907025920 (1863.02 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 348431ea:717f471d:8c91c459:27c4e287
Update Time : Sat Nov 9 19:21:17 2013
Checksum : 37606d2 - correct
Events : 0
Layout : left-symmetric
Chunk Size : 512K
Device Role : spare
Array State : .A. ('A' == active, '.' == missing)
root@ferdinand:~# mdadm --examine /dev/sdb1
/dev/sdb1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : aee1cc6f:bb0a9112:acb1b9a8:89468900
Name : ferdinand:0 (local to host ferdinand)
Creation Time : Thu Aug 11 21:16:38 2011
Raid Level : raid5
Raid Devices : 3
Avail Dev Size : 3907027037 (1863.02 GiB 2000.40 GB)
Array Size : 7814051840 (3726.03 GiB 4000.79 GB)
Used Dev Size : 3907025920 (1863.02 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 8dff364c:161b0a5e:983cfb1e:6e8ebb75
Update Time : Sat Nov 9 19:21:17 2013
Checksum : 594d8f27 - correct
Events : 64602
Layout : left-symmetric
Chunk Size : 512K
Device Role : Active device 1
Array State : .A. ('A' == active, '.' == missing)
root@ferdinand:~# mdadm --examine /dev/sdd1
/dev/sdd1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : aee1cc6f:bb0a9112:acb1b9a8:89468900
Name : ferdinand:0 (local to host ferdinand)
Creation Time : Thu Aug 11 21:16:38 2011
Raid Level : raid5
Raid Devices : 3
Avail Dev Size : 3907027037 (1863.02 GiB 2000.40 GB)
Array Size : 7814051840 (3726.03 GiB 4000.79 GB)
Used Dev Size : 3907025920 (1863.02 GiB 2000.40 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : e92f6dad:151a73c1:db7421da:125cd16b
Update Time : Sat Nov 9 19:21:17 2013
Checksum : cf28c812 - correct
Events : 0
Layout : left-symmetric
Chunk Size : 512K
Device Role : spare
Array State : .A. ('A' == active, '.' == missing)
вообще раньше бывали с ним проблемы, часто вылетал sdd1 диск, без всяких причин... лечилось удалением диска и повторным добавлением. тестировал этот диск - никаких железных проблем не нашёл...
Помогите пожалуйста, у меня руки опускаются, вообще без понятия куда копать...