* [Q] Disklabel weirdness.
@ 1997-08-13 23:03 mortimer
0 siblings, 0 replies; only message in thread
From: mortimer @ 1997-08-13 23:03 UTC (permalink / raw)
To: tru64-unix-managers
Hi DU Admins
I have just finished installing DU 4.0B on a new AlphaStation 500/500.
While I was doing this I noticed something strange with disklabel.
At the console prompt I get:
>>> show device
dka0.0.0.9.0 DKA0 RZ28D 0010
So then I did:
# disklabel -z rz0
# disklabel -rw rz0 rz28d
Then when I checked the label with 'disklabel -r rz0' I got:
# /dev/rrz0a:
type: SCSI
disk: rz28d
label:
flags:
bytes/sector: 512
sectors/track: 99
tracks/cylinder: 16
sectors/cylinder: 1376
cylinders: 2595
sectors/unit: 4110480
According to my arithmetic 99*16 comes to 1584 not 1376 and 1376*2595
does not come to 4110480 but 1584*2595 does.
When I created a ufs on one of these partitions I got:
Warning: calculated sectors per cylinder (1584) disagrees with disk
label (1376)
So newfs agrees with my arithmetic.
I changed the disk label to read "sectors/cylinder: 1584" adjusted
the partition sizes and installed the OS. The system boots up and
everything looks okay so far.
Is there a bug in disklabel or is there something weird about this disk?
Thanks
Ian
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Ian Mortimer _/
_/ Email: mortimer@physics.uq.edu.au ,-_|\ Department of Physics _/
_/ Tel : +61 7 3365 3436 / *\ University of Queensland _/
_/ Fax : +61 7 3365 1242 \_,-._/ St. Lucia, Brisbane _/
_/ v Queensland, Australia 4072 _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Disclaimer: Any opinions expressed are my own.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-08-13 23:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-08-13 23:03 [Q] Disklabel weirdness mortimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox