From owner-freebsd-fs Tue Oct 14 14:48:28 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA19896 for fs-outgoing; Tue, 14 Oct 1997 14:48:28 -0700 (PDT) (envelope-from owner-freebsd-fs) Received: from ns1.yes.no (ns1.yes.no [195.119.24.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA19878; Tue, 14 Oct 1997 14:48:17 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by ns1.yes.no (8.8.7/8.8.7) with ESMTP id VAA25982; Tue, 14 Oct 1997 21:48:04 GMT Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id XAA17036; Tue, 14 Oct 1997 23:47:55 +0200 (MET DST) Date: Tue, 14 Oct 1997 23:47:55 +0200 (MET DST) Message-Id: <199710142147.XAA17036@bitbox.follo.net> From: Eivind Eklund To: Simon Shapiro CC: greg@lightningweb.com, freebsd-scsi@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG In-reply-to: Simon Shapiro's message of Wed, 23 Jul 1997 23:21:48 -0700 (PDT) Subject: RE: adding RAID to the OS without re-partitioning References: Sender: owner-freebsd-fs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > > Hi "Greg K. Cagle"; On 23-Jul-97 you wrote: > > I plan on adding a RAID disk array to my existing server. Ther server > > has > > three HDD's in it now, with "/" as one, "/usr/" as another, and a spare > > that's partitioned as "/scratch/". > > > > The disk array will be an independent unit, and will hook up to the > > external port on my Adaptec 2940UW. The company (Baydel) says that the > > array will appear as one large volume to FreeBSD. > > > > My question: How do I include the new array as part of the filesystem, > > without re-installing? I know I can make those choices when I first > > install the OS, but can I add a partition now, without messing up > > anything? I want to end up with the large RAID as my "/usr/" partition. > > > > Thanks for suggestions, > > > > Greg > > > > ps I have 2.1.5 on a Pentium Pro 200 with 128MB ram. > > Since no on else took it on, I will donate my $0.02. > > This is really not a SCSI issue at all. > > essentially, this is what you do: [Long and complicated description deleted] This use an MS-DOS partition table, and is not how I would have done it - I would have done ## Find SCSI device number $ dmesg | grep sd sd17(dpt0:1:0): Direct-Access 16394MB (32542592 528 byte sectors) ## Initial labelling of disk $ disklabel -rw sd17 auto (you'll likely get a warning about "wrong magic number" in the syslog about here - ignore it) ## Set up partitions $ disklabel -e sd17 (Remember to check that it all sum up correctly, and that the sum of each offset+size is equal to the offset of the next slice - and slice c should cover the entire disk) ## Install filesystems $ newfs /dev/rsd17a for each of a,e,f,g (or whatever filesystems you use) And now just mount them. (Shimon was more detailed - I just say that this is described both in the handbook and the FAQ ;-) Eivind.