Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: jp107@amtp.cam.ac.uk (Jon Peatfield)
Subject: DEC DSP3210 disktab for OSF/1
Date: Tue, 1 Feb 1994 22:59:26 GMT	[thread overview]
Message-ID: <JP107.94Feb1225926@kronos.amtp.cam.ac.uk> (raw)

We have a DEC DSP3210 2G disk which we bought from a 3rd party
reseller for one of our DEC Alphas (3000/300L in fact.)

The disk didn't come with a disktab so with some of the info about the
total capacity and the existing disktab entries I made one up.  With
this I can access all the disk and have newfs'd and written/read data
to the entire disk etc.  The disk is VERY fast by the way.

Recently the suppliers did send a disktab entry, supposedly for an
Ultrix machine.  It has different parameters from for nc/ns from the
ones I guessed, but they make the nc*nt*ns smaller than the number of
sectors on the drive.  Surely this is wrong, OSF/1 complains at such
an idea.  I assume that the reducing of ns and increasing nc is to
reduce the number of duplicate superblocks and will not matter much
anyway.  Does anyone have a better disktab?

Here is the "Ultrix" one I was sent, note that the fc# is not my typo:
dec3210|DEC3210|DEC DSP3210S Winchester:\
  :ty=winchester:ns#86:nt#16:nc#3050:\
  :pa#32768:ba#8192:fa#1024:\
  :pb#131072:bb#8192:fb#1024:\
  :pc#4197520:bc#8192:fc#10204:\
  :pd#0:bd#8192:fd#1024:\
  :pe#0:be#8192:fe#1024:\
  :pf#0:bf#8192:ff#1024:\
  :pg#4032960:bg#8192:fg#1024:\
  :ph#0:bh#8192:fh#1024:

It seems that Ultrix disktabs don't need o[a-h]# entries!
nc*nt*ns = 4196800 , which is less than the pc# of 4197520, making
partition c illegal.

Here is my made up OSF/1 disktab for it:
# The value of nc is a rounded value made up from total-sectors / (nt * ns)
# for the true size of the device look at the sectors in the c partition.
dsp3210s|DSP3210S|DEC DSP3210S Winchester:\
        :ty=winchester:dt=SCSI:ns#99:nt#16:nc#2650:\
        :oa#0:pa#131072:ba#8192:fa#1024:\
        :ob#131072:pb#262144:bb#8192:fb#1024:\
        :oc#0:pc#4197520:bc#8192:fc#1024:\
        :od#393216:pd#552548:bd#8192:fd#1024:\
        :oe#945764:pe#552548:be#8192:fe#1024:\
        :of#1498312:pf#552548:bf#8192:ff#1024:\
        :og#393216:pg#819200:bg#8192:fg#1024:\
        :oh#1212416:ph#2985104:bh#8192:fh#1024:

I guess that only ty,dt,ns,nt,nc,oc,pc,bc have any real meaning 'cos
the rest is set by the label that you get written to the disk once you
have a valid disktab.  Should I set nc#86:nt#16:nc#3051 or are my
values just as good?

-- Jon  (DAMTP unix network admin)

--
Jon Peatfield, Computer Officer, the DAMTP, University of Cambridge
Telephone: (+44 223) 3-37852     Mail: J.S.Peatfield@amtp.cam.ac.uk

      Friends don't let friends use PP.     PP: Just say NO.


                 reply	other threads:[~1994-02-01 22:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox