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 IT01599 Status: Closed

ADDING STORAGE AND HITTING DISK FULL RESULTS IN A BAD SGF FILE

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
If an add storage command fails due to disk failure. This can 
result in the SGF file to become corrupt. 
 
 
$ db2 "alter database db97 add storage on 
'/home/hotel51/calvinw'" 
DB21034E  The command was processed as an SQL statement because 
it was not a 
valid Command Line Processor command.  During SQL processing it 
returned: 
SQL0968C  The file system is full.  SQLSTATE=57011 
 
$ db2 "alter database db97 add storage on 
'/home/hotel51/calvinw'" 
DB21034E  The command was processed as an SQL statement because 
it was not a 
valid Command Line Processor command.  During SQL processing it 
returned: 
SQL1224N  The database manager is not able to accept new 
requests, has 
terminated all requests in progress, or has terminated the 
specified request 
because of an error or a forced interrupt.  SQLSTATE=55032 
 
The problem is because during the first alter database, the SGF 
file is created but the disk full error prevented Db2 from 
writing to it. As a result, Db2 closed the file handle and 
returned error to the caller. During second alter database, Db2 
detected a SGF file's existence and assumed that the storage 
group table is initialized, but this was not the case. Results 
in a crash of the Db2 database.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users.                                                   * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to the latest fix pack.                              * 
****************************************************************
Local Fix:
Ensure Enough Space is available when adding storage.
available fix packs:
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Solution
First fixed in fix pack 4.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
07.05.2014
04.06.2014
04.06.2014
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.4 FixList