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

# vxassist -b -g mydg -o ordered make strmir2vol 10g \
layout=mirror-stripe ncol=2 col_switch=3g,2g \
mydg01 mydg02 mydg03 mydg04 mydg05 mydg06 mydg07 mydg08
This command allocates 3 gigabytes from mydg01 and 2 gigabytes from mydg02 to
column 1, and 3 gigabytes from mydg03 and 2 gigabytes from mydg04 to column
2. The mirrors of these columns are then similarly formed from disks mydg05
through mydg08.
Figure 8-3 shows an example of using concatenated disk space to create a
mirrored-stripe volume.
Figure 8-3
Example of using concatenated disk space to create a mirrored-stripe
volume
Striped
plex
Mirror
column 1
mydg01-01
Mirrored-stripe
volume
mydg02-01
column 1
mydg05-01
mydg06-01
column 2
mydg03-01
mydg04-01
column 1
mydg07-01
mydg08-01
Striped
plex
Other storage specification classes for controllers, enclosures, targets and trays
can be used with ordered allocation. For example, the following command creates
a 3-column mirrored-stripe volume between specified controllers:
# vxassist -b -g mydg -o ordered make mirstr2vol 80g \
layout=mirror-stripe ncol=3 \
ctlr:c1 ctlr:c2 ctlr:c3 ctlr:c4 ctlr:c5 ctlr:c6
This command allocates space for column 1 from disks on controllers c1, for
column 2 from disks on controller c2, and so on.
Figure 8-4 shows an example of using storage allocation to create a mirrored-stripe
volume across controllers.
Creating volumes
Creating a volume on specific disks
310