"Error VxVM vxassist ERROR V-5-1-16668" seen when creating snapshot

book

Article ID: 100032202

calendar_today

Updated On:

Description

Error Message

# vxsnap -g datadg make snap=snap_datavol/source=datavol
VxVM vxassist ERROR V-5-1-16668 Volume snap_datavol does not have the same devsubtype as that of datavol

Cause

In SF6.0.3, when a volume is created, the default devsubtyp for the volume is "dsvm". In SF5.1SP1, when a volume is created, the default devsubtyp for the volume is "none." This may cause an error when attempting to resync, or refresh, a snap volume if the source volume is created in SF5.1SP1 and system was then upgraded to SF6.0.3.

The VxVM volume attribute "devsubtype" is used only on the AIX platform.

 

Resolution

# vxsnap -g datadg make snap=snap_datavol/source=datavol
VxVM vxassist ERROR V-5-1-16668 Volume snap_datavol does not have the same devsubtype as that of datavol

# vxprint -thg datadg

dg datadg       default      default  42000    1323538048.17.maya

dm d1           disk_2       auto     65536    35252064 -
dm d2           disk_3       auto     65536    35252064 -

v  datavol      -            ENABLED  ACTIVE   8388608  SELECT    -        fsgen
pl datavol-01   datavol      ENABLED  ACTIVE   8388608  CONCAT    -        RW
sd d1-01        datavol-01   d1       0        8388608  0         disk_2   ENA
pl datavol-02   datavol      ENABLED  ACTIVE   LOGONLY  CONCAT    -        RW
sd d1-03        datavol-02   d1       22282240 352      LOG       disk_2   ENA
dc datavol_dco  datavol      datavol_dcl
v  datavol_dcl  -            ENABLED  ACTIVE   1120     SELECT    -        gen
pl datavol_dcl-01 datavol_dcl ENABLED ACTIVE   1120     CONCAT    -        RW
sd d1-04        datavol_dcl-01 d1     8388608  1120     0         disk_2   ENA
pl datavol_dcl-02 datavol_dcl ENABLED ACTIVE   1120     CONCAT    -        RW
sd d2-04        datavol_dcl-02 d2     9700448  1120     0         disk_3   ENA

v  snap_datavol -            ENABLED  ACTIVE   8388608  SELECT    -        fsgen
pl snap_datavol-01 snap_datavol ENABLED ACTIVE 8388608  CONCAT    -        RW
sd d2-02        snap_datavol-01 d2    1310720  8388608  0         disk_3   ENA
dc snap_datavol_dco snap_datavol snap_datavol_dcl
v  snap_datavol_dcl -        ENABLED  ACTIVE   1120     SELECT    -        gen
pl snap_datavol_dcl-01 snap_datavol_dcl ENABLED ACTIVE 1120 CONCAT -       RW
sd d2-03        snap_datavol_dcl-01 d2 9699328 1120     0         disk_3   ENA

# vxprint -g datadg -m datavol | grep devsubtype
        devsubtype=none


# vxprint -g datadg -m snap_datavol | grep devsubtype
        devsubtype=dsvm


Changing the devsubtype to dsvm for the original volume and the snapshot can be created:

# vxvol -g datadg set devsubtype=dsvm datavol
# vxprint -g datadg -m datavol | grep devsubtype

        devsubtype=dsvm


The snapshot now creates.
# vxsnap -g datadg make snap=snap_datavol/source=datavol

dg datadg       default      default  42000    1323538048.17.maya

dm d1           disk_2       auto     65536    35252064 -
dm d2           disk_3       auto     65536    35252064 -

v  datavol      -            ENABLED  ACTIVE   8388608  SELECT    -        fsgen
pl datavol-01   datavol      ENABLED  ACTIVE   8388608  CONCAT    -        RW
sd d1-01        datavol-01   d1       0        8388608  0         disk_2   ENA
pl datavol-02   datavol      ENABLED  ACTIVE   LOGONLY  CONCAT    -        RW
sd d1-03        datavol-02   d1       22282240 352      LOG       disk_2   ENA
dc datavol_dco  datavol      datavol_dcl
v  datavol_dcl  -            ENABLED  ACTIVE   1120     SELECT    -        gen
pl datavol_dcl-01 datavol_dcl ENABLED ACTIVE   1120     CONCAT    -        RW
sd d1-04        datavol_dcl-01 d1     8388608  1120     0         disk_2   ENA
pl datavol_dcl-02 datavol_dcl ENABLED ACTIVE   1120     CONCAT    -        RW
sd d2-04        datavol_dcl-02 d2     9700448  1120     0         disk_3   ENA
sp snap_datavol_snp datavol  datavol_dco

v  snap_datavol -            ENABLED  ACTIVE   8388608  SELECT    -        fsgen
pl snap_datavol-01 snap_datavol ENABLED ACTIVE 8388608  CONCAT    -        RW
sd d2-02        snap_datavol-01 d2    1310720  8388608  0         disk_3   ENA
dc snap_datavol_dco snap_datavol snap_datavol_dcl
v  snap_datavol_dcl -        ENABLED  ACTIVE   1120     SELECT    -        gen
pl snap_datavol_dcl-01 snap_datavol_dcl ENABLED ACTIVE 1120 CONCAT -       RW
sd d2-03        snap_datavol_dcl-01 d2 9699328 1120     0         disk_3   ENA
sp datavol_snp  snap_datavol snap_datavol_dco

Issue/Introduction

Unable to create snapshot of volume in a diskgroup on SF 6.0, and above on AIX.

Additional Information

UMI: V-5-1-16668