[comp.sys.sun] Disk Formatting Problems

brand@lll-crg.llnl.gov (Russell Brand) (01/12/89)

I am trying to add a maxtor 4380 (e?) to my 3/50.  I have an emulex
controller and a micropolis 1335 that are working on it properly.  When I
try to do surface analysis or format the new drive (using stand/diag) I
get lots of "sense errors" and "illegal parameter" errors.

The jumpering is right, I have checked the cables and addresses.  What
else should I do?

lui@cs.ucla.edu (Stephen Lui) (01/19/89)

I had the exact same problem. The parameters in /etc/format.dat are wrong.
Replace the Maxtor entry with:

disk_type = "Maxtor XT-4380E" \
	: ctrl = MD21 \
	: ncyl = 1218 : acyl = 2 : pcyl = 1224 : nhead = 15 : nsect = 32 :
	: rpm = 3600 : bpt = 20940

partition = "Maxtor XT-4380E" \
	: disk = "Maxtor XT-4380E" : ctrl = MD21 \
	: a = 0, 14880 : b = 31, 29760 : c = 0, 584640 : g = 93, 540000

and this should work fine. You might want to extract the defect list first
and save it to a file. After you update the /etc/format.dat file, then
read in the defect list from the file (after you change the parameters,
the manufacturer's defect list is no longer readable.)

	Stephen Lui

	ARPA:  lui@cs.ucla.edu
	UUCP:  ...!{cepu,trwspp,ucbvax}!ucla-cs!lui

aad@stepstone.com (Anthony A. Datri) (01/31/89)

In article <19534@shemp.CS.UCLA.EDU> lui@cs.ucla.edu (Stephen Lui) writes:
>I had the exact same problem. The parameters in /etc/format.dat are wrong.
>Replace the Maxtor entry with:

In a similar vein, I recently discovered that a scsi disk we got from
Artecon has the label "Maxtor EXT-1475" on it.  The machine came from
Artecon years ago with 3.2 on it, I had to put 4.0 onto it.  I managed to
do it without touching the label, thank the deity.  All I could figure out
about the label on it was

cyl 1218 alt 2 hd 7 sec 33

and it seems to have an Adaptec ACB4000 on it.  I went into format (off
the tape) to get the defect list, and format said it had 1220 physical
cylinders -- 1218 + the 2 alt?  The beast has about 32 errors in its list.

Now I check the other Artecon disk we have, and it's a Wren III, but with
different params than format.dat:

sd0:  <CDC WREN III cyl 963 alt 2 hd 9 sec 33>

format.dat says:

#disk_type = "CDC Wren III 94161-155" \
#       : ctlr = MD21 : fmt_time = 4 \
#       : ncyl = 965 : acyl = 2 : pcyl = 967 : nhead = 9 : nsect = 35 \
#       : rpm = 3597 : bpt = 20880
Sigh.
-- 
Anthony A. Datri @SysAdmin(Stepstone Corporation) aad@stepstone.com stpstn!aad