For some reason after I’ve got my raid all set up and mounted 2 of the disks suddenly become re-added as sde and sdf when they were sdc and sdd when I made the raid. Now it’s obviously broken…
I don’t even know where to start with this?
When I reboot they’re back to normal, but the raid can no longer be mounted:
$>sudo mount /dev/md0 /mnt/raid10
mount: /mnt/raid10: can't read superblock on /dev/md0.
dmesg(1) may have more information after failed mount system call.
dmesg:
[ 227.608355] mount: attempt to access beyond end of device
md0: rw=4096, sector=2, nr_sectors = 2 limit=0
[ 227.608400] EXT4-fs (md0): unable to read superblock
They got new letters because the original device name was still used by RAID device.
This sounds like some kind of power stability issue. Can you try using each disks normally without setting up the raid? It might be caused by spin up current is too high for your power supply, when RAID brings them up at the same time. Can you share the disk model as well?
I had been having some issues with the os installation from a previous project so I figured a fresh install may help. I installed the latest Trixie version from the raspi installer app and discovered quickly that it wasn’t well supported. After building some things and updating some code things have been working better than before and I’m yet to see the same behaviour, but I haven’t stress tested it properly yet either.
I also was following some incomplete instructions for creating the raid array previously and the new steps I’m following are possibly making things better too?
I’m might try and fork the repo and provide a Trixie compatible version if I get the time?
I will update here if the os upgrade and refresh has improved the stability.
Edit: more than 24 hours later and still seems stable.