Sun Cluster 2.2 Cluster Volume Manager Guide

3.5.2 Adding a Mirror to a Volume

Exercise 6: Create an associated mirror for each volume.

The syntax for the command is:


# vxassist -g group_name mirror volume_name disk_name

For example, the command for vol1 is:


# vxassist -g acct mirror vol01 c2t0d0

The examples above use a volume size of 500 Mbytes (500m) for simplicity of calculations. The actual size of a CVM device is slightly less than the full disk drive size. CVM reserves a small amount of space for private use, called the private region.

Exercise 7: Repeat the procedure for each volume in the disk group.

Create one volume in each disk group. When you have finished, you should have these mirrored volumes:

Table 3-4 Volume Totals

Group 

Volume Name 

Total 

acct 

vol01 

history 

vol01 

admin_system 

vol01 

log_node1 

vol01 

log_node2 

vol01 


Note -

In the example, the five volumes all use the same name, vol01. The use of the same name is allowed if the volumes belong to different groups.