Score:0

Bootprocess stops after detaching raid member

hm flag

I run following Setup in my Testlabor before migrating into production:

Dm-crypt/luks Raid1 / btrfs EFI dracut / fedora Server GRUB2 Systemd

I simulated a drive failure (the one without boot partition)

The boot process stops with: Waiting for Job of disk by uuid - no limit

I suspect it’s waiting for the root fs to come up.

  • I added the root flag “degraded” so the btrfs is mountable.
  • Removed the second disk from the parameters “rd….”

Still boot stuck. So I started an emergency shell to alter fstab, the root sun vol was mountable with the degraded option without any problems.

My question: How can I manually stop dracut / init from trying to mount the second cryptdevice? I am fine going into the shell in the case of boot and rebuild the initramfs without it or just use another disk out of the server?

Also happily take another suggestion for a saner build.

My main goal is to ensure data integrity that’s why I run raid1 on btrfs for the root. All other Volumens have integrity check and regular backup. Still to think about the best way to ensure I can still Boot when the other disks fails as afaik the boot or at least boot/efi won’t run in this config. The server only supports console via ipmi I cannot mount a rescue image directly so having plugged in a usb Stick which constantly needs update or PXE might be my best bet for now.

I read the redhat documentation man pages and did google research but I couldn’t find a suitable answer to this case.

Thanks in advance

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.