home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC91182 Status: Closed

DB2RELOCATEDB CAN FAIL WITH DBT1015N WHEN CHANGING STORAGE_PATH

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem 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.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.7 Fix Pack 9.                       * 
****************************************************************
Local Fix:
Change DB_PATH and STORAGE_PATH at the same time.
available fix packs:
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
First fixed in DB2 Version 9.7 Fix Pack 9.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
28.03.2013
28.01.2014
28.01.2014
Problem solved at the following versions (IBM BugInfos)
9.7.FP9
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.9 FixList
9.7.0.9 FixList