Raid won't boot

Something weird happened. Made a raid 0 of two nvme to have one bigger drive instead of two small. Used mdadm according to a YouTube tutorial, seem to work, mounted it with fstab and did a mount -a to test it, everything worked fine, until I reboot… I tried on multiple mounting points nothing works… in at a bit of a loss. Anyone got a good tutorial so I’ll try again?

If the raid device is not your boot volume you should pass the 0 0 options at the end in your fstab so you can still boot the system.

If it is the root filesystem then you’re in a bind.

Use a live usb of some distro for troubleshooting

1 Like

I putted in fstab
/Dev/md127 /raid ext4 Defaults,noatime 0 1

Yeah, change that 1 at the end to a 0.

1 causes it to panic

Tried it right now, no avail…

You’re going to have to use a live usb then to do troubleshooting

Hum, seems my raid didn’t stick, that’s why it didn’t work after reboot. Curious. Should i have mounted the drives in fstab before doing the raid? I mean i created the raid with mdadm, seems to have worked, I mean in the details i could see it’s a clean raid and it was working, why wouldn’t it stick?