Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* 2-4Gb hard drives under OSF 3.2
@ 1995-12-18  5:00 Sergey Zhuk
       [not found] ` <4b5sls$cnj@news.belwue.de>
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Sergey Zhuk @ 1995-12-18  5:00 UTC (permalink / raw)


hi

Did anybody try subj from Seagate ?
i didn't find that hard drives in a /etc/disktab file, but i prefer to use
those drives as they are much cheaper, than DEC...
Btw, i saw 'Hawk's with a DEC labels ;)
any suggestions of how to create my own entries in disktab ?
many vendors (like Micropolis) supply disktab etries for their drives, but for
Solaris and many other systems, not OSF...
And these files are very different...

rgds,
serge

--
+-------------------------------------+-------------------------------------+
| Sergey Zhuk                         | serge@freenet.kiev.ua 		    |
| UN Internet Project                 | +380-44-228-6393		    |
| System and Network Administrator    | http://www.un.kiev.ua/		    |
+-------------------------------------+-------------------------------------+




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2-4Gb hard drives under OSF 3.2
       [not found] ` <4b5sls$cnj@news.belwue.de>
@ 1995-12-19  5:00   ` oberman
  0 siblings, 0 replies; 7+ messages in thread
From: oberman @ 1995-12-19  5:00 UTC (permalink / raw)


In Article <4b5sls$cnj@news.belwue.de>
Hardy Lau <lau@BA-Ravensburg.DE> writes:
> 
>get the description of your disk (a small paper delivered with) and
>write a simillar disktab entry witha new name (ST12400 etc..).
>IT's easy and I had no problems at all.

This is not a good way to do it. In many cases you will not be able to access
all of the disk space.

The proper way to do this is to use disklabel(8). It can ask the drive for its
configuration and write the appropriate label. Hand editing disktab for SCSI
drives is probably never a good idea. If you know the rotational speed of the
disk, you might want to correct that value as the current version of
disklabel(8) always assumes 3600 RPM, but it's generally not significant due to
the SCSI controller doing most of the optimization.

R. Kevin Oberman			
Energy Sciences Network (ESnet)
National Energy Research Supercomputer Center (NERSC)
Internet: oberman@es.net		+1 510-422-6955



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2-4Gb hard drives under OSF 3.2
  1995-12-18  5:00 2-4Gb hard drives under OSF 3.2 Sergey Zhuk
       [not found] ` <4b5sls$cnj@news.belwue.de>
@ 1995-12-19  5:00 ` SSTROBEL10
       [not found] ` <4b926h$251@news.belwue.de>
  2 siblings, 0 replies; 7+ messages in thread
From: SSTROBEL10 @ 1995-12-19  5:00 UTC (permalink / raw)


If money is the issue and not supportability in a production environment,
then buying the cheaper drive makes sence.  DEC makes changes to the
firmware on the drives that allow them to work better within their
enironment (at least I hope it is better).  The DEC drives may look like a
X vendor drive, smell like a X vendor drive, but not work like a X vendor
drive.  Don't judge a book by it's cover.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2-4Gb hard drives under OSF 3.2
       [not found] ` <4b926h$251@news.belwue.de>
@ 1995-12-20  5:00   ` oberman
  1995-12-21  5:00     ` Zoltan Basti
  0 siblings, 1 reply; 7+ messages in thread
From: oberman @ 1995-12-20  5:00 UTC (permalink / raw)


In Article <4b926h$251@news.belwue.de>
Hardy Lau <lau@BA-Ravensburg.DE> writes:

>Of corse it's 100% OK!
>
>Here my disktab entry written on ST12400:
>
>st12400n|ST12400N|SEGATE Hawk 2 Winchester:\
>        :ty=winchester:dt=SCSI:ns#84:nt#19:nc#2621:rm#5411:\
>
>Rotation speed is rm and all of capacity is used !

In this case, it is OK. But take the case of a disk that has more sectors on
its outer tracks than on its inner ones (NT# is not constant). These are not
uncommon. I have a Fujitsu that does this. There is no way I could configure
the disk in a disktab entry which would not waste space. And, since a SCSI dosk
is addressed by block number and not absolute location, there is no reason for
the OS to care.

And don't forget the non-zero possibility of a typo slipping through. That
could prove awkward. The drive always knows its exact configuration. Why not
simply ask it?

R. Kevin Oberman			
Energy Sciences Network (ESnet)
National Energy Research Supercomputer Center (NERSC)
Internet: oberman@es.net		+1 510-422-6955



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2-4Gb hard drives under OSF 3.2
  1995-12-20  5:00   ` oberman
@ 1995-12-21  5:00     ` Zoltan Basti
  1995-12-21  5:00       ` Alan Rollow
  0 siblings, 1 reply; 7+ messages in thread
From: Zoltan Basti @ 1995-12-21  5:00 UTC (permalink / raw)


It was a dark and stormy night when oberman@icaen.llnl.gov had this to say:

: In this case, it is OK. But take the case of a disk that has more sectors on
: its outer tracks than on its inner ones (NT# is not constant). These are not
: uncommon. I have a Fujitsu that does this. There is no way I could configure
: the disk in a disktab entry which would not waste space. And, since a SCSI dosk
: is addressed by block number and not absolute location, there is no reason for
: the OS to care.

: And don't forget the non-zero possibility of a typo slipping through. That
: could prove awkward. The drive always knows its exact configuration. Why not
: simply ask it?

You are right, and this was indeed possible under Ultrix. There was in fact
no need for a disktab file, because the appropriate disklabel-creating
command (newfs) had the capability to query the SCSI disks. There was
a documented system call, creatediskbyname, which you could use as well.

I don't know why this functionality is missing in dUnix, but nevertheless
I think disktab entries are not that important.
Given the way SCSI disks are addressed, any geometry will do, provided
it gives the real disk capacity. Whether you have different number of sectors
in different tracks really doesn't matter in this case. 

I know UFS used to use the disk geometry to optimize the filesystem.
I don't know if AdvFS does this too, but again, you can never know
a SCSI disk's *real* geometry. SCSI disks generally lie about their
geometry when they have to, and I've seen disks where you could
even choose what they should lie.



-- 
Zoltan Basti



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2-4Gb hard drives under OSF 3.2
  1995-12-21  5:00     ` Zoltan Basti
@ 1995-12-21  5:00       ` Alan Rollow
  1995-12-22  5:00         ` Zoltan Basti
  0 siblings, 1 reply; 7+ messages in thread
From: Alan Rollow @ 1995-12-21  5:00 UTC (permalink / raw)



In article <DJxGJH.JFG@softec.sk>, zbs@softec.sk (Zoltan Basti) writes:

>It was a dark and stormy night when oberman@icaen.llnl.gov had this to say:
>
>: And don't forget the non-zero possibility of a typo slipping through. That
>: could prove awkward. The drive always knows its exact configuration. Why not
>: simply ask it?
>
>I don't know why this functionality is missing in dUnix, but nevertheless
>I think disktab entries are not that important.

Why do you think it is missing in Digital UNIX.  The disklabel command
will either use creatediskbyname(3) or the DEVGETGEOM I/O control
directly to get the geometry of a disk from the driver.  The driver
in turn gets it from the device.  So, label the disk before hand and
newfs will get the information from the label.  Newfs might have some
of the code to do it itself, but I've never tried.

>
>-- 
>Zoltan Basti
>
--
Alan Rollow				alan@nabeth.cxo.dec.com




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2-4Gb hard drives under OSF 3.2
  1995-12-21  5:00       ` Alan Rollow
@ 1995-12-22  5:00         ` Zoltan Basti
  0 siblings, 0 replies; 7+ messages in thread
From: Zoltan Basti @ 1995-12-22  5:00 UTC (permalink / raw)


It was a dark and stormy night when Alan Rollow had this to say:

: >
: >I don't know why this functionality is missing in dUnix, but nevertheless
: >I think disktab entries are not that important.

: Why do you think it is missing in Digital UNIX.  The disklabel command
I thought because there is no man entry for creatediskbyname. It is true,
however, that the man page for disklabel(8) has some info on this subject.
It turns out that you can tell disklabel(8) to get the geometry 
from the driver/disk.  Mea culpa, but the documantation
could be/should be clearer on this.

: will either use creatediskbyname(3) or the DEVGETGEOM I/O control
: directly to get the geometry of a disk from the driver.  The driver
: in turn gets it from the device.  So, label the disk before hand and
: newfs will get the information from the label.  Newfs might have some
: of the code to do it itself, but I've never tried.


-- 
Zoltan Basti



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1995-12-22  5:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-12-18  5:00 2-4Gb hard drives under OSF 3.2 Sergey Zhuk
     [not found] ` <4b5sls$cnj@news.belwue.de>
1995-12-19  5:00   ` oberman
1995-12-19  5:00 ` SSTROBEL10
     [not found] ` <4b926h$251@news.belwue.de>
1995-12-20  5:00   ` oberman
1995-12-21  5:00     ` Zoltan Basti
1995-12-21  5:00       ` Alan Rollow
1995-12-22  5:00         ` Zoltan Basti

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