Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 2004 15:33:43 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Chris Collins <collins@collins-ca.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Installing RAID question.
Message-ID:  <20040428143343.GB38741@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20040428125933.M1798@collins-ca.com>
References:  <20040428125933.M1798@collins-ca.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040428143343.GB38741>