Solaris Volume Manager Administration Guide

How to Add a Host to a Disk Set

Solaris Volume Manager supports a maximum of four hosts per disk set. This procedure explains how to add another host to an existing disk set that only has one host.

  1. Check Background Information for Disk Sets.

  2. To add a host to a disk set, use one of the following methods:

    • From the Enhanced Storage tool within the Solaris Management Console, open the Disk Sets node and choose the disk set you want to modify. Select the disk set you want to modify, then right-click and choose Properties. Select the Hosts tab, click Add Host, then follow the instructions in the wizard. For more information, see the online help.

    • To add hosts to a disk set from the command line, use the following form of the metaset command:

      metaset [-s diskset-name] [-a] [-h hostname]
      -s diskset-name

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

      -a

      Adds drives to the named disk set.

      -h hostname

      Specifies one or more host names to be added to the disk set. Adding the first host creates the set. The host name is the same name found in the /etc/nodename file.

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

  3. Verify that the host has been added to the disk set by using the metaset command without any options.


    # metaset
    

Example—Adding Another Host to a Disk Set


# metaset -s blue -a -h idiom
# metaset -s blue
Set name = blue, Set number = 1
 
Host                Owner
  lexicon                Yes
  idiom
 
Drive               Dbase
  c1t6d0             Yes 
  c2t6d0             Yes 

This example shows the addition of host idiom to the disk set blue.