Bug#351606: [[email protected]: Re: Bug#351606: multipath
Quoted 6 lines · Kay Sievers
Quoted 5 lines · Bastian Blank
Hi folks
I got the following bugreport against multipath-tools, which by default uses
scsi_idto detect multiple paths.
Quoted 7 lines
Quoted 2 lines
scsi_idon SATA devices (via libata) returns a string like:
| 0ATA_ST3160827AS_Linux_ATA-SCSI_simulatorAdd this:
$ cat /etc/scsi_id.config vendor="ATA",options=-p 0x80
In this bug's context the following should work too, in /etc/multipath.conf :
devices {
device {
vendor ATA
product *
getuid_callout "/sbin/scsi_id -g -u -p 0x80 -s /block/%n"
}
}Now, it'll likely not solve all problems. I guess what is really wanted is multipath to blacklist the SATA devices. This feature is in the devel branch only.
blacklist {
device {
vendor ATA
product *
}
}Regards,
cvaroqui
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel