Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 1995 19:54:59 -0400 (EDT)
From:      Andrew Herdman <apollo@io.org>
To:        "Charles N. Owens" <owensc@alpha.enc.edu>
Cc:        questions list FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: HELP!: adding second disk
Message-ID:  <Pine.BSI.3.91.950817195315.11613A-100000@trepan.io.org>
In-Reply-To: <Pine.A32.3.91.950817164958.20340A-100000@alpha.enc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Aug 1995, Charles N. Owens wrote:

> 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?

I get this error as well from my WORM drive (it has a controller that 
emulates a normal disk).  

This is the error i get with both disklabel and fdisk

disklabel: ioctl DIOCWDINFO: Operation not supported by device

as the above author stated... HELP!

Andrew




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