Forum Discussion

sunillp's avatar
sunillp
Level 3
14 years ago

Disk group has no valid configuration copies

Hi,

We have a 2 node VCS + CVM cluster. 2 nodes are writing to 2 shared disks which contains a shared dg and a volume. I copied/replicated all contents of these 2 disks to 2 remote disks. 2 remote disks are seen by a remote host which is a stand-alone host, no VCS, no CVM running on it.

When I tried to import dg on remote host I got an error:

# vxdg -C import  dboncfs

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

Running "vxprivutil dumpconfig" on the target disk prints following error and then config contents:

# /etc/vx/diag.d/vxprivutil dumpconfig /dev/rdsk/c5t000B08053E002158d0s2 | more
#Config copy 01

VxVM vxconfigdump ERROR V-5-1-624 Error (File block 7): Format error in configuration copy
#Header nblocks=192576 blksize=128 hdrsize=512
#flags=0x100 (CLEAN)

...

...

 

There is discrepancy in the config contents of primary disks and remote disks. Primary disks config copy shows that there are 2 volumes whereas remote disks config copy shows that there is just one volume. Licenses are proper. Is it because:

1. Replication did not happen properly.

2. Remote host should be a cluster node, having VCS + CVM

3. We should use different command for import

4. We should clear import flag before importing dg on remote host

Help will be appreciated. How can we recover from this error and do a clean dg import.

Thanks,

Sunil

 

 

 

  • Sunil, 1. Replication did not happen properly. -- Could be a reason, what is replication tool you are using here ? 2. Remote host should be a cluster node, having VCS + CVM -- I don't believe that, local import to a shared DG is possible 3. We should use different command for import -- Nop, this command should work 4. We should clear import flag before importing dg on remote host -- I didn't get this, how would you do that ? using vxdg -C import is right way... Can you elaborate on point 1, also let me know what is the veritas versions on primary & remote site ? # modinfo |grep -i vx (from both ends) # vxdg list (from primary site) Gaurav

2 Replies

  • Sunil, 1. Replication did not happen properly. -- Could be a reason, what is replication tool you are using here ? 2. Remote host should be a cluster node, having VCS + CVM -- I don't believe that, local import to a shared DG is possible 3. We should use different command for import -- Nop, this command should work 4. We should clear import flag before importing dg on remote host -- I didn't get this, how would you do that ? using vxdg -C import is right way... Can you elaborate on point 1, also let me know what is the veritas versions on primary & remote site ? # modinfo |grep -i vx (from both ends) # vxdg list (from primary site) Gaurav
  • Problem was we were using 5.1 on source and 5.0 on target. It got solved after upgrading target to 5.1