Sun Cluster 2.2 System Administration Guide

Adding a Disk to a Diskset

If the disk being added to a diskset will be used as a submirror, you must have two disks available on two different multihost disk expansion units to allow for mirroring. However, if the disk will be used as a hot spare, you can add a single disk.

How to Add a Disk to a Diskset (Solstice DiskSuite)
  1. Ensure that no data is on the disk.

    This is important because the partition table will be rewritten and space for a metadevice state database replica will be allocated on the disk.

  2. Insert the disk device into the multihost disk expansion unit.

    Use the instructions in the hardware documentation for your disk expansion unit for information on disk addition and removal procedures.

  3. Add the disk to a diskset.

    The syntax for the command is shown below. In this example, diskset is the name of the diskset to which the disk is to be added, and drive is the DID name of the disk in the form dN (for new installations of Sun Cluster), or cNtYdZ (for installations that upgraded from HA 1.3).


    # metaset -s diskset -a drive
    

  4. After adding the disks to the diskset by using the metaset(1M) command, use the scadmin(1M) command to reserve and enable failfast on the specified disks.


    phys-hahost1# scadmin reserve drivename