From owner-freebsd-questions@FreeBSD.ORG Wed Apr 28 07:33:54 2004 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 94B8D16A4CE for ; Wed, 28 Apr 2004 07:33:54 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B2B343D69 for ; Wed, 28 Apr 2004 07:33:53 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i3SEXhBr039196 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 28 Apr 2004 15:33:43 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i3SEXhhn039195; Wed, 28 Apr 2004 15:33:43 +0100 (BST) (envelope-from matthew) Date: Wed, 28 Apr 2004 15:33:43 +0100 From: Matthew Seaman To: Chris Collins Message-ID: <20040428143343.GB38741@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Chris Collins , freebsd-questions@freebsd.org References: <20040428125933.M1798@collins-ca.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZoaI/ZTpAVc4A5k6" Content-Disposition: inline In-Reply-To: <20040428125933.M1798@collins-ca.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20040420, clamav-milter version 0.70k X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: Installing RAID question. 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: Wed, 28 Apr 2004 14:33:54 -0000 --ZoaI/ZTpAVc4A5k6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 28, 2004 at 08:29:39AM -0500, Chris Collins wrote: > Has anybody installed a RAID card into a running/production FBSD 4.8 mach= ine?=20 > I am just wondering if the drive name will change? and if updating the fs= tab=20 > file is all that is needed aside from the kernel configuration. My raid c= ard=20 > does not require the drive to be init to enable mirroring. Yes, this is a well known problem -- it's not just adding new RAID controllers that can cause it. Even something as simple as plugging in a USB disk before booting can cause the 'da0' device to be usurped. In order to prevent it, you can "wire down" your current root drive to be da0 in your kernel configuration -- see the section "SCSI DEVICE CONFIGURATION" in LINT for details. Something like this should do the trick: device scbus0 at ahc0 device da0 at scbus0 target 0 unit 0 Which says that your first ahc(4) SCSI controller has the first SCSI bus on the machine, and that da0 lives on that bus at the given target and unit numbers. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --ZoaI/ZTpAVc4A5k6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAj8DGdtESqEQa7a0RAmzdAJ4pwLquROEAR26NgKlhrHKAiZsm4ACfbjYf 5dK9chz7FNulmt2Msf/ph+I= =hKE/ -----END PGP SIGNATURE----- --ZoaI/ZTpAVc4A5k6--