<br><br><div><span class="gmail_quote">2007/11/15, Benjamin Marzinski <<a href="mailto:bmarzins@redhat.com">bmarzins@redhat.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>> What do you think?<br><br>On the other hand, I agree with Stefan that there will be issues with<br>trying to gather the sysfs information for devices that just don't have<br>it.  Like he said, you can ignore them, but I wonder if this might cause
<br>problems for the rare, but still possible, case where you expect that<br>a device should properly provide all its sysfs information, but for some<br>reason, you can't get it. In this case the device would most likely be
<br>silently ignored.  Obviously, we can provide the information if you run<br>the commands with a higher verbosity.</blockquote><div><br>I think this wouls be acceptable. I am not sure whether any useful device that is used for multipathing is not required to provide a /sys/block/device link and a vendor/model attributes there. As long as the reason for which a device is dropped can be seen with a higher verbosity level this should be fine.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The bigger issue I have is that there should be a way to tell multipath,<br>"Don't do anything."  Many people have a multipath package installed on
<br>their systems that they don't even know about, and they don't want it to<br>do anything.  Right now, if you have<br><br>blacklist {<br>        devnode ".*"<br>}<br><br>You pretty much get that behaviour. If anything on their system happens
<br>to run the multipath command, nothing much really happens.  With this<br>method, your adding more things that multipath has to do before if<br>realizes that it shouldn't be doing anything. Of course this could<br>
easily be solved by adding the parameter to the defaults section of<br>multipath.conf.<br><br>defaults {<br>        disable yes<br>}<br><br>This would allow multipath to quit immediately after reading the config<br>file, and it would seperate the choice to disable multipath from the
<br>blacklist setup.</blockquote><div><br>Would it really hurt that much if multipath has to go through some devices before doing nothing? I think it should not take that much time to go through /sys/block and gather that initial information.
<br><br>Regards,<br>Stefan<br></div></div>