Solstice DiskSuite 4.2.1 User's Guide

How to Remove a Drive From a Diskset (Command Line)

  1. Make sure you have met the prerequisites ("Prerequisites for Removing DiskSuite Objects") and have read the preliminary information ("Preliminary Information for Removing Hosts and Disks From Disksets").

  2. Remove the drive from the diskset by using the metaset(1M) command.


    # metaset -s diskset -d [-f] drive...
    

    In this command,

    -s diskset

    Specifies the name of a diskset on which metaset will work.

    -d

    Deletes the specified drivename(s). 

    -f

    Forces the deletion of the last drive in the diskset, because this drive would implicitly contain the last state database replica. 

    drive

    Specifies the drive(s) to be deleted from the diskset. They must be in the form cxtxdx with no slice specified.


    Note -

    Use the -f option to delete the last drive in the diskset.


  3. To verify that a drive has been removed from the diskset, use the metaset(1M) command.

Example -- Removing a Drive from a Diskset


red# metaset -s relo-red -d c2t5d0
red# metaset
...
Host                Owner
  red                Yes
  blue
 
Drive               Dbase
  c1t2d0             Yes
  c1t3d0             Yes
  c2t2d0             Yes
  c2t3d0             Yes
  c2t4d0             Yes

This example removes drive c2t5d0 from diskset relo-red. The metaset command confirms that the deleted drive is no longer part of the diskset.