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

- From: jes.sorensen@gmail.com
- Date: 2017-03-28 18:22:43 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2017/03/6635017
- Thread: https://ratatoskr.run/linux-raid/2017/03/6635017/t.md

```text
NeilBrown [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
```
