[dm-devel] Requiring a hwtable entry for a dm target device?

Brian Wong bwong at pillardata.com
Thu Dec 15 22:53:12 UTC 2005


On Thu, 2005-12-15 at 16:29 -0500, egoggin at emc.com wrote:
> Currently a dm target device which is not blacklisted need not have a
> corresponding hwentry in either libmultipath/hwtable.c or
> /etc/multipath.conf
> for the target device to be recognized and a multipath mapped device
> created for it.  Is this desirable, possibly for multipathing to JBOD?

yes, it is desirable.  i think the intent is that all reasonably
standards-conformant products should "just work", without needing to
provide special configuration stanzas in .conf files, or, worse yet,
actual source code as system administrators are even less eager to touch
those than conf files.

> 
> An alternative is to require that a hwentry be found and fail to recognize
> the target device otherwise.  Doing so has the distinct advantage of being
> able to use the regular expression matching logic in find_hwe() to
> effectively
> blacklist a target device based on the contents of the target device's
> vendor
> and product device attributes.
> 

i don't understand why it is important to exclude devices from being seen.  doesn't it make more+sense to be able to see as many legitimate devices as possible?  If that's not desirable, isn't there already a way to blacklist devices in the .conf file?





More information about the dm-devel mailing list