VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide
Examples of Using ISP from the Command Line
28 VERITAS Storage Foundation ISP Administrator’s Guide
Examples of Using ISP from the Command Line
This section provides examples of using ISP from the command line and provides pointers to where
more information can be found. You can also find summaries of the usage of commonly used
commands in “Command Summary” on page 181. Further examples may be found in “Examples of
Using ISP” on page 185 and in the manual page for each command.
Creating a Data Storage Pool
Assuming that you have created a disk group, mydg, that contains several disks that you have
initialized for use with VxVM, the following command creates a data storage pool, mypool,
containing several disks, and which supports the creation of striped-mirror volumes:
# vxpool -g mydg create mypool \
dm=mydg01,mydg02,mydg03,mydg04,mydg04,mydg06 \
pooldefinition=stripe_mirror_volumes
For more information, see “Creating a Storage Pool” on page 36.
Adding Disks to a Storage Pool
You can use the vxpool adddisk command to add initialized disks to a storage pool. For
example, this command adds two disks to the storage pool, mypool:
# vxpool -g mydg adddisk mypool dm=mydg07,mydg08
For more information, see “Adding Disks to a Storage Pool” on page 39.
Creating an Application Volume
The following command creates a striped-mirror volume with three columns and two mirrors in the
data storage pool, mypool, by specifying the capability DataStripeMirror together with the
appropriate parameters:
# vxvoladm -g mydg -p mypool make stmrvol 2g \
capability=’DataStripeMirror(ncols=3,nmirs=2)’ init=active
The init=active attribute makes the volume immediately available for use without performing
any synchronization.