Solaris Volume Manager Administration Guide

ProcedureHow to Release a Disk Set

Releasing a disk set is useful when you perform maintenance on the physical disks in the disk set. When a disk set is released, it cannot be accessed by the host. If both hosts in a disk set release the set, neither host in the disk set can access directly the volumes or hot spare pools that are defined in the disk set . However, if both hosts release the disk set, the hosts can access the disks directly through their c*t*d* names.


Note –

This option is not available for multi-owner disk sets.


Before You Begin

Check Guidelines for Working With Disk Sets.

  1. Use one of the following methods to release a disk set:

    • 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 Release Ownership from the menu. For more information, see the online help.

    • To release ownership of the disk set, use the following form of the metaset command:


      # metaset -s diskset-name -r
      
      -s diskset-name

      Specifies the name of a disk set on which the metaset command will work.

      -r

      Releases ownership of a disk set. The reservation of all the disks within the disk set is removed. The volumes within the disk set are no longer accessible.

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


      Note –

      Disk set ownership is only shown on the owning host.


  2. Verify that the disk set has been released on this host.


    # metaset
    

Example 19–10 Releasing a Disk Set

The following example shows the release of the disk set, blue. Note that there is no owner of the disk set. Viewing status from the host host1 could be misleading. A host can only determine if it does or does not own a disk set. For example, if he host, host2, were to take ownership of the disk set, the ownership would not appear from the host, host1. Only the host, host2, would display that host2 has ownership of the disk set.


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

Host                Owner
  host1            
	host2

Drive               Dbase
  c1t6d0             Yes 
  c2t6d0             Yes