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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]