Skip to contentSkip to conversation

Bug#351606: [[email protected]: Re: Bug#351606: multipath

DISCUSSION Christophe Varoqui 1 participant 1 message Feb 9, 2006

lore
Share & tools
lore
#0 lore raw
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_id to detect multiple paths.

Quoted 7 lines
Quoted 2 lines

scsi_id on SATA devices (via libata) returns a string like:
| 0ATA_ST3160827AS_Linux_ATA-SCSI_simulator

Add 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