Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: John Hill <hill@hep.phy.cam.ac.uk>
Subject: Re: [Q] configuring identical disks differently
Date: 1998/10/06	[thread overview]
Message-ID: <361A22B5.A3CC57A5@hep.phy.cam.ac.uk> (raw)
In-Reply-To: 6vbd6d$i3j$1@husk.cso.niu.edu

system@niuhep.physics.niu.edu wrote:

> Hello,
>         I am pretty much a rank amatuer on Unix so please have patience
> and mercy and hold my hand...
>
> I have a DU machine (3.2a soon to be upgraded to 4.0something) with
> two rz28m disks.
>
> I have the first partitioned a/b/g/h using UFS.
> I want to partition the second with a c partition using AdvFS.
> My understanding is that I do this using disklabel and then
> AdvFS commands such as mmkfdm...
>
> But it is also my understanding that if you have two identical
> that you want to configure differently you need to have two different
> entries in /etc/disktab
>
> In /etc/disktab I find three entries, each with identical values
> once you get past the names:
>
> rz28l|RZ28L|DEC RZ28L Winchester:\
>
> rz28m|RZ28M|DEC RZ28M Winchester:\
>
> rz28d|RZ28D|rz28j|RZ28J|rz28|RZ28|DEC RZ28 Winchester:\
>
> As I am highly unlikely to put another rz28 on this machine is
> it reasonable to simply fake it and use "rz28d" for the "disktype"
> in the disklabel?
>
> If these extras were not there presumably I would just copy the
> info below the rz28m names and put it under a line that looks
> like:
>
> rz28f|RZ28F|DEC RZ28 Fake Winchester:\
>
> Thanks for any help you can give,
> Robert Morphis
> the novice unix admin.
> Morphis@physics.niu.edu
> Real Women change tires                 abuse@uu.net postmaster@uu.net
> Real Men change diapers                 security@uu.net

 The entries in /etc/disktab are templates  - you can have lots of
disks of the same type on a system, but only need one disktab
entry per disk type. At some version of DIGITAL UNIX, the
disktab file became superfluous anyway (I think it was 3.2x, but
can't remember exactly when).  You can then do:

disklabel -rw rz0  pqr

(where pqr is an arbitrary string, hopefully not a disk type in
/etc/disktab). and the disk will be interrogated for appropriate
parameters and a label will be setup, which you can then edit
as you wish. using the -e option with disklabel. As long as
you then don't use the -w option again, the partitions on the
disks can bear no relation to the entries in /etc/disktab.
Regards,
John Hill

--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+  Dr. John C. Hill                  University of Cambridge,       +
+  E-mail: hill@hep.phy.cam.ac.uk    Cavendish Laboratory,          +
+  Phone:  +44-1223-337243           Madingley Road,                +
+  Fax:    +44-1223-353920           Cambridge, CB3 0HE, U.K.       +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++






      reply	other threads:[~1998-10-06  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-05  4:00 [Q] configuring identical disks differently system
1998-10-06  4:00 ` John Hill [this message]
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