You can use the command-line interface (CLI) to add a mirrored copy to a virtual disk (VDisk). Each VDisk can have a maximum of two copies.
The addvdiskcopy command adds a copy to an existing VDisk, which changes a nonmirrored VDisk into a mirrored VDisk.
Use the -copies parameter to specify the number of copies to add to the VDisk; this is currently limited to the default value of 1 copy. Use the -mdiskgrp parameter to specify the managed disk group that will provide storage for the copy; the svcinfo lsmdiskgrp CLI command lists the available managed disk groups and the amount of available storage in each group.
For image copies, you must specify the virtualization type using the -vtype parameter and an MDisk that is in unmanaged mode using the -mdisk parameter. This MDisk must be in the unmanaged mode. The -vtype parameter is optional for sequential (seq) and striped VDisks. The default virtualization type is striped.
svctask addvdiskcopy -mdiskgrp 0 vdisk8
where 0 is the name of the managed disk group and vdisk8 is the VDisk to which the copy will be added.
The command returns the IDs of the newly created VDisk copies.