From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,a7b6b57538255596 X-Google-Attributes: gid1164f8,public From: Dale Atems Subject: Re: Seagate ST410800N Date: 1995/11/10 Message-ID: <5568gsnopp.fsf@igor.physics.wayne.edu>#1/1 X-Deja-AN: 119077098 sender: atems@igor.physics.wayne.edu references: <55hh0in623.fsf@igor.physics.wayne.edu> to: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) organization: Wayne State University reply-to: atems@physics.wayne.edu newsgroups: comp.sys.dec In article <47jh8n$udl@usenet.pa.dec.com> alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) writes: > > >In article <55hh0in623.fsf@igor.physics.wayne.edu>, Dale Atems writes: > >> >>Sorry if this has been asked recently, but does anyone have a disktab >>entry for the ST410800N (the 9GB Elite series drive)? > >For most uses, you don't need a disktab entry on ULTRIX or Digital >UNIX (I'll assume you're asking about one of the two). On Digital >UNIX the disklabel command and on ULTRIX the newfs command can get >the geometry and default partition table from the driver. Sorry I wasn't clearer. Yes, we're running Digital UNIX (OSF/1). I was initially having trouble figuring out the OSF/1 naming convention for SCSI drives but eventually was able to get some default information, evidently from the driver. Unfortunately, this information was completely incorrect for this drive. I eventually got a simple disktab entry from Seagate: ST410800N:\ :ty=winchester:ns#133:nt#27:nc#4926:\ :pa#0:ba#8192:fa#1024:\ :pb#0:bb#8192:fb#1024:\ :pc#17689266:bc#8192:fc#1024:\ :pd#0:bd#8192:fd#1024:\ :pe#0:be#8192:fe#1024:\ :pf#0:bf#8192:ff#1024:\ :pg#0:bg#8192:fg#1024: Disklabel was unable to use it, complaining that the partition offsets were large negative numbers, but "newfs /dev/rrz10c ST410800N" created a single 9GB filesystem, which is progress, but not what I wanted. This disk is to be a non-boot disk with 3 partitions, sizes 3, 5, and 1 gig respectively, with the 1 gig partition for /usr. So I edited the disktab entry and tried over again: ST410800N:\ :ty=winchester:ns#133:nt#27:nc#4926:\ :pa#0:ba#8192:fa#1024:\ :pb#5896422:bb#8192:fb#1024:\ :pc#0:bc#8192:fc#1024:\ :pd#9827370:bd#8192:fd#1024:\ :pe#0:be#8192:fe#1024:\ :pf#1965474:bf#8192:ff#1024:\ :pg#0:bg#8192:fg#1024: but newfs now complained that no space was left on the device regardless of which partition I told it to use. I also tried adding offset entries, following an example in the installation guide: ST410800N:\ :ty=winchester:ns#133:nt#27:nc#4926:\ oa#0:pa#0:ba#8192:fa#1024:\ ob#0:pb#5896422:bb#8192:fb#1024:\ oc#5896422:pc#0:bc#8192:fc#1024:\ od#5896422:pd#9827370:bd#8192:fd#1024:\ oe#15723792:pe#0:be#8192:fe#1024:\ of#15723792:pf#1965474:bf#8192:ff#1024:\ og#17689266:pg#0:bg#8192:fg#1024: But now "disklabel -rw rz10 ST410800N" generated a label with the c partition taking up the whole disk, and the other partitions sized to the default values (a=131072 etc.) >On Digital UNIX, once labeled, newfs will use the geometry information >that is in the label and a disktab entry isn't needed. If I could get the correct geometry information in the label I'd try newfs again, but I can't seem to manage that. I guess my mistake will be obvious to OSF/1 veterans, but this newbie is stumped :-( -- Dale E. Atems Department of Physics and Astronomy atems@physics.wayne.edu Wayne State University, Detroit, MI