Date: Wed, 28 Apr 2004 21:00:12 +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.[Scanned] Message-ID: <20040428200012.GB41156@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040428164503.M79217@collins-ca.com> References: <20040428125933.M1798@collins-ca.com> <01a301c42d34$3efbdfa0$12c79384@enfield.ac.uk> <20040428164503.M79217@collins-ca.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040428200012.GB41156>