Secondary RVG in 'DETACHED DETACH' state after disk failure.

book

Article ID: 100020625

calendar_today

Updated On:

Description

Error Message

pl oracle_vol_01-03 - DISABLED - 524185600 CONCAT - RW
sd mirror_oracle_data_01-01 oracle_vol_01-03 mirror_oracle_data_01 0
524185600 0 sdm ENA


rv oracle_rvg 1 DISABLED FAIL secondary 1 oracle_srl_vol
rl rlk_ndc-axa-pd-db1_oracle_rvg oracle_rvg ENABLED FAIL ndc-axa-pd-db1
oracle_dg rlk_axa-dr-db1a_oracle_rvg
v oracle_vol_01 oracle_rvg DETACHED DETACH 524185600 SELECT - fsgen
pl oracle_vol_01-01 oracle_vol_01 DISABLED CLEAN 524185600 CONCAT - RW
sd oracle_data_01-01 oracle_vol_01-01 oracle_data_01 0 524185600 0 sda ENA
pl oracle_vol_01-02 oracle_vol_01 DISABLED(SPARSE) STALE LOGONLY CONCAT -
RW
sd oracle_srl_01-02 oracle_vol_01-02 oracle_srl_01 125747968 512 LOG sdi
ENA
v oracle_srl_vol oracle_rvg ENABLED ACTIVE 125747968 SELECT - SRL
pl oracle_srl_vol-01 oracle_srl_vol ENABLED ACTIVE 125747968 CONCAT - RW
sd oracle_srl_01-01 oracle_srl_vol-01 oracle_srl_01 0 125747968 0 sdi ENA

 

Resolution

1. Stop replication (On Primary)

# vradmin -g [disk group] stoprep [rvg] [Secondary Hostname]


2. On the secondary, remove the 'DETACHED DETACH' volume from the RVG.

# vradmin -g [disk group] -f delvol [rvg] [volume]


3. On the secondary, remove the DCM log from the removed volume

# vxassist -g [disk group] remove log [volume]


4. On the secondary, start thevolume

# vxvol -g [disk group] -f start [volume]


5. On the secondary, attach the detached plex

# vxplex -g [disk group] att [volume] [plex]


6. On the secondary, add the DCM log back

# vxassist -g [disk group] addlog [volume] logtype=dcm [device]


7. On the secondary, add the volume to the RVG.

# vradmin -g [disk group] addvol [rvg] [volume]


8. On the primary, start the auto resynchronization:

# vradmin -g [disk group] -a startrep [rvg] [remote_host]

 

 

Issue/Introduction

Secondary RVG in 'DETACHED DETACH' state after disk failure.