From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christophe Varoqui Date: Thu, 09 Feb 2006 20:00:11 +0000 Subject: Re: Bug#351606: [shuey@fmepnet.org: Re: Bug#351606: multipath Message-Id: <1139515211.2915.21.camel@zezette> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On jeu, 2006-02-09 at 20:28 +0100, Kay Sievers wrote: > On Thu, Feb 09, 2006 at 08:25:14PM +0100, Bastian Blank wrote: > > Hi folks > > > > I got the following bugreport against multipath-tools, which by default > > uses scsi_id to detect multiple paths. > > > > 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 Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel