VERITAS Volume Manager 3.1 Administrator's Guide

Volume Tasks
Associating Plexes
Chapter 6 265
Associating Plexes
A plex becomes a participating plex for a volume by associating the plex
with the volume. To associate a plex with an existing volume, use the
following command:
# vxplex att
volume_name plex_name
For example, to associate a plex named vol01-02 with a volume named
vol01, use the following command:
# vxplex att vol01 vol01-02
If the volume has not been created, a plex (or multiple plexes) can be
associated with the volume to be created as part of the volume create
command. To associate a plex with the volume to be created, use the
following command:
# vxmake -U
usetype
vol
volume_name
plex=
plex_name1
,
plex_name2
...
For example, to create a mirrored, fsgen-type volume named home and
associate two existing plexes named home-1 and home-2, use the
following command:
# vxmake -hfsgen vol home plex=home-1,home-2
NOTE You can also use the following command on an existing volume to add
and associate a plex: vxassist mirror
volume_name