*BSD News Article 49011


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!howland.reston.ans.net!newsserver.jvnc.net!cmi.hahnemann.edu!alpha.enc.edu!owensc
From: "Charles N. Owens" <owensc@enc.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: HELP: adding second disk!
Date: Fri, 18 Aug 1995 08:11:47 -0400
Organization: Hahnemann University
Lines: 44
Message-ID: <Pine.A32.3.91.950818081009.32532C-100000@alpha.enc.edu>
NNTP-Posting-Host: alpha.enc.edu
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hello,
I've tried to figure this out, but am having trouble.  I'm trying to add 
a second drive to my system.  It's a Seagate ST15230W SCSI-2 WIDE 4 GIG 
drive.  The controller and FBSD recognize it's existence fine, but I'm 
having trouble attacking it with fdisk and disklabel.

Is the correct procedure for me to:
	1. fdisk -u
           Make one partition, type 165, using whole drive.
	2. Add entry to /etc/disktab defining my drive.
	3. do a   disklabel -r -w /dev/sd1 st15320w
?

I tried the fdisk step, and it seems to be fixated on what the BIOS
thinks.  Does it mean the SCSI controller BIOS or the system BIOS?  I
don't think that the system BIOS should know a thing about either of my
SCSI drives.  Fdisk kept telling my that the #of tracks is 90, when I know
it's 114, and when I try to tell it differently, it doesn't budge. 

Here is my new /etc/disktab entry:

st15230w|Seagate ST15230W 4 Gig SCSI-2 WIDE:\
        :dt=SCSI:ty=winchester:se#512:nt#19:ns#114:nc#3992:\
        :pa#192774:oa#0:ta=swap:\
        :pb#197106:ob#192774:bb#4096:fa#512:tb=4.2BSD:\
        :pc#8646672:oc#0:\
        :pd#8256792:od#389880:bd#4096:fd#512:td=4.2BSD:\

Should this be OK?  Of course, when I tried to run disklabel, I get the 
following:		ioctl DIOCWLABEL: Operation not supported by device,
but I wouldn't expect it to work in light of the trouble I'm having with 
fdisk.

Could someone shed some light on this situation?

thanks,
---
-------------------------------------------------------------------------
  Charles Owens					 Email:  owensc@enc.edu
                                       "I read somewhere to learn is to
  Information Technology Services     remember... and I've learned that
  Eastern Nazarene College            we've all forgot..."   - King's X
-------------------------------------------------------------------------