Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
mdadm.1739
0001-udev-md-raid-assembly.rules-Skip-multipath...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-udev-md-raid-assembly.rules-Skip-multipathed-devices.patch of Package mdadm.1739
From ccf78a45086d04e1b71635ed0c009b0ef42ba6a2 Mon Sep 17 00:00:00 2001 From: Hannes Reinecke <hare@suse.de> Date: Wed, 2 Dec 2015 13:00:15 +0100 Subject: [PATCH] udev-md-raid-assembly.rules: Skip multipathed devices If a device isn't fully initialized (ie if it should be handled by multipathing) it should not be considered for auto-assembly. Doing so will cause multipath to fail during startup. As these devices should be setting the 'SYSTEMD_READY' uevent variable to '0' instructing systemd to ignore this device we can just check for it, too. References: bsc#956236 Signed-off-by: Hannes Reinecke <hare@suse.de> --- udev-md-raid-assembly.rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/udev-md-raid-assembly.rules b/udev-md-raid-assembly.rules index d0d440a..8ca232a 100644 --- a/udev-md-raid-assembly.rules +++ b/udev-md-raid-assembly.rules @@ -7,6 +7,9 @@ ENV{ANACONDA}=="?*", GOTO="md_inc_end" SUBSYSTEM!="block", GOTO="md_inc_end" +# skip non-initialized devices +ENV{SYSTEMD_READY}=="0", GOTO="md_inc_end" + # handle potential components of arrays (the ones supported by md) ENV{ID_FS_TYPE}=="linux_raid_member", GOTO="md_inc" -- 2.6.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor