vxdg splitbrain
If you have got an error message "import failed: Serial Split Brain detected" during importing veritas diskgroup that is using cluster disk shared format (cds), here is the solution i've ever did (warning: take as your own risk!) :
root@jktgrhxdwhdm01 # vxdg import xladm1dg
VxVM vxdg ERROR V-5-1-587 Disk group xladm1dg: import failed: Serial Split Brain detected. Run vxsplitlines
root@jktgrhxdwhdm01 # vxsplitlines -g xladm1dg
VxVM vxsplitlines NOTICE V-5-2-2708 There are 1 pools.
The Following are the disks in each pool. Each disk in the same pool
has config copies that are similar.
VxVM vxsplitlines INFO V-5-2-2707 Pool 0.
STK_ARRAY0_0 xladm1_disk0
To see the configuration copy from this disk issue
/etc/vx/diag.d/vxprivutil dumpconfig /dev/vx/dmp/STK_ARRAY0_0s2
To import the diskgroup with config copy from this
disk use the following command
/usr/sbin/vxdg -o selectcp=1163759671.38.jktgrhxdwhdm01 import xladm1dg
The following are the disks whose ssb ids don't match in this config
copy
xladm1_disk0
xladm1_disk1
root@jktgrhxdwhdm01 # /usr/sbin/vxdg -o selectcp=1163759671.38.jktgrhxdwhdm01 import xladm1dg
root@jktgrhxdwhdm01 # vxdg import xladm1dg
VxVM vxdg ERROR V-5-1-587 Disk group xladm1dg: import failed: Serial Split Brain detected. Run vxsplitlines
root@jktgrhxdwhdm01 # vxsplitlines -g xladm1dg
VxVM vxsplitlines NOTICE V-5-2-2708 There are 1 pools.
The Following are the disks in each pool. Each disk in the same pool
has config copies that are similar.
VxVM vxsplitlines INFO V-5-2-2707 Pool 0.
STK_ARRAY0_0 xladm1_disk0
To see the configuration copy from this disk issue
/etc/vx/diag.d/vxprivutil dumpconfig /dev/vx/dmp/STK_ARRAY0_0s2
To import the diskgroup with config copy from this
disk use the following command
/usr/sbin/vxdg -o selectcp=1163759671.38.jktgrhxdwhdm01 import xladm1dg
The following are the disks whose ssb ids don't match in this config
copy
xladm1_disk0
xladm1_disk1
root@jktgrhxdwhdm01 # /usr/sbin/vxdg -o selectcp=1163759671.38.jktgrhxdwhdm01 import xladm1dg
Comments