[EMAIL PROTECTED] wrote on 03/18/2007 02:22:39 PM: > I'm running an OpenBSD 4.0 system (generic kernel), fitted with an Adaptec > 29160 SCSI card (so using the ahc driver), with the intention of running an > external 3Tb RAID5 array (a Nexsan ATAboy). The intention is to setup a > variety of partitions, the largest of which is 900Gb. So far, so good. [...] > However, at boot my system only sees the first lun (lun0, as sd0). How do I > get my system to recognise the other LUNs? Is it a limitation of the Adaptec > card, or the ahc driver, or something else? I've tried adding the > SCSIFORCELUN_BUSES and SCSIFORCELUN_TARGETS options to the kernel, so far > without success. I've also tried explicit sd0-3 targets and luns, also > without success.
I had the same problem with one of my servers when I tried the upgrade from 3.9. I'm using a Qlogic ISP 23xx connected to a NetAPP filer, but the symptoms were the same. First, those SCSIFORCELUN* options are no longer used in 4.0... this cost me a few days to figure out! :-\ Second, it seems that krw@ removed some code not needed in revision 1.108 of sys/scsi/scsiconf.c. Not needed by anyone but us... grin! :-) All I was able to do was make my server see the first lun, but not the other two, until I realized I could remap the luns to be 1, 2 and 3, without 0. With that trick the kernel sees all the three. I wasn't able to boot from my first lun, though, until I upgraded my Qlogic firmware, but that's another story... :-) HTH, D.

