From owner-freebsd-questions@FreeBSD.ORG Fri Oct 10 22:44:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9AC216A4BF for ; Fri, 10 Oct 2003 22:44:54 -0700 (PDT) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A6F843F75 for ; Fri, 10 Oct 2003 22:44:53 -0700 (PDT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp137-217.lns1.adl2.internode.on.net [150.101.137.217])h9B5ihTK051932; Sat, 11 Oct 2003 15:14:44 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Malcolm Kay Organization: At home To: =?iso-8859-1?q?Rapha=EBl=20Marmier?= , freebsd-questions@freebsd.org Date: Sat, 11 Oct 2003 15:14:42 +0930 User-Agent: KMail/1.4.3 References: <1C73C231-FB76-11D7-A70A-000393D67E4A@computer-rental.ch> In-Reply-To: <1C73C231-FB76-11D7-A70A-000393D67E4A@computer-rental.ch> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200310111514.42627.malcolm.kay@internode.on.net> Subject: Re: a problem of hard disks ordering... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2003 05:44:54 -0000 On Sat, 11 Oct 2003 08:34, Rapha=EBl Marmier wrote: > I have recently installed FreeBSD 4.8 on a small Compaq Proliant server > with a built-in Adaptec SCSI3 controller and a SmartArray 532 raid > controller. > The root device is on the volume provided by the raid controller, which > is accessible under /dev/da#, like the built-in scsi. > > I like to add a scsi drive on the built-in scsi to use for storing > "worthless" data such as /usr/src, /usr/ports and /usr/obj, so it's > fast and doesn't hog the production volume. > > My problem is that when I add a drive to the built-in controller, it > gets mapped to /dev/da0, pushing the SmartArray's volume to /dev/da1 !!= ! > > I need this server to be able to survive a disk failure, IMHO, should > include the ability to reboot properly. However, with such a setup, the > failure of any non-raid disk would prevent the os from booting (wrong > fstab), which somehow defeats the purpose of having raid in the first > place. This is a dns and mail server, so it MUST be able to come up > again, whatever the reason of the shutdown. > > Is there a way to force the order the da driver maps drive? > No personal experience but I believe you can "wire down" both the the drives and the scsi controllers. Take a look at the man pages da(4) and scsi(4) Malcolm