JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Solaris Volume Manager Administration Guide
search filter icon
search icon

Document Information


1.  Getting Started With Solaris Volume Manager

2.  Storage Management Concepts

3.  Solaris Volume Manager Overview

4.  Solaris Volume Manager for Sun Cluster (Overview)

5.  Configuring and Using Solaris Volume Manager (Scenario)

6.  State Database (Overview)

7.  State Database (Tasks)

8.  RAID-0 (Stripe and Concatenation) Volumes (Overview)

9.  RAID-0 (Stripe and Concatenation) Volumes (Tasks)

10.  RAID-1 (Mirror) Volumes (Overview)

11.  RAID-1 (Mirror) Volumes (Tasks)

12.  Soft Partitions (Overview)

13.  Soft Partitions (Tasks)

14.  RAID-5 Volumes (Overview)

15.  RAID-5 Volumes (Tasks)

16.  Hot Spare Pools (Overview)

17.  Hot Spare Pools (Tasks)

18.  Disk Sets (Overview)

19.  Disk Sets (Tasks)

Disk Sets (Task Map)

Creating Disk Sets

How to Create a Disk Set

Expanding Disk Sets

How to Add Disks to a Disk Set

How to Add Another Host to a Disk Set

How to Create Solaris Volume Manager Components in a Disk Set

Maintaining Disk Sets

How to Check the Status of a Disk Set

How to Delete Disks From a Disk Set

How to Take a Disk Set

How to Release a Disk Set

How to Delete a Host or Disk Set

Importing Disk Sets

How to Print a Report on Disk Sets Available for Import

How to Import a Disk Set From One System to Another System

20.  Maintaining Solaris Volume Manager (Tasks)

21.  Best Practices for Solaris Volume Manager

22.  Top-Down Volume Creation (Overview)

23.  Top-Down Volume Creation (Tasks)

24.  Monitoring and Error Reporting (Tasks)

25.  Troubleshooting Solaris Volume Manager (Tasks)

A.  Important Solaris Volume Manager Files

B.  Solaris Volume Manager Quick Reference

C.  Solaris Volume Manager CIM/WBEM API


Creating Disk Sets

How to Create a Disk Set

Before You Begin

Check Guidelines for Working With Disk Sets.

  1. 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 -s diskset-name -a -h -M hostname
      -s diskset-name

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


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


      Specifies that the disk set being created is a multi-owner 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. However, the second host is not accepted if all the disks within the set cannot be found on the specified hostname. hostname is the same name found in the /etc/nodename file.

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

  2. Check the status of the new disk set.
    # metaset

Example 19-1 Creating a Disk Set

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

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

Host                Owner

Example 19-2 Creating a Multi-Owner Disk Set

In the following example, you create a multi-owner disk set called red. The first line of the output from the metaset command displays “Multi-owner,” indicating that the disk set is a multi-owner disk set.

# metaset -s red -a -M -h nodeone
# metaset -s red
Multi-owner Set name = red, Set number = 1, Master = 

Host                Owner          Member
  nodeone                          Yes