Date: Tue, 14 Oct 1997 23:47:55 +0200 (MET DST) From: Eivind Eklund <perhaps@yes.no> To: Simon Shapiro <Shimon@i-Connect.Net> Cc: greg@lightningweb.com, freebsd-scsi@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG Subject: RE: adding RAID to the OS without re-partitioning Message-ID: <199710142147.XAA17036@bitbox.follo.net> In-Reply-To: Simon Shapiro's message of Wed, 23 Jul 1997 23:21:48 -0700 (PDT) References: <Pine.BSF.3.95q.970723055054.25156A-100000@nefertiti.lightningweb.com> <XFMail.970723232148.Shimon@i-Connect.Net>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710142147.XAA17036>