IBM Support

IC91182: DB2RELOCATEDB CAN FAIL WITH DBT1015N WHEN CHANGING STORAGE_PATH

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When db2relocatedb is issued to change the DB_PATH without
    changing STORAGE_PATH, it succeeds with no error. However,
    subsequent db2relocatedb command to change STORAGE_PATH fails
    with DBT1015N.
    
    Here is the repro steps:
    $ db2 create db p36705 on $PWD/src
    $ db2 terminate ; db2stop
    $ cat rel.cfg
    INSTANCE=v95fp5
    DB_NAME=P36705
    DB_PATH=/dbpath/36705/src,/dbpath/36705/des
    $ cp -pr src des
    $ db2relocatedb -f rel.cfg
    Files and control structures were changed successfully.
    Database was catalogued successfully.
    DBT1000I  The tool completed successfully.
    
    $ db2 terminate ; db2start
    $ db2 connect to p36705
    $ db2 list tablespaces
     ...
     Tablespace ID                        = 1
     Name                                 = TEMPSPACE1
     Type                                 = System managed space
     Contents                             = System Temporary data
     State                                = 0x4000              <<<
    tablespace is offline
       Detailed explanation:
         Offline
     ...
    $ db2 terminate ; db2stop
    $ cat rel2.cfg
    INSTANCE=v95fp5
    DB_NAME=P36705
    DB_PATH=/dbpath/36705/des
    STORAGE_PATH=/dbpath/36705/src,/dbpath/36705/des
    $ db2relocatedb -f rel2.cfg
    DBT1015N  Unable to allocate memory.
    

Local fix

  • Change DB_PATH and STORAGE_PATH at the same time.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.7 Fix Pack 9.                       *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 Version 9.7 Fix Pack 9.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC91182

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-03-28

  • Closed date

    2014-01-28

  • Last modified date

    2014-01-28

  • APAR is sysrouted FROM one or more of the following:

    IC91101

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
28 January 2014