You are not logged in.

#1 2020-02-23 05:19:56

NathanTinker
Member
Registered: 2020-02-15
Posts: 5

[SOLVED] SSD RAID is too fast. Initramfs failed to mount unless wait.

I installed Arch on an Btrfs RAID 0 array.
* When this array is hosted by two HDD, everything is fine.
* But when this array is hosted by two SSD, it can not mount and prompt: "wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error." and fallback to initramfs shell.

I tried two operations, and the result turns out this problem may because that SSD is much faster than HDD:
1. I add "debug" in kernel parameters, and that makes the whole process slow down, and it works.
2. I add "break=premount" in kernel parameters, and just exit initramfs shell after 1 sec, it works.

This is my mkinitcpio.conf:
MODULES="sd_mod ahci btrfs"
BINARIES="fsck fsck.btrfs btrfs btrfsck"
HOOKS="base udev autodetect modconf block filesystems keyboard fsck btrfs"

But I don't know what should I do to solve this problem. Any suggestion is very appreciated.

Last edited by NathanTinker (2020-02-23 08:11:38)

Offline

#2 2020-02-23 06:06:45

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED] SSD RAID is too fast. Initramfs failed to mount unless wait.

Perhaps try switching from the "udev" hook to the "systemd" hook and see what happens. Hopefully it behaves differently.

Offline

#3 2020-02-23 08:06:08

NathanTinker
Member
Registered: 2020-02-15
Posts: 5

Re: [SOLVED] SSD RAID is too fast. Initramfs failed to mount unless wait.

It works. You saved the day. I already struggled for about 24 hours.

Offline

Board footer

Powered by FluxBB