Sun Microsystems Sun Workstation — Sun Workstation 1.4 Manual: Release Notes, Installation, Troubleshooting

Release 1.4 Manual Using the New diag to Format and Label Disks 0 6. When you have successfully formatted the disk, do a surface analysis of it using the surface analysis (s) sub-command. This analyzes the entire disk and adds any defects found to the disk's defect list. For a new disk, three surface analysis passes should be done: format>• Number of surface analysis passes (3 is usual)? 3 Three passes take between a half-hour and an hour to complete. When everything's done, you'll get a message to that effect. 7. If the surface analysis turns up bad sectors, the system will tell you how many bad sectors were found, and tell you to re-format the disk:

some_number bad sectors found Use the 'f' command to format the disk. format> Surface analysis complete Before continuing, you must reformat a disk with bad sectors. 8. When no bad sectors have been found by the surface analysis, you have successfully format- ted the disk. Now you may go on to label the disk. This process is described below. 3.2.2. Labelling SCSI Disks A disk must be labelled after it has been formatted. The disk label records information about how the disk is divided into partitions for such things as paging space and file systems. 0 1. To label your disk, type the label command in response to diag's prompt.

When you give the command to diag, it asks if you want to use the logical partition map that is 'built in' to the program, and then asks for confirmation before proceeding. Default partitioning for Sun-supplied SCSI disks is outlined in the following table3: Table 3-2:

Default Partition Sizes for SCSI Disk Subsystems SCSI Disk Raw Partition Sizes (MBytes) "a" "b" "c" "d" "e" "f" "g" "h" Micropolis 1304 50 8.1 8.4 43.1 unuaed unuaed unuaed 26.5 Micropolis 1325 85 8.1 17.1 71.2 unuaed unuaed unuaed 45.9 unuaed Maxtor XT-1050 50 8.1 8.4 44.4 unuaed unuaed unuaed 27.9 unuaed unuaed Fujitsu M2243AS 86 8.1 17.1 72.0 unuaed unuaed unuaed 46.7 unuaed Vertex Vl85 85 8.1 17.1 70.9 unuaed unuaed unuaed 45.5 unuaed If you confirm, diag will partition your disk according to these default maps4: 11 Note tha.t in a.II discussions or disk partitioning, numbers a.re a.pproxima.te, since rorma.tted ca.pa.city depends on the type of controller being used with the drive.

Also, note tha.t a. 'Megabyte', a.s ta.r a.s numbers given in discussions or disk ca.pa.city, is defined a.s one million bytes. 0 4 Ir these default ma.ps a.re ina.dequa.te ror your system, you ca.n use diag's partition command at this point to design your own labels. See diag(8S) ror information. Release 1.4 of February 1985 3-5