A mirrored volume provides data redundancy by containing more than one copy of its data. Each copy (or mirror) is stored on different disks from the original copy of the volume and from other mirrors. Mirroring a volume ensures that its data is not lost if a disk in one of its component mirrors fails.
A mirrored volume requires space to be available on at least as many disks in the disk group as the number of mirrors in the volume.
To create a new mirrored volume, use the following command:
vxassist [-b] [-g diskgroup
] make volume
-b option if you want to make the volume immediately available for use.
See "Initializing and starting a volume" on page 246.
For example, to create the mirrored volume,
volmir, in the disk group,
mydg, use the following command:
vxassist -b -g mydg make volmir 5g layout=mirror
To create a volume with 3 instead of the default of 2 mirrors, modify the command to read:
vxassist -b -g mydg make volmir 5g layout=mirror nmirror=3