DOCUMENT ID:  1253-02

SYNOPSIS:     Some useful how-to's pertaining to disk drives

OS RELEASE:   2.4

PRODUCT:      Solaris x86

KEYWORDS:     disk drive file system secondary format partition defect


SYMPTOMS:

Trying to install or remove a secondary disk.
Trying to check disk format and defects.
Trying to partition the disk and create filesystems.


DESCRIPTION:

Reference:      2.4 Peripheral Administration

The following is a list of cryptic suggestions and how-to's.  It is
recommended to do further reading on the commands and files mentioned
here. 


SOLUTION:

How to format a disk:              format (command), /etc/format.dat (file)

How to configure defects on disk:  format (command); defect (sub-command)

How to check disk slices:          format (command); partition (sub-command)
        
How to examine disk labels:        prtvtoc (command)

Adding a system disk:              See the Solaris Installation Manual.

Adding a secondary disk:

        1 - touch /reconfigure
        2 - cd /
        3 - /usr/sbin/shutdown -y -g30 -i0
        4 - power off
        5 - install peripheral device
        6 - power on external peripheral device
        7 - turn on the system
        
How to create a file system for each slice:

        1 - prtvtoc  /dev/rdsk/c0t2d0s2  (note: s2 is mandatory)
            note the available slices
        2 - newfs  /dev/rdsk/c0t2d0s?
            repeat newfs for each slice
        3 - mount file system

How to remove a disk drive:

        1 - Back up data
        2 - Unmount the file system using unshare
        3 - Physically disconnect the drive


DATA APPROVED: 09/25/95