All of lore.kernel.org
 help / color / mirror / Atom feed
* multipath.rules placement
@ 2016-11-08 19:56 Benjamin Marzinski
  2016-11-09  7:52 ` Hannes Reinecke
  0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Marzinski @ 2016-11-08 19:56 UTC (permalink / raw)
  To: Hannes Reinecke; +Cc: dm-devel

I'm looking through the multipath udev rules again to see if we can come
closer to one consistent set, or at least understand why we need to
agree to disagree and right now I'm trying to figure out why it's
important for SUSE to have 56-multipath.rules run before
60-persistent-storage.rules.

We use 62-multipath.rules in RHEL for two main reasons. First, scsi_id
is run in 60-persistent-storage.rules, which is what sets ID_SERIAL, so
if multipath.rules is run before that, we'll never be able to get our
information from udev. I know that you've added code to cope with this,
assuming the standard uid_attribute, but it seems better to me to just
wait for udev to fill in these values itself.

Second, 60-persistent-storage.rules runs blkid, which should set
ID_FS_TYPE.  Setting it in 56-multipath.rules just means that
60-persistent-storage.rules will overwrite it.

So, what do we gain by running multipath.rules before
60-persistent-storage.rules?

-Ben

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

end of thread, other threads:[~2016-11-09  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-08 19:56 multipath.rules placement Benjamin Marzinski
2016-11-09  7:52 ` Hannes Reinecke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.