Solaris Volume Manager Administration Guide

ProcedureHow to Purge a Disk Set

Steps
  1. Attempt to take the disk set with the metaset command.


    # metaset -s setname -t -f
    

    This command will attempt to take (-t) the disk set named setname forcibly (-f). If the set can be taken, this command will succeed. If the set is owned by another host when this command runs, the other host will panic to avoid data corruption or loss. If this command succeeds, you can delete the disk set cleanly, without the need to purge the set.

    If it is not possible to take the set, you may purge ownership records.

  2. Use the metaset command with the -P to purge the disk set from the current host.


    # metaset -s setname -P
    

    This command will purge (-P) the disk set named setname from the host on which the command is run.

  3. Use the metaset command to verify that the set has been purged.


    # metaset
    

Example 26–5 Purging a Disk Set


lexicon# metaset -s red -t -f
metaset: lexicon: setname "red": no such set

concordance# metaset

Set name = red, Set number = 1

Host                Owner
  concordance        

Drive    Dbase

c1t2d0   Yes  

c1t3d0   Yes  

c1t8d0   Yes  

concordance# metaset -s red -P
concordance# metaset

See Also