Symantec logo

Associating a Data Change Map to a data volume

The vradmin createpri, vradmin addsec, and vradmin addvol commands associate the Data Change Map (DCM) to the data volume by default. This section describes how to associate DCMs to a data volume in an existing VVR configuration. For more information about the DCM object, see Data Change Map.

 To associate a Data Change Map to a Data Volume

The vxassist command enables you to associate a DCM to a new data volume or an existing data volume.

OR

VVR mirrors the DCM by default. If loglen is not specified, vxassist calculates a suitable size for the DCM. For more information, see Determining the region size.


  Note   If you try to grow a volume that has a DCM, an error message warns you if the DCM is not large enough for the increased size. In this case, dissociate the DCM, grow the volume, and then associate a new DCM to the volume.


Determining the region size

VVR calculates the DCM size based on the size of the volume. The default size of the DCM ranges from 4K to 256K depending on the size of the volume. However, you can specify the size of the DCM to a maximum of 2 MB. Internally, the DCM is divided into two maps: the active map and the replay map. Each bit in the DCM represents a contiguous number of blocks in the volume it is associated with, which is referred to as the region.

Click the thumbnail above to view full-sized image.

The region size is calculated based on the volume size divided by half the DCM size in bits. The minimum region size is 64 blocks or 32K .

The following table gives examples of the region sizes for volumes of different sizes in a non-CDS (Cross-Platform Data Sharing) disk group and a CDS disk group with the default DCM size and a user-specified DCM size of 2 MB.

Volume Size

Non-CDS Disk Group

CDS Disk Group

Default DCM Size

Region Size for Default DCM Size

Region Size for a DCM Size of 2 MB Specified by the User

Default DCM Size

Region Size for Default DCM Size

Region Size for a DCM Size of 2 MB Specified by the User.

1 MB  

1K 

32K 

32K 

16K 

32K 

32K 

100 MB  

1K 

32K 

32K 

16K 

32K 

32K 

200 MB 

2K 

32K 

32K 

16K 

32K 

32K 

400 MB 

4K 

32K 

32K 

16K 

32K 

32K 

1 GB 

9K 

32K 

32K 

16K 

32K 

32K 

2 GB 

17K 

32K 

32K 

32K 

32K 

32K 

4 GB 

33K 

32K 

32K 

48K 

32K 

32K 

8 GB 

65K 

32K 

32K 

80K 

32K 

32K 

20 GB 

161K 

32K 

32K 

176K 

32K 

32K 

40 GB 

161K 

64K 

32K 

176K 

64K 

32K 

100 GB 

201K 

128K 

32K 

208K 

128K 

32K 

200 GB 

229K 

224K 

32K 

240K 

224K 

32K 

400 GB 

247K 

416K 

64K 

256K 

416K 

64K 

1 TB 

249K 

1056K 

160K 

256K 

1056K 

160K