"Error:V-5-1-3295 Log for <volume_name> is not active" reported for vxrlink attach command.

book

Article ID: 100062328

calendar_today

Updated On:

Description

Error Message

When running the command: vxrlink -g -a att to attach the Rlink, it gives the error below.

VxVM VVR vxrlink WARNING V-5-1-3359 Attaching rlink to non-empty rvg. Autosync will be performed.
VxVM VVR vxrlink ERROR V-5-1-3295  log for volume testvol is not active

Cause

The issue occurs when the replicator log plex related to the volume is in a DISABLED STALE state.

For example, considering a volume named testvol having two Log plexes.

Volume details:

v  testvol  nbu_rvg      ENABLED  7734296576 -      ACTIVE   -       -
pl testvol-03 testvol ENABLED 7734296576 -      ACTIVE   -       -

As seen below, the LOGONLY plex is shown as DISABLED STALE
p2 testvol-P05 testvol-L01 DISABLED STALE LOGONLY CONCAT  -        WO
s2 disk_20_giavrbasbs002-01 testvol-P05 disk_20_giavrbasbs002 1046478848 1024 LOG nutanix0_3 ENA

p2 testvol-P06 testvol-L01 DISABLED STALE LOGONLY CONCAT  -        WO
s2 disk_23_giavrbasbs002-01 testvol-P06 disk_23_giavrbasbs002 996147200 1024 LOG nutanix0_6 ENA

 

Checking the Rlink details it is reporting in DETACHED STALE state:
rv testdg_rvg   1            ENABLED  ACTIVE   primary  3         srlvol
rl rlk_192.168.x.x testdg_rvg DETACHED STALE 192.168.x.x testdg rlk_192.168.x.x

Resolution

To address this issue, remove the LOGONLY plex and add it back.

This can be done online while the filesystem is in a mounted state using the steps .

1) Check the logtype shows as DCM by using the command below:

               # vxprint -g -m | grep log_type
        log_type=DCM

2) Remove the log using the command below:

               # vxassist -g remove log   

NOTE: The above command will need to be run multiple times if there is more than one log plex. 

3) Add the log again using the command below:

              # vxassist -g addlog  logtype=dcm 

4) Finally, attach the RLink again using the command below:

             # vxrlink -g -a att

Issue/Introduction

For Veritas Volume Replicator (VVR), the Replication link (Rlink) attach fails with an error.