Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!asstdc.scgt.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!uwm.edu!vixen.cso.uiuc.edu!newsfeed.internetmci.com!news1.erols.com!news2.cais.net!news.cais.net!news2.cais.com!cais.cais.com!mcgraw From: Michael Curry <mcgraw@cais.cais.com> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Okay, I give up. Date: Thu, 28 Mar 1996 16:00:43 -0500 Organization: Capital Area Internet Service, Inc. Lines: 53 Message-ID: <Pine.BSI.3.91.960328154736.6597A-100000@cais.cais.com> References: <199603271928.LAA25885@kithrup.com> NNTP-Posting-Host: cais.com Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <199603271928.LAA25885@kithrup.com> On Wed, 27 Mar 1996, Sean Eric Fagan wrote: > In article <4jc2sr$1da@news2.cais.com> you write: > >How DO you add a second disk to a FreeBSD system? Sysinstall, sure and > >begorra, will not do it -- unless there are hidden options somewhere. > > What kind of drive is it? > > This is what I did when I added a second SCSI disk (my third disk total) to > my system: > > First, built a kernel that had sd0 and sd1, and booted it > Make sure that the right drive was assigned to sd1 > Then, I did 'disklabel -r -e sd1'; this complained about some stuff, as I > recall, but it *did* put a disklabel on it, even if it had no partitions. > Then, I verified that it was there by "disklabel -r sd1". > Then, I did "disklabel -r -e sd1" again, and added the partitions I wanted. > I had to create a c partition, of course, and I also created 'a' and 'b' > ('a' was for news, 'b' was a relatively small swap partition). 'c' was the > entire disk. > > Then, I did, 'newfs /dev/sd1a'. It might have been newfs /dev/rsd1a? > > After that, I added /dev/sd1a to my fstab file, and it was all set. > > The worst problem I had was that I'd actually done a "newfs /dev/sd0e" > originally -- that was my original news partition, it was still active, and > my system ended up panicing ;). It's a plain old cheap Conner 420M IDE that I just want to mount as extra storage as /usrplus or some such. A couple of us around this dump have been futzing around with BSD for a few weeks because the Linux box we use as a mail server looks like it's about to give up the ghost, and we've noticed that FreeBSD beats the hell outa Linux for ftp service, so what the heck, might as well convert over, and there IS the entertainment value to consider. Anyway, yesterday it was deduced that the second drive might have to be addressed as /dev/rwd1 instead of /dev/wd1, as far as writing a disklabel is concerned. In a minute or two I will try that, but I want to get through the mail first. We understand that the partitioning scheme may work very well, and be a real stroke of genius, from one point of view anyway, but the particulars are very different, and not, uh, all that well-documented. All in all, not a hard as "Return to Zork". We'll get there. Thanks for your help. Mike