* more info on HITACHI DK516C-16 problem and advice sought
@ 1992-02-19 13:01 Ross A Macintyre
0 siblings, 0 replies; only message in thread
From: Ross A Macintyre @ 1992-02-19 13:01 UTC (permalink / raw)
I sent my original query out, but should maybe have given more information(asked
more questions) so here it is:
----------------
original message
*Could somebody send me the disktab entry for a HITACHI DK516C-16?
*
*I have only set up disks on Suns before and don't have any documentation for DEC5000.
*
*I have already been supplied the following data:
*: ncyl = 2170 : acyl = 2 : pcyl = 2172 : nhead = 15 : nsect = 80 (Sun style)
*and used this information to work out a total size of(2172*15*80) 2606400 sectors.
*Normally I would use ncyl, but this 2606400 agreed with the output of
*"chpt -q /dev/rrz0a" which gave the default table for that device driver as I didn't
*put an entry in disktab. Can somebody tell me how this works? I take it, it doesn't
*get this information from the disk, but is it a coincidence that its size
*of 2606400 equals my calculation using pcyl?
*
*I managed to change the partition table eventually (tried initially to create 3
*partitions, f, g and h, but it didn't like this and only seems to like it if there's
*an "a" partition; is this a feature?) but when I ran newfs it said that each partition
*it created had "15 tracks, 81 sectors". So I guess the data I got was wrong.
*
----------------
One more thing about partitioning the HITACHI DK516C-16.
I used this to partition it:
chpt -v -pa 0 1370400 -pg 1370400 1077600 -ph 2448000 158400 /dev/rrz0a
and
newfs -n -v /dev/rrz0a DK516C-16
newfs -n -v /dev/rrz0g DK516C-16 to create the a and g file systems(though there isn't
an entry for DK516C-16 in /etc/disktab.
I had to run
newfs -n -v -b 8192 -f 1024 /dev/rrz0h DK516C-16
to create the h file system because
newfs -n -v /dev/rrz0h DK516C-16
didn't pass on the block size or fragsize to mkfs. (I got the values 8192 and 1024
from the previous outputs of newfs)
Could someone tell me why the blocksize and fragsize don't get passed to mkfs
for the h partition?
Each run of newfs reports that there are some unallocated sectors in the last cylinder.
If I make each partition a multiple of (81*15) (sectors*heads) (number of sectors per
cylinder?) will the unallocated sectors disappear? I am quite happy to do this but I
really need to know the total number of sectors on the disk?
One other thing I noticed is that the starting sector is not passed on to mkfs,
and just the size is mandatory. So how does mkfs know where the start of the
partition is?
All information much appreciated.
Thanks,
Ross
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1992-02-19 13:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-02-19 13:01 more info on HITACHI DK516C-16 problem and advice sought Ross A Macintyre
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox