Symantec logo

Mirroring all volumes

To mirror all volumes in a disk group to available disk space, use the following command:

# /etc/vx/bin/vxmirror -g diskgroup -a

To configure VxVM to create mirrored volumes by default, use the following command:

# /etc/vx/bin/vxmirror -d yes

If you make this change, you can still make unmirrored volumes by specifying nmirror=1 as an attribute to the vxassist command. For example, to create an unmirrored 20-gigabyte volume named nomirror in the disk group, mydg, use the following command:

# vxassist -g mydg make nomirror 20g nmirror=1