Symantec logo

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:

# vxassist -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.

Having created the application volume, stmrvol, you can use the following command to prepare it for use with volume snapshots:

# vxassist -g mydg -P mypool addlog stmrvol nlog=2 logtype=dco

This command associates a data change object (DCO) and DCO volume with the volume. The attribute nlog is used to specify that the DCO volume has the same redundancy as the original volume.

You can use the following vxsnap prepare command to set up the volume for snapshots:

# vxsnap -g mydg prepare stmrvol ndcomirs=2

See About creating application volumes.

See Creating instant snapshots.