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

# vxassist [-b] [-g diskgroup] make volume length \
layout=layout mirror=ctlr [attributes]
Note: Both paths of an active/passive array are not considered to be on different
controllers when mirroring across controllers.
The following command creates a mirrored volume with two data plexes in the
disk group, mydg:
# vxassist -b -g mydg make volspec 10g layout=mirror nmirror=2 \
mirror=ctlr ctlr:c2 ctlr:c3
The disks in one data plex are all attached to controller c2, and the disks in the
other data plex are all attached to controller c3. This arrangement ensures
continued availability of the volume should either controller fail.
The attribute mirror=enclr specifies that disks in one mirror should not be in
the same enclosure as disks in other mirrors within the same volume.
The following command creates a mirrored volume with two data plexes:
# vxassist -b make -g mydg volspec 10g layout=mirror nmirror=2 \
mirror=enclr enclr:enc1 enclr:enc2
The disks in one data plex are all taken from enclosure enc1, and the disks in the
other data plex are all taken from enclosure enc2. This arrangement ensures
continued availability of the volume should either enclosure become unavailable.
There are other ways in which you can control how volumes are laid out on the
specified storage.
See Specifying ordered allocation of storage to volumes on page 308.
Mirroring across media types (SSD and HDD)
This section describes how to mirror across media types (SSD and HDD).
To create a volume with a HDD plex and a SSD plex
1
Create a volume with media type HDD:
# vxassist -g mydg make myvol 1G mediatype:hdd
2
Add a mirror to the volume with media type SSD:
# vxassist -g mydg mirror myvol mediatype:ssd
Creating volumes
Mirroring across media types (SSD and HDD)
320