The corruption will happen only when VxVM needs to check that the labels are written at the correct offset of the device by doing a scsi inquiry and determining the correct LUN geometry values to use. This is done through commands like, vxdisksetup, vxdg flush , and vxdisk flush. If you are using VCS command like hagrp offline and clean will also execute a vxdg flush.
This will result in Symantec backup labels getting written to the public region of subdisk, causing silent data corruption.
The following is a description of the problem according to the Etrack incident listed in the Supplemental Material section.
SYMPTOM:
When VxVM is upgraded from 4.1MP4RP2 to 5.1SP1RP1, the data on CDS disk gets corrupted.
DESCRIPTION:
When CDS disks are initialized with VxVM version 4.1MP4RP2, the no of cylinders are calculated based on the disk raw geometry. If the calculated no. of
cylinders exceed Solaris VTOC limit (65535), because of unsigned integer overflow, truncated value of no of cylinders gets written in CDS label. After the VxVM is upgraded to 5.1SP1RP1, CDS label gets wrongly written in the public region leading to the data corruption.
RESOLUTION:
The code changes are made to suitably adjust the no. of tracks & heads so that the calculated no. of cylinders be within Solaris VTOC limit.
1) Veritas recommends the customer not to run the following commands as corruption may occur if all the conditions listed in the Environment section of this article are met.
Applies To
Data Corruption can happen when the all following conditions on the LUN are met.