Go to main content

Oracle® Solaris Cluster 4.3 Software Installation Guide

Exit Print View

Updated: June 2019
 
 

How to Activate Volumes

Perform this procedure to activate Solaris Volume Manager volumes that are defined in md.tab files.

  1. Assume the root role.
  2. Ensure that md.tab files are located in the /etc/lvm directory.
  3. Ensure that you have ownership of the disk set on the node where the command will be executed.
  4. Take ownership of the disk set.
    phys-schost# cldevicegroup switch -n node device-group
    –n node

    Specifies the node that takes ownership.

    device-group

    Specifies the disk set name.

  5. Activate the disk set's volumes, which are defined in the md.tab file.
    phys-schost# metainit -s setname -a
    –s setname

    Specifies the disk set name.

    –a

    Activates all volumes in the md.tab file.

  6. Repeat Step 3 through Step 5 for each disk set in the cluster.

    If necessary, run the metainit(1M) command from another node that has connectivity to the drives. This step is required for cluster-pair topologies where the drives are not accessible by all nodes.

  7. Check the status of the volumes.
    phys-schost# metastat -s setname

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

  8. (Optional) Make a backup of your cluster configuration.

    An archived backup of your cluster configuration facilitates easier recovery of the your cluster configuration. For more information, see How to Back Up the Cluster Configuration in Oracle Solaris Cluster 4.3 System Administration Guide.

Example 9  Activating Volumes in the md.tab File

In the following example, all volumes that are defined in the md.tab file for disk set dg-schost-1 are activated.

phys-schost# metainit -s dg-schost-1 -a

Next Steps

If your cluster contains disk sets that are configured with exactly two disk enclosures and two nodes, add dual-string mediators. Go to Configuring Dual-String Mediators.

Otherwise, go to How to Create Cluster File Systems to find out how to create a cluster file system.