[openfabrics-ewg] Creating 91-srp.rules from openibd

Michael S. Tsirkin mst at mellanox.co.il
Wed Sep 27 09:31:39 PDT 2006


Quoting r. Scott Weitzenkamp (sweitzen) <sweitzen at cisco.com>:
> Subject: Creating 91-srp.rules from openibd
> 
> Vlad,
> 
> Is it really a good idea to be creating /etc config files from openibd?

Whether this rule is needed depends on the SRP HA enabled in config.
So there's not a lot of choice in the current infrastructure.

> Also, it looks like you are appending to the file again each time SRP is
> started.
> 
> +                        ib_srp)
> +                                # Create 91-srp.rules file
> +                                mkdir -p /etc/udev/rules.d
> +                                cat >> /etc/udev/rules.d/91-srp.rules
> << EOF
> +ACTION=="add", KERNEL=="sd*[!0-9]", RUN+="/sbin/multipath %M:%m"
> +EOF
> 
> Scott Weitzenkamp

This probably better be fixed, although stop removes the file so
no real harm's done.

-- 
MST




More information about the ewg mailing list