Labelling The Disk - Sun Microsystems Sun Workstation 100U System Manager's Manual

Table of Contents

Advertisement

Installing UNIX for the First Time
Sun 100/150 Installation Manual
pass on an 84-MByte disk, using an Interphase SMD-2180 disk controller, and slightly less time
using a Xylogics 450 or 440 controller. It is well worth taking the time to do this when format-
ting a new disk.
Dial/
then formats the disk, and displays the current cylinder number as it for-
mats each cylinder.
You can use just one surface analysis pass if you are reformatting a disk
that has been formatted before, and is known not to have any bad spots.
At the end of the format process, dial/ displays a message telling you that it has finished, then
tells you to use the label command to label the disk:
cyl 588 format complete - 0 bad sector{s)
Use the label command to label the disk
diag>
This is the next step.
4.3.4.2.
Labelling the Disk
A disk must be labelled after it has been formatted. The purpose of a label is to record (in a
well known place on the disk) information about how the disk is divided into partitions for
different purposes such as paging space and file systems.
Dial/labels a disk in response to the label command. Here is an example of using label to write
a label on the disk which was formatted in the discussion above. When you give the command
to dioll, it asks if you want to use the logical partition map that is 'built in' to the program:
diag> label
label this disk ...
OK to use logical partition map 'Fujitsu-M2312K (Sun D84)' !
y
Are you sure you want to write!
y
Then, when dial/ has labelled the disk, it verifies the label it has just written. There is in fact a
separate verify command, but dial/ automatically does a verify as part of the labelling process:
verify label
id: <Fujitsu-M2312K cyl 586 alt 3 hd 7 sec 32>
Partition a: starting cyl=O,
#
blocks=15884
(
#15
vary with disk controller]
Partition b: starting cyl=-67,
' *
blocks-33440
Partition c: starting cyl=-O,
*
bloeks=131264
Partition g: starting cyl-208,
*
blocks-81760
diag>
This is the end of the disk formatting and labelling process.
If you have a second
drive/controller, you now get back to the beginning of diog's first phase by responding to dial/'S
prompt with the dioll command:
diag> dial
It you have only one disk on your controller, or if you are done formatting and labelling all of
your disks, you are ready to continue with the next phase of installation. Get back to the
bootstrap program by typing the q (quit) command, and the bootstrap displays its prompt sign
again:
4-10
diag> q
Boot:
Revision H of 12 March 1984

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents