vxsnap disassociate command reports Volume vol1 is not instant ready

book

Article ID: 100006684

calendar_today

Updated On:

Description

Error Message

# vxsnap -g testdg dis SNAP-vol1
VxVM vxsnap ERROR V-5-1-7061 Volume SNAP-vol1 is not instant ready

 

Cause

Snapshot volumes created with vxassist command have DCO log version 0, associated with them. These snapshot volumes are not correctly managed by vxsnap command.

Resolution

Use vxassist command to clear the snapshot links.

# vxassist -g testdg snapclear SNAP-vol1

Applies To

Solaris / SF 5.0 with DCO version 0

Below procedure can be used to confirm DCO log version.

1. Get the DCO log name of the SNAP-vol1 volume

# vxprint -mg testdg SNAP-vol1 | grep -i dco_name
        dco_name=SNAP-vol1_dco

or from vxprint command

# vxprint -qthrg testdg SNAP-vol1
dm disk02       hds9500-alua0_82 auto 76799    4032000  -

v  SNAP-vol1    -            DISABLED ACTIVE   102400   ROUND     -        fsgen
pl vol1-02      SNAP-vol1    DISABLED ACTIVE   102400   CONCAT    -        RW
sd disk02-03    vol1-02      disk02   3891760  102400   0         hds9500-alua0_82 ENA
dc SNAP-vol1_dco SNAP-vol1   SNAP-vol1_dcl
v  SNAP-vol1_dcl -           DISABLED ACTIVE   144      ROUND     -        gen
pl vol1_dcl-02  SNAP-vol1_dcl DISABLED ACTIVE  144      CONCAT    -        RW
sd disk02-04    vol1_dcl-02  disk02   3994160  144      0         hds9500-alua0_82 ENA
sp vol1_snp     SNAP-vol1    SNAP-vol1_dco

2. Check the version of the DCO log

# vxprint -mg testdg SNAP-vol1_dco | grep -i ver
        version=0

 

Issue/Introduction

When trying vxsnap command to clear snapshot volumes which are created using vxassist command, it fails with error.