VERITAS Volume Manager 3.5 Administrator's Guide (September 2004)

Creating and Administering Plexes
Attaching and Associating Plexes
Chapter 6 201
Attaching and Associating Plexes
A plex becomes a participating plex for a volume by attaching it to a
volume. (Attaching a plex associates it with the volume and enables the
plex for use.) To attach a plex to an existing volume, use the following
command:
# vxplex [-g diskgroup] att volume plex
For example, to attach a plex named vol01-02 to a volume named vol01,
use the following command:
# vxplex att vol01 vol01-02
If the volume does not already exist, a plex (or multiple plexes) can be
associated with the volume when it is created using the following
command:
# vxmake [-g diskgroup] -U usetype vol volume
plex=plex1[,plex2...]
For example, to create a mirrored, fsgen-type volume named home, and
to associate two existing plexes named home-1 and home-2 with home,
use the following command:
# vxmake -U fsgen vol home plex=home-1,home-2
NOTE You can also use the command vxassist mirror volume to add a data plex
as a mirror to an existing volume.