*BSD News Article 67659


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.vbc.net!garlic.com!news.scruz.net!kithrup.com!news.Stanford.EDU!agate!howland.reston.ans.net!psinntp!psinntp!psinntp!psinntp!cmcl2!news.nyu.edu!usenet
From: sdp4198@is2.nyu.edu (Shoel Perelman)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: disklabel, newfs, etc.--> Adding a second SCSI drive?!
Date: 4 May 1996 05:12:00 GMT
Organization: NYU
Lines: 32
Message-ID: <4meov0$u4k@news.nyu.edu>
NNTP-Posting-Host: dial4-2-async-07.dial.net.nyu.edu
Mime-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
X-Newsreader: WinVN 0.99.6

I've got a system setup with one IDE drive (all bootable and working fine) and 
a SCSI drive (not working yet).  I need to format and get the SCSI drive up and 
running with its own filesystem, etc.  I am having a hard time finding a doc 
explaining exactly what needs to be done.  I've gathered (from miscellenous 
scattered hints) that I need to use newfs, disklabel and some other stuff.  

1) Is there a good FAQ to explain all this (like the myriad great linux FAQs)?
2) If not, could someone post a quick explanation of how to do this?

I'm at the point where I can see the drive if I do fdisk /dev/sd0 and I can 
creat a partition on it when I boot off the Free bsd setup disk.  I can't seem
to get to that nice partitioning utility the bootup install disk has without
actually booting the install disk.  Does it have a name once you are already
booted up?  (eg. linux's setup).  It seems I now need to use disklabel, but I
need a disktype entry.  Am I supposed to create this myself in /etc/disktab? 
I almost can't beleive one has to go through this when I know perfectly well 
that Freebsd KNOWS my drive's specs - it reports them when I do disklabel 
/dev/sd0! Do they expect me to copy all these parameters by hand into disktab? 

After the disklabel ordeal, will newfs magically know which drive I wish to
create a new fileysstem on?  

Any help or a pointer in the right direction would be GREATLY appreciated!
At this point, I have this feeling of being lost in FReebsd even though I'm a
2 year veteran of linux.   I guess I have this feeling due to the apparent
lack of FAQ besides the main one and the handbook (maybe I don't know where to
look?).  

Thanx,
-Shoel Perelman