IBM Support

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

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error 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.
    

Local fix

  • Ensure Enough Space is available when adding storage.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All Users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to latest fix pack. Issue is resolved in fix pack    *
    * 10.                                                          *
    ****************************************************************
    

Problem conclusion

  • First fixed in fix pack 10
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC96887

  • 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-10-14

  • Closed date

    2014-12-16

  • Last modified date

    2014-12-16

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

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

    IT01599

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

  • R970 PSY

       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:
16 December 2014