Re: [mdadm PATCH] udev-md-raid-assembly.rules: Skip non-ready devices

From
jes.sorensen@gmail.com
Date
2017-03-28 18:22:43
NeilBrown [off-list ref] writes:
From: Hannes Reinecke <hare@suse.de>

If a device isn't fully initialized (e.g if it should be
handled by multipathing) it should not be considered for
md/RAID auto-assembly.  Doing so can cause incorrect results
such as causing multipath to fail during startup.

There is a convention that the udev environment variable
SYSTEMD_READY be set to zero for such devices.  So change
the mdadm rules to ignore devices with SYSTEMD_READY==0.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: NeilBrown <redacted>
---
 udev-md-raid-assembly.rules | 3 +++
 1 file changed, 3 insertions(+)
Applied!

Thanks,
Jes
Thread (1 message) 1 message, 1 author, last reply 2017-03-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help