Xref: utzoo comp.unix.questions:4866 comp.unix.wizards:5854 comp.bugs.4bsd:641 comp.periphs:668 Path: utzoo!lsuc!sickkids!mark From: mark@sickkids.UUCP (Mark Bartelt) Newsgroups: comp.unix.questions,comp.unix.wizards,comp.bugs.4bsd,comp.periphs Subject: /etc/disktab and RA8x drives Message-ID: <80@sickkids.UUCP> Date: 23 Dec 87 17:05:11 GMT Reply-To: mark@sickkids.UUCP (Mark Bartelt) Organization: Hospital for Sick Children, Toronto Lines: 81 A few questions regarding the information in /etc/disktab (4.3bsd): Where did the RA80/RA81 entries originally come from, and are they even correct? First, let's look at the data for the RA81: :ty=winchester:ns#51:nt#14:nc#1248:so:\ I'm wondering whether it should perhaps be: :ty=winchester:ns#52:nt#14:nc#1224:so:\ Note that both entries would be consistent with 891072 sectors, the number that /etc/disktab uses for the Partition_C entry, and also the number of sectors that the RA81 itself reports back to the UDA50 in the "unit size" field in whatever MSCP message packets contain that information. The DEC RA81 Disk Drive User Guide (document EK-ORA81-UG-001) contains the following information: Number of heads 14 data, 1 servo Cylinders per head 1258 Sectors per track 52 Clearly, one or the other of the last two is inconsistent with 891072 (usable) sectors. For the reason that I would guess that we really want 1224/52 rather than 1258/51, let's look at the RA80 Disk Drive User Guide (EK-ORA80-UG): Number of heads 14 data, 1 servo Number of tracks 561 per head Logical cylinders 546 per head Number of tracks used 14 per head for revector and format control tables Aha! So although the RA80 has 561 tracks/cylinders/whatever, only 546 of them are used for "real" data, yes? [ DEC doesn't explain, in view of the fact that 546+14 == 560, what the 561st track is used for! ] Going back to the RA81 User Guide, one would suspect that, analogous to what's done with the RA80, some of the 1258 cylinders are used for the revector and format control tables. Curiously, (546/561)*1258 == 1224, more or less. Thus although the RA81 User Guide doesn't give the breakdown as the RA80 User Guide does, I suspect that what we really have is: Total cylinders 1258 Logical cylinders 1224 Cylinders used for 34 other stuff And, of course, this is now consistent with the 52 sectors per track that the User Guide claims the drive has. Now, the 64-cent question is this: Does it really matter? If, in fact, the RA81 entry in /etc/disktab is really incorrect, how much impact would it have on performance? Not much, I suspect. But some? Little? Zero? Finally, an epilogue: Looking back at the RA80 entry in /etc/disktab, we see: :ty=winchester:ns#31:nt#14:nc#559:so:\ This is truly weird. The number of total tracks is claimed by DEC to be 561, and the number of logical cylinders is claimed to be 546. So where did this value of 559 come from? Also, 31*14*559 == 242606 (same as what the disktab entry for the RA80 uses as its Partition_C value), which is a lot more than the RA80 itself claims, in its MSCP packet, that it has, namely 237212 sectors. (Or, at least, the RA80 that we used to have said that.) Oddly, though, this value isn't consistent with DEC's numbers either! 31*14*546 == 236964. And 237212-236964 == 248 == 31*8! Eh? Is there anyone out there (1) who really knows for certain how many tracks, sectors, etc, the RA8x drives have (the DEC manuals have been known to make the occasional mistake, y'know), and/or (2) who knows whether an incorrect entry in /etc/disktab is worth worrying about? ----- Mark Bartelt Hospital for Sick Children, Toronto 416/598-6442 {utzoo,decvax,ihnp4}!sickkids!mark