Hi
I got a little setup with my raspberry pi. running rasbian lite 64bit on it. the raspberry pi hasnt 4 usb3 ports so i decided to attach a quad sata hat : https://wiki.radxa.com/Dual_Quad_SATA_HAT
for drives i used 4x 4TB WD Red plus
omv cant use drives for raid over a usb connection so i manually setup my raid with this
Code
sudo mdadm --create --verbose /dev/md/raid5 --level=5 --raid-devices=4 /dev/sda /dev/sdb /dev/sdc /dev/sdd
after some seconds the raid appears in the webui or i can watch status with
Code
cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md127 : active raid5 sdd[4] sdc[2] sdb[1] sda[0]
11720658432 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]
[>....................] recovery = 0.6% (23970784/3906886144) finish=627.4min speed=103140K/sec
bitmap: 0/30 pages [0KB], 65536KB chunk
unused devices: <none>
but after 5-10mins i got
Code
cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md127 : active raid5 sdd[4](S) sdc[2] sdb[1] sda[0]
11720658432 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]
bitmap: 0/30 pages [0KB], 65536KB chunk
unused devices: <none>
if im not totally incorrect "[UUU_]" means that the 4th drives is down
the output from "mdadm --detail /dev/md127"
Code
mdadm: Unknown keyword INACTIVE-ARRAY
/dev/md127:
Version : 1.2
Creation Time : Sat Mar 12 15:37:51 2022
Raid Level : raid5
Array Size : 11720658432 (11177.69 GiB 12001.95 GB)
Used Dev Size : 3906886144 (3725.90 GiB 4000.65 GB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent
Intent Bitmap : Internal
Update Time : Sat Mar 12 15:41:40 2022
State : clean, degraded
Active Devices : 3
Working Devices : 4
Failed Devices : 0
Spare Devices : 1
Layout : left-symmetric
Chunk Size : 512K
Consistency Policy : bitmap
Name : nastyraspi:raid5 (local to host nastyraspi)
UUID : cec7d7ce:2ba2260c:4e8a80c2:8c363fc3
Events : 283
Number Major Minor RaidDevice State
0 8 64 0 active sync /dev/sde
1 8 80 1 active sync /dev/sdf
2 8 32 2 active sync /dev/sdc
- 0 0 3 removed
4 8 48 - spare /dev/sdd
Display More
so i think this is the problem.
can someone please help me? im searching all over the internet but i cant find any solution for this problem.. (or im searching wrong..)
Thanks anyways for any help