Sun Cluster System Administration Guide for Solaris OS

ProcedureSPARC: How to Add a New Volume to an Existing Disk Device Group (VERITAS Volume Manager)

When you add a new volume to an existing VxVM disk device group, perform the procedure from the primary node of the online disk device group.


Note –

After adding the volume, you need to register the configuration change by using the procedure SPARC: How to Register Disk Group Configuration Changes (VERITAS Volume Manager).


Steps
  1. Become superuser on any node of the cluster.

  2. Determine the primary node for the disk device group to which you are adding the new volume.


    # scstat -D
    
  3. If the disk device group is offline, bring the device group online.


    # scswitch -z -D disk-device-group -h node[,...]
    
    -z -D disk-device-group

    Switches the specified device group.

    -h node

    Specifies the name of the node to switch the disk device group to. This node becomes the new primary.

  4. From the primary node (the node currently mastering the disk device group), create the VxVM volume in the disk group.

    Refer to your VERITAS Volume Manager documentation for the procedure used to create the VxVM volume.

  5. Register the VxVM disk group changes to update the global namespace.

    DPM

    SPARC: How to Register Disk Group Configuration Changes (VERITAS Volume Manager).