VxVM VVR vxrlink ERROR V-5-1-3378 Cannot attach while in pass-thru mode because SRL is unusable

book

Article ID: 100026026

calendar_today

Updated On:

Description

Error Message

You can find the below errors, If RLINK is in DETACHED STALE state. 

INFO V-5-1-3539:VxVM VVR vxrlink INFO V-5-1-3539 Rlink rlk_192.168.16.18_usr1_rvg is not currently attached (STALE) 

If you try to detach and attach the RLINK you will get the below error as the RVG is in PASSTHRU mode.
 
VxVM VVR vxrlink ERROR V-5-1-3378 Cannot attach while in pass-thru mode because SRL is unusable
 
Below are the error recorded in the system logs.
 
vxio: [ID 183552 kern.warning] WARNING: VxVM VVR vxio V-5-0-1076 inconsistent update ids
vxio: [ID 912581 kern.warning] WARNING: VxVM VVR vxio V-5-0-287 rvg usr1_rvg, SRL log_usr1: Inconsistent log - detaching all rlinks
 
Error Details : SRL contains corrupt data, and so is not usable. All rlinks are detached and marked STALE. All secondaries will require a complete resynchronization.
 
You can find the below state of the RLINK in vxprint -ht output.
 
rv test_rvg     1            ENABLED  ACTIVE   primary  1         log_test
rl rlk_192.168.0.11_test_rvg test_rvg DETACHED STALE 192.168.16.18 testdgdr rlk_192.168.12.11_test_rvg

Cause

In this scenario, all secondaries will require a complete resynchronization.

Resolution

 Follow the below commands

1. Dissociate the SRL from the RVG.

# vxvol -g hrdg dis hr_srl

2. Fix or replace the SRL volume. 
 
3. Make sure that the repaired SRL is started before associating it with the RVG.
 
If the repaired SRL is not started, start it:
# vxvol -g hrdg start hr_srl
 
4. Associate a new SRL with the RVG. After associating the new SRL, the RVG
 
PASSTHRU mode no longer displays in the output of the command vxprint -lV.
# vxvol -g hrdg aslog hr_rvg hr_srl
 
5. Completely synchronize the Secondary.
#vradmin -g disk_group -a startrep rvg_name
 

 

Issue/Introduction

 If there is an error accessing the Primary SRL, the SRL is dissociated and the RLINKs are detached. The state of the Primary and Secondary RLINKs is changed to STALE. The RVG state does not change, but the RVG is put into PASSTHRU mode that allows update of the Primary volume to continue until the error is fixed. The SRL must be repaired manually and then associated with the RVG. While the SRL is being repaired, no attempt is made to send data to the RLINKs. After the SRL is replaced, all RLINKs must be completely synchronized. Attach the RLINKs and perform a complete synchronization of the Secondaries.