snapclear failed with "VxVM vxassist ERROR V-5-1-7046 Volume <snapshot volume> is incomplete "

book

Article ID: 100005091

calendar_today

Updated On:

Description

Error Message

VxVM vxassist ERROR V-5-1-7046 Volume  incomplete

Cause

The snapshot volume is not valid.

EG

# vxsnap -g harry_vvrdg print snapvol1
NAME    SNAPOBJECT    TYPE    PARENT    SNAPSHOT    %DIRTY    %VALID

snapvol1 source_snp  volume   source     --                   0.00           0.00     <<<<<<<<<<<<<< 0% valid !
 

Resolution

Need to specify the snapshot object name.

# vxassist -g   snapclear   

EG

v  snapvol1     -            ENABLED  ACTIVE   409600   SELECT    -        fsgen
pl snapvol1-01  snapvol1     ENABLED  ACTIVE   409600   CONCAT    -        RW
sd test-05      snapvol1-01  test     1126944  409600   0         hds9500-alua0_110 ENA
dc snapvol1_dco snapvol1     snapvol1_dcl
v  snapvol1_dcl -            ENABLED  ACTIVE   544      SELECT    -        gen
pl snapvol1_dcl-01 snapvol1_dcl ENABLED ACTIVE 544      CONCAT    -        RW
sd test-08      snapvol1_dcl-01 test  372192   544      0         hds9500-alua0_110 ENA
sp source_snp   snapvol1     snapvol1_dco
 

v  source       -            ENABLED  ACTIVE   409600   SELECT    -        fsgen
pl source-01    source       ENABLED  ACTIVE   409600   CONCAT    -        RW
sd test-01      source-01    test     717344   409600   0         hds9500-alua0_110 ENA
dc source_dco   source       source_dcl
v  source_dcl   -            ENABLED  ACTIVE   544      SELECT    -        gen
pl source_dcl-01 source_dcl  ENABLED  ACTIVE   544      CONCAT    -        RW
sd test-07      source_dcl-01 test    371648   544      0         hds9500-alua0_110 ENA
sp snapvol1_snp source       source_dco
 

# vxsnap -g print snapvol1
NAME    SNAPOBJECT    TYPE    PARENT    SNAPSHOT    %DIRTY    %VALID

snapvol1 source_snp   volume   source               --          0.00     0.00        <<<<<<<<<<<<0% valid
 

# vxassist -g harry_vvrdg snapclear snapvol1
VxVM vxassist ERROR V-5-1-7046 Volume snapvol1 is incomplete   <<<<<<<<<< failed !
 

# vxassist -g harry_vvrdg snapclear snapvol1  source_snp
                                                                                                      <<<<<<<<<< Completed  
 


Issue/Introduction

"vxassist -g <disk group> snapclear <snapshot volume>"  command failed.