Solaris Volume Manager Administration Guide

ProcedureHow to Delete Disks From a Disk Set

  1. To delete a disk from a disk set, use one of the following methods:

    • From the Enhanced Storage tool within the Solaris Management Console, open the Disk Sets node. Click the right mouse on the Disk Set that you want to release. Then choose Properties from the menu. Click the Disks tab. Follow the instructions in the online help.

    • Use the following form of the metaset command to delete a disk from a disk set.


      # metaset -s diskset-name -d disk-name
      
      -s diskset-name

      Specifies the name of a disk set on which to delete the disk.

      -d disk-name

      Specifies the disks to delete from the disk set. Disk names are in the form cxtxdx. The “sx” slice identifiers are not included when deleting a disk from a disk set.

      See the metaset(1M) man page for more information.

  2. Verify that the disk has been deleted from the disk.


    # metaset -s diskset-name
    

    Note –

    To delete a disk set, you must first delete all the disks from the disk set.



Example 19–7 Deleting a Disk from a Disk Set

The following example shows the deletion of the disk, c1t6d0 from the disk set, blue.


host1# metaset -s blue -d c1t6d0
host1# metaset -s blue
 
Set name = blue, Set number = 1

Host                Owner
  host1            
	host2 

Drive               Dbase
  c2t6d0             Yes