Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 1995 17:07:47 -0400 (EDT)
From:      "Charles N. Owens" <owensc@alpha.enc.edu>
To:        questions list FreeBSD <freebsd-questions@freebsd.org>
Subject:   HELP!: adding second disk
Message-ID:  <Pine.A32.3.91.950817164958.20340A-100000@alpha.enc.edu>

next in thread | raw e-mail | index | archive | help
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
-------------------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.A32.3.91.950817164958.20340A-100000>