Solaris Volume Manager Administration Guide

Creating Disk Sets

How to Create a Disk Set

  1. Check Background Information for Disk Sets.

  2. To create a disk set, use one of the following methods:

    • From the Enhanced Storage tool within the Solaris Management Console, open the Disk Sets node. Choose Action->Create Disk Set, then follow the instructions in the wizard. For more information, see the online help.

    • To create a disk set from scratch from the command line, use the following form of the metaset command:

      metaset [-sdiskset-name] [-a] [-hhostname]
      -s diskset-name

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

      -a

      Adds hosts to the named disk set. Solaris Volume Manager supports four hosts per disk set.

      -h hostname

      Specifies one or more hosts to be added to a disk set. Adding the first host creates the set. The second host can be added later, but it is not accepted if all the drives within the set cannot be found on the specified hostname. hostname is the same name found in the /etc/nodename file.

      See metaset(1M) for more information.

  3. Check the status of the new disk set by using the metaset command.


    # metaset
    

Example—Creating a Disk Set


# metaset -s blue -a -h lexicon              
# metaset
Set name = blue, Set number = 1

Host                Owner
  lexicon                

In this example, you create a shared disk set called blue, from the host lexicon. The metaset command shows the status. At this point, the set has no owner. The host that adds disks to the set will become the owner by default.