Setting up RHEL to boot with `/` (root) on an `mdadm` RAID device
dev.to·19h·
Discuss: DEV
🌉NVMe-oF RDMA
Preview
Report Post

When you place the RHEL root filesystem on a software RAID array built with mdadm, the initramfs (dracut) must be able to find and assemble that RAID array very early in the boot process. A reliable way to do this is to pass the RAID array UUID to the kernel command line via GRUB, so dracut knows exactly which array to assemble.

Below is a minimal and practical configuration workflow.

1) Confirm the RAID array UUID

First, obtain the array definition and its UUID from mdadm.

$ sudo mdadm --detail --scan
ARRAY /dev/md/0 metadata=1.2 UUID=XXX

Key point:

  • The UUID=XXX here is the identifier you will pass to the boot process.
  • Using the UUID is preferred over guessing device names, which can change depending on discovery order.

2) Add the RAID UUID to th…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help