Summary: | sys-fs/mdadm-4.0 with sys-kernel/vanilla-sources-4.19.11 constantly changes names of raid devices | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Juergen Rose
2018-12-28 21:01:45 UTC
How do you assemble your RAID? I see changing names when I switch the way how arrays get assembled. I.e. when relying on some auto-magic you can never be sure which device will appear first.
1) Use UUID in /etc/fstab to avoid all of this.
2) If you don't want to use UUID, make sure you use only mdadm to assemble RAID and make sure your mdadm.conf containing
> ARRAY /dev/md/<your desired name> metadata=1.2...
is present when you assemble your RAID. This way, mdadm will apply set name from config.
Closing as CANTFIX because I am not aware of any behavior change causing this and there's nothing we can do about it.
|