System Administration Guide: Devices and File Systems

ProcedureHow to Automatically Configure a SCSI Drive

  1. Become superuser or equivalent role.

  2. Shut down the system.

    # shutdown -i0 -gn -y

    Brings the system down to init level 0, the power-down state.


    Notifies logged-in users that they have n seconds before the system begins to shut down.


    Specifies that the command should run without user intervention.

    The ok prompt is displayed after the system is shut down.

  3. Turn off the power to the system and all external peripheral devices.

  4. Ensure that the disk you are adding has a different target number than the other devices on the system.

    Typically, a small switch is located at the back of the disk for this purpose.

  5. Connect the disk to the system, and check the physical connections.

    Refer to the disk's hardware installation guide for details.

  6. Turn on the power to all external peripherals.

  7. Turn on the power to the system.

    The system boots and displays the login prompt.

  8. Log back in as superuser or assume an equivalent role.

  9. Invoke the format utility, and select the disk that you want to configure automatically.

    # format
    Searching for disks...done
    c1t0d0: configured with capacity of 1002.09MB
    0. c0t1d0 <SUN1.05 cyl 2036 alt 2 hd 14 sec 72>
    1. c0t3d0 <SUN1.05 cyl 2036 alt 2 hd 14 sec 72>
    Specify disk (enter its number): 1
  10. Type yes in response to the prompt to label the disk.

    Typing y causes the disk label to be generated and written to the disk by using SCSI automatic configuration.

    Disk not labeled. Label it now? y
  11. Verify the disk label.

    format> verify
  12. Exit the format utility.

    format> q