Hi,
I don't see anything in this configuration that is broken ?
It appears that VxVM is using its default mode to distribute configDB/log 
copies across devices in the disk group. Note, disabled does not necessary mean 
broken.
 
As for the command, it does not appear you have a object named "dg" ? The 
diskgroup is "mydg"
 
cheers
tony

  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of kaiyi wang
Sent: 07 December 2006 12:19
To: Veritas-vx@mailman.eng.auburn.edu
Subject: [Veritas-vx] How to fix write an active config db to each and 
everydisk of the disk group ?


Hi List,
 
  When I have a healthcheck of my system, I found that some config db in the 
private region is broken as the following:
 
#vxdg list mydg
 
Group:     mydg
dgid:      1117663755.1265.my-db1
import-id: 0.3301
flags:    
version:   90
detach-policy: global
copies:    nconfig=default nlog=default
config:    seqno=0.1845 permlen=7489 free=7464 templen=15 loglen=1134
config disk c3t10d0s2 copy 1 len=7489 state=clean online
config disk c3t11d0s2 copy 1 len=7489 state=clean online
config disk c3t12d0s2 copy 1 len=7489 state=clean online
config disk c3t13d0s2 copy 1 len=7489 disabled
config disk c4t10d0s2 copy 1 len=7489 state=clean online
config disk c4t11d0s2 copy 1 len=7489 state=clean online
config disk c4t12d0s2 copy 1 len=7489 disabled
config disk c4t13d0s2 copy 1 len=7489 disabled
log disk c3t10d0s2 copy 1 len=1134
log disk c3t11d0s2 copy 1 len=1134
log disk c3t12d0s2 copy 1 len=1134
log disk c3t13d0s2 copy 1 len=1134 disabled
log disk c4t10d0s2 copy 1 len=1134
log disk c4t11d0s2 copy 1 len=1134
log disk c4t12d0s2 copy 1 len=1134 disabled
log disk c4t13d0s2 copy 1 len=1134 disabled

>From the output above, it's easy to find that the config db in c3t13d0s2, 
>c4t12d0s2, c4t13d0s2 are broken. How can I recover these broken config db ???
 
I tried to do the following to fix the problem:
# vxedit -g mydg set nconfig=all db
# vxedit -g mydg set nlog=all db
# vxdg flush mydg

However, error happened when I tried to execute the first command as the 
following:
 
[EMAIL PROTECTED]> vxedit -g mydg set nconfig=all dg
vxvm:vxedit: ERROR: Failed to obtain locks:
        dg: no such object in the configuration
[EMAIL PROTECTED]> 
 
I thougt it should work! But .... :(..
 
Two questions here:
1. Whether the solution I tried could fix the problem I met?
2. why the command "vxedit -g mydg set nconfig=all dg" failed ?
How can I make it successful ?
 
 All comments will be highly appreciated, Thanks in advance!!!
 
Regards
KY
 
 

  _____  

抢注雅虎免费邮箱-3.5G容量,20M附件! <http://cn.mail.yahoo.com>  
_______________________________________________
Veritas-vx maillist  -  Veritas-vx@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx

Reply via email to