# vxdg import demodg
VxVM vxdg ERROR V-5-1-10978 Disk group demodg: import failed:
Serial Split Brain detected. Run vxsplitlines to import the diskgroup
The Serial Split Brain condition arises because VERITAS Volume Manager (tm) increments the serial ID (SSB) in the disk media record of each imported disk in the disk group. and if the serial IDs on the disks do not agree( due to network/disk/connection issue) with the expected values from the configuration copies on other disks in the disk group.
Follow these steps to resolve a "Serial Split Brain" issue:
1. Check and ensure all the disk are in a deported state
# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
c2t1d0s2 auto:cdsdisk - (dgD280silo1) online
c2t2d0s2 auto:cdsdisk - (dgD280silo1) online
c2t3d0s2 auto:cdsdisk - (dgD280silo1) online
c2t9d0s2 auto:cdsdisk - (dgD280silo1) online
2. Run vxsplitlines on the affect disk group using the "-v" option to display details
# vxsplitlines -g dgD280silo1 -v <<< for diskgroup with large number of disk, there is a delay in response
# vxdisk list c2t1d0s2 |
# vxdisk list c2t3d0s2 |
|
Device: c2t1d0s2
|
Device: c2t3d0s2
|
|
disk: name=d1 id=1092974296.21.gopal
|
disk: name=d3 id=1092974311.21.gopal
|
|
group: name=dgD280silo1 id=1095738111.20.gopal
|
group: name=dgD280silo1 id=1095738111.20.gopal
|
|
ssb: actual_seqno=0.1
|
ssb: actual_seqno=0.1
|
|
config copy ..........ENABLED
|
config copy ..........ENABLED
|
|
|
|
# vxdisk list c2t2d0s2 |
# vxdisk list c2t9d0s2 |
|
Device: c2t2d0s2
|
Device: c2t9d0s2
|
|
disk: name=d2 id=1092974302.21.gopal
|
disk: name=d4 id=1092974318.21.gopal
|
|
group: name=dgD280silo1 id=1095738111.20.gopal
|
group: name=dgD280silo1 id=1095738111.20.gopal
|
|
ssb: actual_seqno=0.1
|
ssb: actual_seqno=0.0
|
|
config copy ..........ENABLED
|
config copy ......... DISABLED
|
# /etc/vx/diag.d/vxprivutil dumpconfig /dev/vx/rdmp/c2t2d0s2 > dumpconfig_c2t2d0s2 from pool 0# /etc/vx/diag.d/vxprivutil dumpconfig /dev/vx/rdmp/c2t9d0s2 > dumpconfig_c2t9d0s2 from pool 1# cat dumpconfig_c2t3d0s2 | vxprint -D - -ht # cat dumpconfig_c2t9d0s2 | vxprint -D - -ht # /usr/sbin/vxdg -o selectcp=1092974302.22.gopal import dgD280silo1# vxprint -qhtg dgD280silo1# vxrecover -g dgD280silo1 -sb# mount -F vxfs /dev/vx/dsk/dgD280silo1/orgvol /orgvol# fsck -F vxfs /dev/vx/rdsk/dgD280silo1/orgvol# mount -F vxfs /dev/vx/dsk/dgD280silo1/orgvol /orgvol# df /orgvol
# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
c2t1d0s2 auto:cdsdisk d1 dgD280silo1 online
c2t2d0s2 auto:cdsdisk d2 dgD280silo1 online
c2t3d0s2 auto:cdsdisk d3 dgD280silo1 online
c2t9d0s2 auto:cdsdisk d4 dgD280silo1 online
# vxprint -htg dgD280silo1
dg dgD280silo1 default default 26000 1095738111.20.gopal
dm d1 c2t1d0s2 auto 2048 35838448 -
dm d2 c2t2d0s2 auto 2048 35838448 -
dm d3 c2t3d0s2 auto 2048 35838448 -
dm d4 c2t9d0s2 auto 2048 35838448 -
v SNAP-vol_db2silo1.1 - ENABLED ACTIVE 1024000 SELECT SNAP-vol_db2silo1.1-01 fsgen
pl SNAP-vol_db2silo1.1-01 SNAP-vol_db2silo1.1 ENABLED ACTIVE 1024000 STRIPE 2/1024 RW
sd d3-01 SNAP-vol_db2silo1.1-01 d3 0 512000 0/0 c2t3d0 ENA
sd d4-01 SNAP-vol_db2silo1.1-01 d4 0 512000 1/0 c2t9d0 ENA
dc SNAP-vol_db2silo1.1_dco SNAP-vol_db2silo1.1 SNAP-vol_db2silo1.1_dcl
v SNAP-vol_db2silo1.1_dcl - ENABLED ACTIVE 544 SELECT - gen
pl SNAP-vol_db2silo1.1_dcl-01 SNAP-vol_db2silo1.1_dcl ENABLED ACTIVE 544 CONCAT - RW
sd d3-02 SNAP-vol_db2silo1.1_dcl-01 d3 512000 544 0 c2t3d0 ENA
v orgvol - ENABLED ACTIVE 1024000 SELECT orgvol-01 fsgen
pl orgvol-01 orgvol ENABLED ACTIVE 1024000 STRIPE 2/128 RW
sd d1-01 orgvol-01 d1 0 512000 0/0 c2t1d0 ENA
sd d2-01 orgvol-01 d2 0 512000 1/0 c2t2d0 ENA
Applies To
All platforms