Kod: Zaznacz cały
# cat /proc/mdstatPersonalities : [raid1]
md127 : active raid1 sdb8[0]
364819968 blocks [2/1] [U_]
unused devices: <none>
Kod: Zaznacz cały
# sudo mdadm /dev/md127 --re-add /dev/sda8
mdadm: --re-add for /dev/sda8 to /dev/md127 is not possible
# sudo mdadm /dev/md127 --fail /dev/sda8 --remove /dev/sda8
mdadm: set device faulty failed for /dev/sda8: No such device
# sudo mdadm /dev/md127 --add /dev/sda8
mdadm: /dev/sda8 reports being an active member for /dev/md127, but a --re-add fails.
mdadm: not performing --add as that would convert /dev/sda8 in to a spare.
mdadm: To make this a spare, use "mdadm --zero-superblock /dev/sda8" first.
Może przyda się jeszcze informacja z examine.
Ten dysk nie uruchamia się, a jak widać twierdzi, że jest częścią działającej macierzy.
Kod: Zaznacz cały
# sudo mdadm --examine /dev/sda8
/dev/sda8:
Magic : a92b4efc
Version : 0.90.00
UUID : 306fc8ba:e6ea97e0:7a9e4e85:389936fa (local to host boruta)
Creation Time : Fri May 21 16:38:55 2010
Raid Level : raid1
Used Dev Size : 364819968 (347.92 GiB 373.58 GB)
Array Size : 364819968 (347.92 GiB 373.58 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 127
Update Time : Mon Oct 17 21:19:38 2011
State : active
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : 240fe904 - correct
Events : 57835
Number Major Minor RaidDevice State
this 1 8 8 1 active sync /dev/sda8
0 0 8 24 0 active sync /dev/sdb8
1 1 8 8 1 active sync /dev/sda8
Kod: Zaznacz cały
# sudo mdadm --examine /dev/sdb8
/dev/sdb8:
Magic : a92b4efc
Version : 0.90.00
UUID : 306fc8ba:e6ea97e0:7a9e4e85:389936fa (local to host boruta)
Creation Time : Fri May 21 16:38:55 2010
Raid Level : raid1
Used Dev Size : 364819968 (347.92 GiB 373.58 GB)
Array Size : 364819968 (347.92 GiB 373.58 GB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 127
Update Time : Wed Oct 19 21:22:49 2011
State : clean
Active Devices : 1
Working Devices : 1
Failed Devices : 1
Spare Devices : 0
Checksum : 24137030 - correct
Events : 58028
Number Major Minor RaidDevice State
this 0 8 24 0 active sync /dev/sdb8
0 0 8 24 0 active sync /dev/sdb8
1 1 0 0 1 faulty removed
Kod: Zaznacz cały
--add:--zero-superblock