Use one of the following methods to take a disk set.
From the Enhanced Storage tool within the Solaris Management Console, open the Disk Sets node. Right-click the Disk Set you want to take, then choose Take Ownership from the menu. For more information, see the online help.
metaset -s diskset-name-t
Specifies the name of a disk set on which the metaset command will work.
Specifies to take the disk set.
Specifies to take the disk set forcibly.
See the metaset(1M) man page for more information.
When one host in a disk set takes the disk set, the other host in the disk set cannot access data on drives in the disk set.
The default behavior of the metaset command takes the disk set for your host only if a release is possible on the other host.
Use the -f option to forcibly take the disk set. This option takes the disk set whether or not another host currently has the set. Use this method when a host in the disk set is down or not communicating. If the other host had the disk set taken at this point, it would panic when it attempts to perform an I/O operation to the disk set.
Disk set ownership is only shown on the owning host.
lexicon# metaset ... Set name = blue, Set number = 1 Host Owner lexicon idiom ... lexicon# metaset -s blue -t lexicon# metaset ... Set name = blue, Set number = 1 Host Owner lexicon Yes idiom ...
In this example, host lexicon communicates with host idiom and ensures that host idiom has released the disk set before host lexicon attempts to take the set.
In this example, if host idiom owned the set blue, the “Owner” column in the above output would still have been blank. The metaset command only shows whether the issuing host owns the disk set, and not the other host.
# metaset -s blue -t -f
In this example, the host that is taking the disk set does not communicate with the other host. Instead, the drives in the disk set are taken without warning. If the other host had the disk set, it would panic when it attempts an I/O operation to the disk set.