Hallo zusammen,
seit geraumer Zeit wird mein Raid-5 nicht gemounted beim booten.
timeout waiting for /dev/md127
Der Befehl mdadm --detail /dev/md127 sagt das alle HDDs im Zustand removed sind.
Mein Workaround sieht im moment so aus das Systemd ein Bash-Script ausführt:
#!/bin/bash
mdadm --stop /dev/md127
mdadm --assemble --scan
mount /dev/md127 /mnt/alpha/
#systemctl restart plexmediaserver.service
systemctl restart syncthing@andy.service
Danach sagt mdadm --detail /dev/md127 das alles i.o ist:
/dev/md127:
Version : 1.2
Creation Time : Fri Apr 17 06:27:32 2020
Raid Level : raid5
Array Size : 8790091776 (8382.88 GiB 9001.05 GB)
Used Dev Size : 2930030592 (2794.29 GiB 3000.35 GB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Tue May 5 21:32:49 2020
State : active
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Layout : left-symmetric
Chunk Size : 256K
Consistency Policy : bitmap
Name : jessie:alpha (local to host jessie)
UUID : 5b9de3ca:a39a432f:04d0ac03:cf3f4aa6
Events : 25885
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1
2 8 33 2 active sync /dev/sdc1
4 8 49 3 active sync /dev/sdd1
Meine mdadm.conf sieht wie folgt aus:
DEVICE partitions
ARRAY /dev/md/alpha metadata=1.2 name=jessie:alpha UUID=5b9de3ca:a39a432f:04d0ac03:cf3f4aa6
Meine mkinitcpio.conf:
MODULES=()
BINARIES=(mdmon)
FILES=()
HOOKS=(base udev autodetect modconf block mdadm_udev filesystems keyboard fsck)
Hat jemand eine Idee was ich machen könnte?