From owner-freebsd-stable@FreeBSD.ORG Sat Jul 31 19:26:12 2004 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 7558116A4CE for ; Sat, 31 Jul 2004 19:26:12 +0000 (GMT) Received: from mail.ticketswitch.com (mail.ticketswitch.com [194.200.93.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 032F943D2D for ; Sat, 31 Jul 2004 19:26:11 +0000 (GMT) (envelope-from petefrench@ticketswitch.com) Received: from [172.16.1.6] (helo=dilbert.firstcallgroup.co.uk) by mail.ticketswitch.com with esmtp (Exim 4.32; FreeBSD) id 1BqzUU-000Pts-Hf for freebsd-stable@freebsd.org; Sat, 31 Jul 2004 20:26:06 +0100 Received: from petefrench by dilbert.firstcallgroup.co.uk with local (Exim 4.32; FreeBSD) id 1BqzUU-000N79-DE for freebsd-stable@freebsd.org; Sat, 31 Jul 2004 20:25:58 +0100 To: freebsd-stable@freebsd.org Message-Id: From: Pete French Date: Sat, 31 Jul 2004 20:25:58 +0100 X-Spam-Score: 0.0 (/) Subject: How does CAM determine the order to number drives ? 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: Sat, 31 Jul 2004 19:26:12 -0000 Hi, I have a small server which boots from an Adaptec 2940 controller under CAM, and serves drives off a Compaq 4200 RAID controller. I have spent the afternoon ttrying to upgrade the RAID controller from a 4200 to a 5300. The 5300 uses the CISS driver rather than the IDA driver, and this lives under CAM too. Thus my RAID drives have changed from being idad devices to being da devices. Unfortunately the RAID controller gets scanned first so I now have a da0 and a da1 where I didnt before, and my root drive has moved to da2. I can't persuade it to boot like this - it refuses to mount the root from da2. The simplest solution, of course, would be to somehow force the CAM system to scan the Adaptec controller first, so that the root device is back in da0 where it belongs. But I cant find out if there is a way of dojing this, or indeed how the system determines the order at all. Any suggestions ? -pcf. PS: System is 4.10-RELEASE, though I suspect this is irrelevent