linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] udev rules behaviour
@ 2011-09-04 12:42 Michal Soltys
  2011-09-04 12:42 ` [PATCH 1/2] udev rules: don't incrementally autoassemble everything Michal Soltys
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Michal Soltys @ 2011-09-04 12:42 UTC (permalink / raw)
  To: neilb; +Cc: linux-raid

Current udev rules installed cause autoassembly of everything that is possible
during coldplug - due to mdadm -I calls for each matching device.

This causes two immediate problems:

- mdadm.conf kind-of rendered pointless, as the assembly of any array will be
  attempted either way

- 65-md-inc*.rules (e.g. present in dracut and different distributions)
  offering more fine grained controls (e.g. incremental assembly limited to
  certain uuids) are also shadowed by mdadm's default rules

If this is not expected behaviour, following patch removes -I calls.
Second patch adds ddf (and any future) containers to -If calls.


Alternatively, we could detect presence of 65-md-inc* and mdadm.conf and
attempt assemlby only if none of those are present ? Not perfect, but
a bit more flexible.


Michal Soltys (2):
  udev rules: don't incrementally autoassemble everything
  shorten remove rules

 udev-md-raid.rules |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

-- 
1.7.5.3


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-09-19  7:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-04 12:42 [PATCH 0/2] udev rules behaviour Michal Soltys
2011-09-04 12:42 ` [PATCH 1/2] udev rules: don't incrementally autoassemble everything Michal Soltys
2011-09-04 12:42 ` [PATCH 2/2] shorten remove rules Michal Soltys
2011-09-06 21:39 ` v2 - keep incremental, check types Michal Soltys
2011-09-06 21:39   ` [PATCH] udev rules: add ddf, shorten checks, use $tempnode Michal Soltys
2011-09-07  4:00 ` [PATCH 0/2] udev rules behaviour NeilBrown
2011-09-08  7:25 ` v2 once more, for current head Michal Soltys
2011-09-08  7:25   ` [PATCH] udev rules: use $tempnode, check for supported types, comments Michal Soltys
2011-09-19  3:12     ` NeilBrown
2011-09-19  7:23       ` Michal Soltys

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).