Date: Wed, 23 Jul 2003 10:35:34 -0700 (PDT) From: Nate Lawson <nate@root.org> To: Andrew Heybey <ath@niksun.com> Cc: scsi@freebsd.org Subject: Re: probing LUN's Message-ID: <20030723103100.E39567@root.org> In-Reply-To: <85vfttl7r9.fsf@stiegl.mj.niksun.com> References: <200307231125.h6NBPiIS038040@dt.home> <85vfttl7r9.fsf@stiegl.mj.niksun.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 23 Jul 2003, Andrew Heybey wrote: > >>On Wed, 23 Jul 2003 21:25:44 +1000 (EST), Tony Maher <tonymaher@optushome.com.au> said: > tonymaher> Hello, I have been attempting to get a Hitachi SAN > tonymaher> attached to a FreeBSD box via a Qlogic 2300 card. The > tonymaher> card appeared to work ok (as evidenced by verbose boot > tonymaher> messages but no disk(s) was seen. Finally was able to > tonymaher> see disk with a 'camcontrol rescan 1:0:4' > tonymaher> command. Previous 'camcontrol rescan all' and 'camcontrol > tonymaher> rescan 1' failed to see disk. (and obviously not seen at > tonymaher> boot time). > > tonymaher> I did not set the SAN up but from a cursory examination: > tonymaher> The SAN has two controllers and two 'logical' raid 5 > tonymaher> devices. One controller is connected to a Sun box which > tonymaher> sees c1t0d[0-3] and the 4th lun appears to be given over > tonymaher> to the second controller for the FreeBSD box. > > tonymaher> I assume this means that CAM does not probe all LUN's if > tonymaher> no device at LUN 0 or sys/cam/cam_xpt.c has quirk entry > tonymaher> for device that disables LUN probing. There is quirk for > tonymaher> {"HITACHI", "DK31*"} but the SAN reports as Hitachi > tonymaher> DF600F (I think, sorry its at work and I cannot access it > tonymaher> currently) so the second case shouldn't be a problem. > > You need the ispfw driver (either compiled-in or modloaded) to probe > luns beyond LUN 0 for the QLogic FC card. If that is not your > problem, then I do not know... That's true. However, if camcontrol rescan 1:0:4 works for him, then he can try setting CAM_QUIRK_HILUNS for his device to get other luns probed when 0 doesn't respond. -Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030723103100.E39567>