Veritas Volume Manager 5.0 Administrator's Guide (September 2006)

184 Creating and administering disk groups
Handling conflicting configuration copies
Correcting conflicting configuration information
Note: This procedure requires that the disk group has a version number of at least 110. See
Upgrading a disk group” on page 198 for more information about disk group version
numbers.
To resolve conflicting configuration information, you must decide which disk contains the
correct version of the disk group configuration database. To assist you in doing this, you
can run the
vxsplitlines command to show the actual serial ID on each disk in the disk
group and the serial ID that was expected from the configuration database. For each disk,
the command also shows the
vxdg command that you must run to select the configuration
database copy on that disk as being the definitive copy to use for importing the disk group.
The following is sample output from running vxsplitlines on the disk group newdg:
# vxsplitlines -g newdg
The following splits were found in disk group newdg
They are listed in da(dm) name pairs.
Pool 0.
c2t5d0 ( c2t5d0 ), c2t6d0 ( c2t6d0 ),
The configuration from any of the disks in this split should appear
to be be the same.
To see the configuration from any of the disks in this split, run:
/etc/vx/diag.d/vxprivutil dumpconfig /dev/vx/dmp/c2t5d0
To import the dg with the configuration from this split, run:
/usr/sbin/vxdg -o selectcp=1045852127.32.olancha import newdg
To get more information about this particular configuration, run:
/usr/sbin/vxsplitlines -g newdg -c c2t5d0
Split 1.
c2t7d0 ( c2t7d0 ), c2t8d0 ( c2t8d0 ),
The configuration from any of the disks in this split should appear
to be be the same.
To see the configuration from any of the disks in this split, run:
/etc/vx/diag.d/vxprivutil dumpconfig /dev/vx/dmp/c2t7d0
To import the dg with the configuration from this split, run:
/usr/sbin/vxdg -o selectcp=1045852127.33.olancha import newdg
To get more information about this particular configuration, run:
/usr/sbin/vxsplitlines -g newdg -c c2t7d0
In this example, the disk group has four disks, and is split so that two disks appear to be on
each side of the split.
You can specify the -c option to vxsplitlines to print detailed information about each
of the disk IDs from the configuration copy on a disk specified by its disk access name:
# vxsplitlines -g newdg -c c2t6d0
DANAME(DMNAME) || Actual SSB || Expected SSB
c2t5d0( c2t5d0 ) || 0.1 || 0.0 ssb ids don’t match
c2t6d0( c2t6d0 ) || 0.1 || 0.1 ssb ids match
c2t7d0( c2t7d0 ) || 0.1 || 0.1 ssb ids match