[SUMMARY] How big is an rz29b?

From: Kai Lanz <kai_at_pangea.Stanford.EDU>
Date: Fri, 5 Jul 1996 13:04:21 -0700

Thanks to the following for their quick and helpful responses:

alan_at_nabeth.cxo.dec.com
GORDON_at_chmeds.ac.nz

I had asked:

>When I run
>
>#disklabel -rw rz1 rz29b
>
>it reports that the c partition extends 27120 sectors past the end
>of the device. /etc/disktab specifies the full disk size as 8407200;
>what we get is a truncated partition of 8380080 sectors.
>
>Is disktab out of date or maybe just wrong for rz29b's?

This has come up before, and the answer is Yes, /etc/disktab is wrong.
Disklabel will determine the actual drive geometry by querying the disk
if you ask it to write a label using a nonexistent drive type:

#disklabel -rw /dev/rrz1a XXXX

Examining the resulting label shows the correct values for the critical
parameters that disktab gets wrong:

Number of cylinders = 3708 (not 3720)
Size of c partition = 8380080 (not 8407200)

(Sectors per cylinder = 2260 is correct in disktab.)

Armed with the right information, I recomputed our custom partition layouts
and labeled the disks with no problem.

-- Kai Lanz
Received on Fri Jul 05 1996 - 22:24:40 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT