Hello Again Folks,
Thanks for the quick and accurate responses, which are included
below. The problem can be solved easily enough by doing the following:
disklabel -rw /dev/rrz?c My_Disk
(/dev/rrz?c in my case was /dev/rrz12c)
Where it was pointed out that My_Disk could be any string.
This worked fine for me. I then used
disklabel -e /dev/rrz?c to change the partitions, and then
newfs /dev/rrz?a with no args
newfs /dev/rrz?d with no args
Thumbs up on the intelligent disklabel command, that can
gather the info on it's own and write the label!
Thanks again fo the help!
-Austin
austin_at_atmos.umd.edu
Here is a summary in it's entirety:
******************************************************************
From: tjordan_at_grouse.umesve.maine.edu (Troy S Jordan)
The disklabel utility is savvy enough to get disk geometry from
the disk itself. Then, you can use newfs to create the filesystem.
You should be able to find many posts about this in the alpha-osf-managers
archive. A Web accessible wais index is available at
http://www-archive.stanford.edu/lists/mlists.html.
This is fast and useful way to scan previous or similar
posts.
Good luck.
- troy
-----------------------------------------------
Troy Jordan
Systems and Network Manager
NCGIA (National Center for Geographic Information and Analysis)
University of Maine
Orono, Maine 04469
(207) 581-2209
*************************************************************************
From: Andrew Gallatin <gallatin_at_isds.Duke.EDU>
Just use disklabel to sense the info & build a label for you:
disklabel -rw /dev/rrz*c Drive_name
This should poll the disk & get the info from it.. Drive_name is
pretty much irrelevant.
Drew
************************************************************************
From: Selden E Ball Jr <SEB_at_LNS62.LNS.CORNELL.EDU>
You won't find any disktab entries for 3rd party disks because
they aren't needed any more and are misleading.
Modern disks use what is known as "zoned recording" in order to cram
on more bits. There are more sectors per track in the outer
cylinders than in the inner ones. Disktab entries were once used to
tell the disk drivers how to optimize transfers when stepping from
one cylinder to the next. Those optimizations probably do more harm
than good with modern drives.
You can use the following command to initialize the partitions
on any disk if you're running a current version of OSF/1
disklabel -rw rz? xyzzy my_label
where "?" should be replaced by the actual device number
"xyzzy" is a dummy disk type (capacity is read from the disk itself)
and "my_label" is the name you want to appear in the label block.
This creates the default partitioning, with a,b,c and g set up as for
a system disk. you can then use
setenv EDITOR your-favorite-editor
disklabel -e rz?
to use your favorite editor to change the sizes.
We usually just use c (the entire disk) so no changes are needed.
I hope this helps.
Selden
************************************************************************
From: "Craig I. Hagan" <hagan_at_oec.com>
On Mon, 17 Apr 1995, Austin L. Conaty wrote:
>
> Hello Folks,
> I looked at gatekeeper.dec.com but didn't see where
> /etc/disktab entries for 3rd part disks might be
> kept. If someone could direct me further, I'll be
> glad to post a summary.
>
if you are running OSF/1 3.0 or above, just do this:
disklabel -wr rz?? FOO
where ?? is the id of that drive.
-- craig
*************************************************************************
From: David May <davidmay_at_u.washington.edu>
Here is my /etc/disktab entry for my ST410800N. I received it from
Western Scientific, which is where I bought the drive from. I've also
included my 'df' output for the drive, so you can see the size of each
partition. Hope this helps.
/etc/disktab
----
#### Seagate Barracuda ST410800N
cuda9|SEAGATE_ST410800N:\
:ty=winchester:dt=SCSI:ns#133:nt#27:nc#4925:rm:#5400:\
:oa#0:pa#13868443:ba#8192:fa#1024:\
:ob#0:pb#0:bb#8192:fb#1024:\
:oc#0:pc#17685675:bc#8192:fc#1024:\
:od#0:pd#0:bd#8192:fd#1024:\
:oe#13868443:pe#1770363:be#8192:fe#1024:\
:of#15638807:pf#93366:bf#8192:ff#1024:\
:og#15732173:pg#183139:bg#8192:fg#1024:\
:oh#15915312:ph#1770363:bh#8192:fh#1024:
df
---
/dev/rz2a 13450226 422918 11682284 3% /usr/local
/dev/rz2e 1716760 549928 995156 36% /usr/local/src
/dev/rz2f 89876 56 80832 0% /usr/local/tmp
/dev/rz2h 1716760 103752 1441332 7% /home
/dev/rz2g 176192 31172 127400 20% /home/hermes/ftp
David May
IAIMS davidmay_at_hslib.washington.edu
University of Washington (206) 616-1799
************************************************************************************
Received on Mon Apr 17 1995 - 11:12:41 NZST