Sun Cluster 2.2 System Administration Guide

Removing a Disk From a Diskset

You can remove a disk from a diskset at any time, as long as none of the slices on the disk are currently in use in metadevices or hot spare pools.

How to Remove a Disk From a Diskset (Solstice DiskSuite)
  1. Use the metastat(1M) command to ensure that none of the slices are in use as metadevices or as hot spares.

  2. Use the metaset(1M) command to remove the target disk from the diskset.

    The syntax for the command is shown below. In this example, diskset is the name of the diskset containing the (failed) disk to be removed, 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 -d drive
    

    This operation can take up to fifteen minutes or more, depending on the size of your configuration and the number of disks.