> - change /etc/udev/rules.d/85-multipath.rules to invoke
> /sbin/hsg80_start only if we detect that we are really on an HSG80
> and with the recognized passive path (size is set to 10GB by HSG
> firmware).
Hm, wait. Isn't there a better way to detect this? You'll end up
starting active paths to volumes that for some reason happen to be 10GB
this way. Not sure if that's a problem at all though, but won't maybe
sg_turs be a better test to see if it indeed is a passive path?
I also noticed that you don't check the vendor attribute in sysfs when
matching the HSG80. Probably not necessary, but for the sake of
completeness...
* Fabio Massimo Di Nitto
> - change /etc/udev/ rules.d/ 85-multipath. rules to invoke
> /sbin/hsg80_start only if we detect that we are really on an HSG80
> and with the recognized passive path (size is set to 10GB by HSG
> firmware).
Hm, wait. Isn't there a better way to detect this? You'll end up
starting active paths to volumes that for some reason happen to be 10GB
this way. Not sure if that's a problem at all though, but won't maybe
sg_turs be a better test to see if it indeed is a passive path?
I also noticed that you don't check the vendor attribute in sysfs when
matching the HSG80. Probably not necessary, but for the sake of
completeness...
--
Tore Anderson