Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

See Creating a volume on page 299.
Note: Most VxVM commands require superuser or equivalent privileges.
Creating plexes
Use the vxmake command to create VxVM objects, such as plexes. When creating
a plex, identify the subdisks that are to be associated with it:
To create a plex from existing subdisks, use the following command:
# vxmake [-g diskgroup] plex plex sd=subdisk1[,subdisk2,...]
For example, to create a concatenated plex named vol01-02 from two existing
subdisks named mydg02-01 and mydg02-02 in the disk group, mydg, use the
following command:
# vxmake -g mydg plex vol01-02 sd=mydg02-01,mydg02-02
Creating a striped plex
To create a striped plex, you must specify additional attributes. For example, to
create a striped plex named pl-01 in the disk group, mydg, with a stripe width of
32 sectors and 2 columns, use the following command:
# vxmake -g mydg plex pl-01 layout=stripe stwidth=32 ncolumn=2 \
sd=mydg01-01,mydg02-01
To use a plex to build a volume, you must associate the plex with the volume.
See Attaching and associating plexes on page 286.
Displaying plex information
Listing plexes helps identify free plexes for building volumes. Use the plex (–p)
option to the vxprint command to list information about all plexes.
To display detailed information about all plexes in the system, use the following
command:
# vxprint -lp
To display detailed information about a specific plex, use the following command:
281Creating and administering subdisks and plexes
Creating plexes