Video Screencast Help

volume in needysnc state

Created: 02 Jan 2014 • Updated: 08 Jan 2014 | 7 comments
This issue has been solved. See solution.

  there are few  volumes in RVG that are in Need sync state as shown below

  export       ossrvg       ENABLED  NEEDSYNC 83968000 SELECT    -        fsgen
pl export-01    export       ENABLED  ACTIVE   83968000 CONCAT    -        RW
sd disk2-10     export-01    disk2    316928000 83968000 0        c1t40d0  ENA
pl export-02    export       ENABLED  ACTIVE   83968000 CONCAT    -        RW
sd disk2mirr-11 export-02    disk2mirr 368128000 83968000 0       c3t40d0  ENA
pl export-03    export       ENABLED  ACTIVE   LOGONLY  CONCAT    -        RW
sd osssrldk1-14 export-03    osssrldk1 419431520 512    LOG       c1t40d1  ENA
pl export-04    export       ENABLED  ACTIVE   LOGONLY  CONCAT    -        RW
sd osssrldk1m-10 export-04   osssrldk1m 419432384 512   LOG       c3t40d1  ENA
 

how can we bring it to Active ?

Operating Systems:

Comments 7 CommentsJump to latest comment

Gaurav Sangamnerkar's picture

Did you try a "vxrecover" ? e.g

# vxrecover -g <disk group> -s

or at volume level

# vxvol -g <Disk Group> resync <vol name>

G

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

symsonu's picture

Can we run these commands as it is

or Do we need to dissociate the volume from RVG first ?

Gaurav Sangamnerkar's picture

You can run them directly, if it fails for any reason then we may need to look to disassociate them from RVG

I assume RVG is good & is in ENABLED ACTIVE state ?

G

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

symsonu's picture

yes, its enabled/active as below

atmas1o{root} # vxprint -qhtg ossdg | egrep '^rv|^rl'
rv ossrvg       1            ENABLED  ACTIVE   primary  24        oss_srl_vol  
rl to_metamorphosi_ossrvg ossrvg CONNECT FAIL  metamorphosi-ossrvg ossdg to_pallini_ossrvg

Gaurav Sangamnerkar's picture

yep, you can try directly ..

Also, you will need to fix rlink as answered in other post ... you need to detach & attach rlink which will re-trigger full sync of volumes

G

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

symsonu's picture

vxvol -g ossdg resync export
VxVM vxvol ERROR V-5-1-1317 Volume export: READ error at block 0:
        System error: Permission denied
VxVM vxvol ERROR V-5-1-1381 Volume export: synchronizing read loop failed, it should
        be stopped and restarted
VxVM vxvol INFO V-5-1-407 Attempting to cleanup after failure ...
 

Gaurav Sangamnerkar's picture

Check out this technote, you may be hitting this

http://www.symantec.com/docs/TECH32235

G

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

SOLUTION