Veritas 4.1 Installation Guide (HP-UX 11i v3, February 2007)

You can set the plex to the ACTIVE state in one of the following ways:
— Reattach a plex to a volume that is currently in ENABLED state:
# vxplex -g <diskgroup> att <volume> <plex ...>
See vxplex (1M), for more information on the supported options.
— Reattach a plex to a volume that is currently not in use (not ENABLED):
# vxmend -g <diskgroup> on <plex>
See vxmend (1M), for more information on the supported options.
Moving Plexes
Moving a plex copies the data content from the original plex onto a new plex.
Move a plex:
# vxplex -g <diskgroup> mv <original_plex> <new_plex>
See vxplex (1M), for more information on the supported options.
Copying Plexes
The task of copying the contents of a volume onto a specified plex. The volume to be copied
must not be enabled. The plex cannot be associated with any other volume.
Copy a plex:
# vxplex -g <diskgroup> cp volume <new_plex>
See vxplex (1M), for more information on the supported options.
Dissociating and Removing Plexes
When a plex is no longer needed, you can dissociate it from its volume and remove it as an
VxVM object. You may want to remove a plex for the following reasons:
— Provide free disk space
Reduce the number of mirrors in a volume so that you can increase the length of another
mirror and its associated volume. When the plexes and subdisks are removed, the
resulting space can be added to other volumes.
— Remove a temporary mirror that was created to back up a volume and is no longer
needed.
— Change the layout of a plex
Dissociate a plex from the associated volume and remove it as an object from VxVM:
# vxplex -g <diskgroup> -o rm dis <plex>
See vxplex (1M), for more information on the supported options.
Changing Plex Attributes
Plex fields that can be changed using the vxedit command include:
name
putiln
tutiln
comment
Change plex attributes:
# vxedit -g <diskgroup> set attribute=<value> ... <plex>
See vxedit (1M), for more information on the supported options.
Volumes
Volumes are logical devices that appear as physical disk partition devices to the data management
systems. Volumes enhance recovery from hardware failure, data availability, performance, and
storage configuration.
38 Setting up the Veritas 4.1 Products