Veritas Volume Manager 5.0.1 Administrator's Guide, HP-UX 11i v3, First Edition, November 2009

For example, to attach a plex named vol01-02 to a volume named vol01 in the
disk group, mydg, use the following command:
# vxplex -g mydg 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 -g mydg -U fsgen vol home plex=home-1,home-2
You can also use the command vxassist mirror volume to add a data plex as a
mirror to an existing volume.
Taking plexes offline
Once a volume has been created and placed online (ENABLED), VxVM can
temporarily disconnect plexes from the volume. This is useful, for example, when
the hardware on which the plex resides needs repair or when a volume has been
left unstartable and a source plex for the volume revive must be chosen manually.
Resolving a disk or system failure includes taking a volume offline and attaching
and detaching its plexes. The two commands used to accomplish disk failure
resolution are vxmend and vxplex.
To take a plex OFFLINE so that repair or maintenance can be performed on the
physical disk containing subdisks of that plex, use the following command:
# vxmend [-g diskgroup] off plex
If a disk fails (for example, it has a head crash), use the vxmend command to take
offline all plexes that have associated subdisks on the affected disk. For example,
if plexes vol01-02 and vol02-02 in the disk group, mydg, had subdisks on a drive
to be repaired, use the following command to take these plexes offline:
# vxmend -g mydg off vol01-02 vol02-02
This command places vol01-02 and vol02-02 in the OFFLINE state, and they
remain in that state until it is changed. The plexes are not automatically recovered
on rebooting the system.
Creating and administering plexes
Taking plexes offline
266