IBM Support

IT23181: Disk full for mirror logpath hit after updating logging method from archive to circular

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When changing the logging method to circular logging from
    archive logging, old log files on the primary logpath are
    cleaned up before allocating new log files(S0000000.LOG -).
    However, the old log files on the mirror logpath are removed
    after new log files are allocated. It may cause the disk full
    problem when the filesystem for the mirror logpath does not have
    enough space to store twice the size of logprimary.
    
    For example:
    logfilsiz=2560 (10MB)
    logprimary=30
    
    - before changing logarchmeth1
    logpath:
    SQLLPATH.TAG
    S0000100.LOG
    S0000101.LOG
       ...
    S0000129.LOG
    
    mirrorlogpath:
    SQLLPATH.TAG
    S0000100.LOG
    S0000101.LOG
       ...
    S0000129.LOG
    
    - changed to circular logging. during activation, all logs in
    the primary logpath are deleted
    logpath:
    SQLLPATH.TAG
    
    mirrorlogpath:
    SQLLPATH.TAG
    S0000100.LOG
    S0000101.LOG
       ...
    S0000129.LOG
    
    - then new logs are being allocated ( S0000000 in primary,
    S0000000 in mirror, S0000001 in primary, ...)
    logpath:
    SQLLPATH.TAG
    S0000000.LOG
    
    mirrorlogpath:
    SQLLPATH.TAG
    S0000000.LOG
    S0000100.LOG
    S0000101.LOG
       ...
    S0000129.LOG
    
    - all new logs are allocated. At this time, 60 logs temporarily
    exist in mirror logpath
    logpath:
    SQLLPATH.TAG
    S0000000.LOG
       ...
    S0000029.LOG
    
    mirrorlogpath:
    SQLLPATH.TAG
    S0000000.LOG
       ...
    S0000029.LOG
    S0000100.LOG
    S0000101.LOG
       ...
    S0000129.LOG
    
    - then S0000000 - 29.LOG are removed from mirror logpath
    logpath:
    SQLLPATH.TAG
    S0000000.LOG
       ...
    S0000029.LOG
    
    mirrorlogpath:
    SQLLPATH.TAG
    S0000000.LOG
       ...
    S0000029.LOG
    
    
    After the database activation is complete, the number of logs in
    both paths are the same.  However, if the filesystem size for
    mirror logpath is less than 600MB in this example,  "DIA8312C
    Disk was full" occurs during db activation.
    

Local fix

  • Delete the existing old logs from mirror logpath before
    reactivating database.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users using mirrorlogpath                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 Version 11.1 fixpack 4 or later.              *
    ****************************************************************
    

Problem conclusion

  • First fixed in Db2 Version 11.1 fixpack 4
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT23181

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-11-16

  • Closed date

    2018-12-23

  • Last modified date

    2018-12-23

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

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

    IT23214

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB10 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":"11.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
23 December 2018