lkml.org 
[lkml]   [1999]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH]SCSI scanorder enhancement
Date
The kernel assigns minor SCSI device numbers dynamically. This is done by
assigning them only to actually connected devices in order of their SCSI-id's
(mostly ascending). This means that connecting an external SCSI device changes
the minors of all internal devices with a higher SCSI-id forcing me to change
/etc/fstab when connecting the external device and to change it back when
disconnecting the device.

I created a small scsiorder patch to solve this by fixing the problem where it
originates. For example the kernel parameter "scsi_scanorder=1,10,6" means to
scan the devices in the following order: 1,10,6,0,2,3,4,5,7,8,9,11,12,13,15.
Which means SCSI-id's 1,10,6 and 0 will allways be mapped on sda, sdb, sdc en
sdd (if all connected).

The latest version supports the specification of a specific adapter as well:
"scsi_scanorder=io=0xe800:1,10,6;0x330:1,2"

More info: http://flits102-126.flits.rug.nl/~rolf/scanorder/index.html There's
a small description of the alternatives like devfs and scsidev as well.

cheers!

Rolf.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.042 / U:0.992 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site