From owner-freebsd-stable@FreeBSD.ORG Thu Jul 24 04:21:05 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 421EC37B401 for ; Thu, 24 Jul 2003 04:21:05 -0700 (PDT) Received: from c210-49-151-50.thorn1.nsw.optusnet.com.au (c210-49-151-50.thorn1.nsw.optusnet.com.au [210.49.151.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id F147343FBD for ; Thu, 24 Jul 2003 04:21:03 -0700 (PDT) (envelope-from tonymaher@optushome.com.au) Received: from dt.home (localhost [127.0.0.1]) ESMTP id h6OBL2x2037134; Thu, 24 Jul 2003 21:21:02 +1000 (EST) (envelope-from tonym@dt.home) Received: (from tonym@localhost) by dt.home (8.12.9/8.12.9/Submit) id h6OBKvDr037095; Thu, 24 Jul 2003 21:20:57 +1000 (EST) (envelope-from tonym) Date: Thu, 24 Jul 2003 21:20:57 +1000 (EST) From: Tony Maher Message-Id: <200307241120.h6OBKvDr037095@dt.home> To: benh@jpj.net, freebsd-stable@freebsd.org In-Reply-To: Subject: Re: Qlogic Fibrechannel and detecting new LUNs on the fly X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 11:21:05 -0000 On Thu Jul 24 20:33:58 2003 Ben Hockenhull wrote: > I've installed a Qlogic HBA in a 4.8-STABLE machine and I'm able to present > LUNs to this machine from an HDS array and use them. That all works > perfectly. However, the only time I pick up new LUNs is on a reboot. > > Seems like I should be able to rescan the fabric and pick up new LUNs, but > there doesn't seem to be a way to do this. I tried camcontrol rescan, but > that didn't work. > > Any ideas? Weird. I have had opposite problem (as discussed on scsi mailing list in last couple of days). Booting would not see the SAN disk but an explicit 'camcontrol rescan 1:0:4' would show the disk. My problem has to do with how cam code scans. If there is no device at lun 0 it does not probe the other luns. This should not be your problem since booting does pick them up. (and this is under 5.1, I'll reinstall 4.8 tomorrow not that I expect behaviour to change) What is the exact camcontrol command you use? -- tonym