Accepting request 61540 from Base:System

Accepted submit request 61540 from user neilbrown

OBS-URL: https://build.opensuse.org/request/show/61540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mdadm?expand=0&rev=52
This commit is contained in:
Ruediger Oertel 2011-02-18 11:25:41 +00:00 committed by Git OBS Bridge
commit 9fa7616260
2 changed files with 10 additions and 0 deletions

View File

@ -8,6 +8,8 @@ ENV{ID_FS_TYPE}=="linux_raid_member", PROGRAM="/bin/grep -qs '^AUTO -all' /etc/m
# import data from a raid set
KERNEL!="md*", GOTO="md_end"
#this extra caution avoids some races with the device disappearing
TEST!="md/array_state", GOTO="md_end"
# container devices have a metadata version of e.g. 'external:ddf' and
# never leave state 'inactive'
ATTR{md/metadata_version}=="external:[A-Za-z]*", ATTR{md/array_state}=="inactive", GOTO="md_ignore_state"

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Feb 17 00:27:02 UTC 2011 - nfbrown@novell.com
- 64-md-raid.rules: avoid races with md devices
appearing and disappearing.
If the 'array_state' file doesn't exist, that is equivalent
to it having 'clear' in it. (bnc#641382)
-------------------------------------------------------------------
Wed Nov 17 03:27:33 UTC 2010 - nfbrown@novell.com