From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,2f8b376ffe741c8d,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-02-19 12:32:39 PST Path: sparky!uunet!mcsun!uknet!edcastle!hwcs!raz From: raz@cs.hw.ac.uk (Ross A Macintyre) Newsgroups: comp.sys.dec Subject: more info on HITACHI DK516C-16 problem and advice sought Message-ID: <4690@brahma.cs.hw.ac.uk> Date: 19 Feb 92 13:01:33 GMT Sender: news@cs.hw.ac.uk Reply-To: raz@cs.hw.ac.uk (Ross A Macintyre) Organization: Computer Science, Heriot-Watt U., Scotland 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