On Wed, 2007-04-04 at 16:56 -0700, Ed Lin wrote: > The correct internal mapping of stex controllers should be: > id:0~15, lun:0~7 (st_shasta) > id:0, lun:0~127 (st_yosemite) > id:0~127, lun:0 (st_vsc and st_vsc1) > > Unfortunately we can not use the internal id/lun as scsi > mid layer id/lun. The Linux kernel has a config option > CONFIG_SCSI_MULTI_LUN. This option is not selected > in some major Linux releases. If it is not selected, > then st_shasta can expose 16 LDs(logical drive) > at most, while st_yosemite can expose only one LD. > This is clearly unacceptable. Erm, there's a simple way out of this: That's the BLIST_FORCELUN option. This is why most of the RAID devices have entries in scsi_devinfo.c like: {"ADAPTEC", "AACRAID", NULL, BLIST_FORCELUN}, Which overrides the CONFIG_SCSI_MULTI_LUN setting for the particular device. We can easily add an entry for stex as well. James - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html