Veritas Disk group has no valid configuration copies

After applying some Solaris 10 patches and rebooting I got this error during boot from one of my disk groups:

vxvm:vxconfigd: V-5-1-569 Disk group appldg, Disk c3t50060482D5303536d13s2: Cannot auto-import group:
vxvm:vxconfigd:         Disk group has no valid configuration copies

And if I try to import it by hand after logging in:

# vxdg import appldg
VxVM vxdg ERROR V-5-1-10978 Disk group appldg: import failed:
Disk group has no valid configuration copies

There was no disk corruption, and booting back to an unpatched copy of the OS worked fine, so the issue wasn’t with the actual disk group.

What solved the problem was adding more copies of the configuration to the disks.

Here is the vxdg list output before:

# vxdg list appldg
Group:     appldg
dgid:      1210705160.16.ssprd131
import-id: 1024.18
flags:     cds
version:   140
alignment: 8192 (bytes)
ssb:            on
autotagging:    off
detach-policy: global
dg-fail-policy: dgdisable
copies:    nconfig=default nlog=default
config:    seqno=0.1170 permlen=48144 free=48126 templen=9 loglen=7296
config disk c3t50060482D5303536d6s2 copy 1 len=48144 disabled
config disk c3t50060482D5303536d7s2 copy 1 len=48144 disabled
config disk c3t50060482D5303536d8s2 copy 1 len=48144 disabled
config disk c3t50060482D5303536d11s2 copy 1 len=48144 state=clean online
config disk c3t50060482D5303536d12s2 copy 1 len=48144 state=clean online
config disk c3t50060482D5303536d13s2 copy 1 len=48144 state=clean online
config disk c3t50060482D5303536d14s2 copy 1 len=48144 disabled
config disk c3t50060482D5303536d15s2 copy 1 len=48144 state=clean online
config disk c3t50060482D5303536d16s2 copy 1 len=48144 state=clean online
config disk c3t50060482D5303536d43s2 copy 1 len=48144 disabled
log disk c3t50060482D5303536d6s2 copy 1 len=7296 disabled
log disk c3t50060482D5303536d7s2 copy 1 len=7296 disabled
log disk c3t50060482D5303536d8s2 copy 1 len=7296 disabled
log disk c3t50060482D5303536d11s2 copy 1 len=7296
log disk c3t50060482D5303536d12s2 copy 1 len=7296
log disk c3t50060482D5303536d13s2 copy 1 len=7296
log disk c3t50060482D5303536d14s2 copy 1 len=7296
log disk c3t50060482D5303536d15s2 copy 1 len=7296
log disk c3t50060482D5303536d16s2 copy 1 len=7296 disabled
log disk c3t50060482D5303536d43s2 copy 1 len=7296 disabled

And then, using an unpatched copy of the OS, in single user mode, I ran this:

# vxedit -g appldg set nconfig=all appldg
# vxedit -g appldg set nlog=all appldg

and this is how it changed the output in vxdg list:

# vxdg list appldg
Group:     appldg
dgid:      1210705160.16.ssprd131
import-id: 1024.22
flags:     cds
version:   140
alignment: 8192 (bytes)
ssb:            on
autotagging:    off
detach-policy: global
dg-fail-policy: dgdisable
copies:    nconfig=all nlog=all
config:    seqno=0.1176 permlen=48144 free=48126 templen=9 loglen=7296
config disk c3t50060482D5303536d6s2 copy 1 len=48144 state=clean online
config disk c3t50060482D5303536d7s2 copy 1 len=48144 state=clean online
config disk c3t50060482D5303536d8s2 copy 1 len=48144 state=clean online
config disk c3t50060482D5303536d11s2 copy 1 len=48144 state=clean online
config disk c3t50060482D5303536d12s2 copy 1 len=48144 state=clean online
config disk c3t50060482D5303536d13s2 copy 1 len=48144 state=clean online
config disk c3t50060482D5303536d14s2 copy 1 len=48144 state=clean online
config disk c3t50060482D5303536d15s2 copy 1 len=48144 state=clean online
config disk c3t50060482D5303536d16s2 copy 1 len=48144 state=clean online
config disk c3t50060482D5303536d43s2 copy 1 len=48144 state=clean online
log disk c3t50060482D5303536d6s2 copy 1 len=7296
log disk c3t50060482D5303536d7s2 copy 1 len=7296
log disk c3t50060482D5303536d8s2 copy 1 len=7296
log disk c3t50060482D5303536d11s2 copy 1 len=7296
log disk c3t50060482D5303536d12s2 copy 1 len=7296
log disk c3t50060482D5303536d13s2 copy 1 len=7296
log disk c3t50060482D5303536d14s2 copy 1 len=7296
log disk c3t50060482D5303536d15s2 copy 1 len=7296
log disk c3t50060482D5303536d16s2 copy 1 len=7296
log disk c3t50060482D5303536d43s2 copy 1 len=7296

After that the system boots fine with the new OS patches.

I don’t know if one of those config copies is bad, or if under some newer Solaris patch more than five copies of the config are required. I really have no idea why it fixed the problem, but there it is.

This entry was posted in Veritas File System. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *