In some circumstances where disks have been replaced on a system, there may exist several conflicting backups for a disk group. In this case, you see a message similar to the following from the vxconfigrestore command:
VxVM vxconfigrestore ERROR V-5-1-6012 There are two backups that have the same diskgroup name with different diskgroup id : 1047336696.19.xxx.veritas.com 1049135264.31.xxx.veritas.com
The solution is to specify the disk group by its ID rather than by its name to perform the restoration. The backup file, /etc/vx/cbr/bk/diskgroup. dgid/ dgid.dginfo, contains a timestamp that records when the backup was taken.
The following is a sample extract from such a backup file that shows the timestamp and disk group ID information:
TIMESTAMP Tue Apr 15 23:27:01 PDT 2003 . . . DISK_GROUP_CONFIGURATION Group: mydg dgid: 1047336696.19.xxx.veritas.com . . .
Use the timestamp information to decide which backup contains the relevant information, and use the vxconfigrestore command to restore the configuration by specifying the disk group ID instead of the disk group name.