From owner-freebsd-questions@FreeBSD.ORG Wed Apr 28 13:00:51 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 E7D5016A539 for ; Wed, 28 Apr 2004 13:00:51 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CC5643D79 for ; Wed, 28 Apr 2004 13:00:19 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i3SK0DKi041590 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 28 Apr 2004 21:00:13 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i3SK0CLR041589; Wed, 28 Apr 2004 21:00:12 +0100 (BST) (envelope-from matthew) Date: Wed, 28 Apr 2004 21:00:12 +0100 From: Matthew Seaman To: Chris Collins Message-ID: <20040428200012.GB41156@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Chris Collins , freebsd-questions@freebsd.org References: <20040428125933.M1798@collins-ca.com> <01a301c42d34$3efbdfa0$12c79384@enfield.ac.uk> <20040428164503.M79217@collins-ca.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jq0ap7NbKX2Kqbes" Content-Disposition: inline In-Reply-To: <20040428164503.M79217@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.[Scanned] 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 20:00:52 -0000 --jq0ap7NbKX2Kqbes Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 28, 2004 at 12:07:34PM -0500, Chris Collins wrote: > That is a good tip... I will be sure to "wire down" the new Raid config.= =20 >=20 > Just one more question... my current setup has ad0s1a for / So ad0 is the= =20 > physical drive definition(controller) and s1a is the logical partition???= and=20 > if I was to add the raid card it might chage to something like this=20 > sc0s1a ??? Is this safe to assume? Sorry just trying to understand how th= is=20 > all functions...=20 >=20 > This is my current fstab=20 >=20 > /dev/ad0s1b none swap sw 0 0 > /dev/ad0s1a / ufs rw 1 1 > /dev/ad0s1f /tmp ufs rw 2 2 > /dev/ad0s1g /usr ufs =20 > rw,userquota,groupquota 2 2 > /dev/ad0s1e /var ufs rw,userquota 2 2 > /dev/acd0c /cdrom cd9660 ro,noauto 0 0 > proc /proc procfs rw 0 0 >=20 > So my new one would look like this??? if sc0 was the new controller id. >=20 > /dev/sc0s1b none swap sw 0 0 > /dev/sc0s1a / ufs rw 1 1 > /dev/sc0s1f /tmp ufs rw 2 2 > /dev/sc0s1g /usr ufs =20 > rw,userquota,groupquota 2 2 > /dev/sc0s1e /var ufs rw,userquota 2 2 > /dev/scd0c /cdrom cd9660 ro,noauto 0 0 > proc /proc procfs rw 0 0 >=20 Right -- so you're not just putting in a new raid card, you're moving your boot drive onto that card as well. 'sc0' won't be the controller ID -- sc is the System Console driver -- but, yes if the raid controller will accept a previously initialised disk, then the change mapping ad0 onto some other device node as you show could work. I wouldn't say that's 100% safe to assume, but you've a reasonable chance of having that work. The CD Rom device will however stay at /dev/acd0c Seeing as you're putting in an ATA Raid card, ignore everything I said about wiring down device names. That works for SCSI devices, not ATA/ATAPI. The device name 'ad0s1a' breaks down as: ad (ATA Drive) 0 (ie. master on primary bus), s1 (first slice), a (partition a)=20 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 --jq0ap7NbKX2Kqbes Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAkA1MdtESqEQa7a0RAvL/AJ0Q95t+PRO0cTokuio9A3ekwn+UHgCeKUNR HTdxiE92KxNeRc2uYcdqXk0= =/G5Y -----END PGP SIGNATURE----- --jq0ap7NbKX2Kqbes--