Solstice DiskSuite 4.2.1 User's Guide

How to Create a Diskset (Command Line)

The high-level steps in creating a diskset are:

Before creating a diskset:


Note -

If you are not familiar with how to configure the same device names for the shared drives in the diskset, refer to "How to Configure Disk Drive Device Names for a Diskset (Command Line)".


  1. Make sure you have met the prerequisites ("Prerequisites for Creating DiskSuite Objects") and have read the preliminary information ("Preliminary Information for Creating Disksets").

  2. Create the diskset by defining the host(s) that have access to the devices.


    # metaset -s setname -a -h host...
    

    In this command,

    -s setname

    Specifies the name of a diskset on which metaset(1M) will work.

    -a

    Adds hosts to the named diskset. DiskSuite supports a maximum of two hosts per diskset. 

    -h host...

    Specifies one or more hosts to be added to a diskset. 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 host. host is the same name found in /etc/nodename.

  3. Check the status of the new diskset with the metaset(1M) command.


    # metaset
    

Example -- Creating Two Disksets


red# metaset -s relo-red -a -h red blue
red# metaset -s relo-blue -a -h red blue
red# metaset
Set name = relo-red, Set number = 1
 
Host                Owner
  red
  blue
 
Set name = relo-blue, Set number = 2
 
Host                Owner
  red
  blue

In this example, you create two shared disksets, relo-red and relo-blue, from the host red. The host names are red and blue, each with their own local disksets. The metaset command shows the status. At this point, neither set has an owner. The host that adds disks to the set will become the owner by default.