Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zaphod.mps.ohio-state.edu!mips!atha!aunro!ersys!drin From: ersys!drin@nro.cs.athabascau.ca (Adrian Smith) Newsgroups: comp.sys.next Subject: Disktab entries Message-ID: Date: 22 Feb 91 16:36:26 GMT Organization: Edmonton Remote Systems, Edmonton, AB, Canada Lines: 61 HELP!!! I'm trying to get a Micropolis 1684-07 (330 Meg) drive to be recognized by my slab. Here are the drive specs, right from Micropolis: Formatted Capacity Total Mbytes --------------- 339.6 ----------------- Bytes per Sector ----------------- 512 ----------------- Sectors per Track ----------------- 54 ----------------- The sectors per track is at 512 bytes/sector, so I cut this in half (27) to get 1024 byte sectors. It's got 1780 cylinders, and 7 tracks/cylinder. scsimodes returns the following: SCSI information for /dev/rsd1a Drive type: MICROP 1684-07MB1036511 512 bytes per sector 54 sectors per track 7 tracks per cylinder 1780 cylinder per volume (including spare cylinders) 4 spare sectors per cylinder 7 alternate tracks per volume 664223 usable sectors on volume I created the following disktab entry - #MICROPOLIS1684-07 MICROP-1684-512-ALL|MICROP 1684-07MB1036511:\ :ty=fixed_rw_scsi:nc#1780:nt#7:ns#27:ss#1024:rm#3600:\ :fp#160:bp#0:ng#0:gs#0:ga#0:ao#0:\ :os=odmach:z0#32:z1#96:ro=a:\ :pa#0:sa#352265:ba#8192:fa#1024:ca#32:da#4096:ra#10:oa=time:\ :ia:ta=4.3BSD: This *should* work, but it doesn't!! I can format the drive using /usr/etc/disk, but I can't initialize it!! I get the following error (consistently): /usr/etc/disk -i /dev/rsd1a disk name: MICROP 1684-07MB1036511 disk type: fixed_rw_scsi writing disk label creating new filesystem on /dev/rsd1a /usr/etc/newfs -n -v /dev/rsd1a /etc/mkfs /dev/rsd1a 352265 27 7 8192 1024 32 10 60 4096 t write error: 352264 wtfs: I/O error /usr/etc/newfs /dev/rsd1a failed (status 1) The fact that the write error seems to occur at sector 352264 (I think) leads me to assume that something is wrong with the sa# parameter in the entry. I thought this number was the number of available 1024 byte sectors on the hard drive, but maybe not. I tried using 336900 (assuming the formatted capacity *is* 336.9 Meg), but nothing seems to work. I then tried cutting this number down, and then got annoyed and started cutting it indiscriminately. This obviously isn't working. Does anyone have any ideas what I can do to correct this? Thanks, -drin Brought to you by Super Global Mega Corp .com