Home > Veritas Storage Foundation™ Volume Manager Manual Pages
VXSPLITLINES (1M) |
Maintenance Commands |
If the configuration information in a disk group is ambiguous, it may not be possible for Veritas Volume Manager to determine which configuration copy is most up-to-date. (This is usually termed a serial split brain (SSB) condition when it occurs in a cluster.) You cannot import a disk group in this state unless you specify which disk's configuration copy to use.
Use the vxsplitlines command to see which disks in a disk group have conflicting configuration copies. and use this information together with your knowledge of the history of the disk groups' usage to determine which configuration copy is most valid.
The vxsplitlines command displays information about two pools of disks. Disks belonging to the first pool have the same configuration copies while disks belonging to the second pool may not have the same configuration copies.
The output from vxsplitlines displays the vxdg commands that you can run to import the disk group using the available configuration copies. The output suggests a remedial import option for each pool. Choose one of the options to resolve the serial split brain situation. Consider the information that is displayed in the output, such as the number of disks in each pool, when you make your decision.
To display information about the configuration copies for the disk group, mydg, with the serial split brain condition:
vxsplitlines -g mydg
This command displays output such as the following:
VxVM vxsplitlines NOTICE V-0-0-0 There are 2 pools All the disks in the first pool have the same config copies All the disks in the second pool may not have the same config copies Number of disks in the first pool: 1 Number of disks in the second pool: 1 To import the diskgroup with config copy from the first pool issue the command /usr/sbin/vxdg (-s) -o selectcp=1215378871.300.vm2850lx13 import mydg To import the diskgroup with config copy from the second pool issue the command /usr/sbin/vxdg (-s) -o selectcp=1215378869.294.vm2850lx13 import mydg
To display additional information about the configuration copies for the disks in each pool, use the verbose option:
vxsplitlines -v -g mydg
This command displays output such as the following:
VxVM. vxsplitlines NOTICE V-0-0-0 There are 2 pools All the disks in the first pool have the same config copies All the disks in the second pool may not have the same config copies To see the configuration copy from a disk issue the command /etc/vx/diag.d/vxprivutil dumpconfig <private path> To import the diskgroup with config copy from a disk issue the command /usr/sbin/vxdg (-s) -o selectcp=<diskid> import mydg Pool 0 DEVICE DISK DISK ID DISK PRIVATE PATH mydg1 sdp 1215378871.300.vm2850lx13 /dev/vx/rdmp/sdp5
Pool 1 DEVICE DISK DISK ID DISK PRIVATE PATH mydg2 sdo 1215378869.294.vm2850lx13 /dev/vx/rdmp/sdo5
The version number of the disk group must be 110 or greater.
Veritas Volume Manager Administrator's Guide
Last updated: 17 Jul 2008
Copyright ©2009 Symantec Corporation
All rights reserved.