DB2 - Problem description
Problem IT23181 | Status: Closed |
Disk full for mirror logpath hit after updating logging method from archive to circular | |
product: | |
DB2 FOR LUW / DB2FORLUW / B10 - DB2 | |
Problem 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. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users using mirrorlogpath * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Db2 Version 11.1 fixpack 4 or later. * **************************************************************** | |
Local Fix: | |
Delete the existing old logs from mirror logpath before reactivating database. | |
Solution | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : follow-up : IT23214 | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 16.11.2017 23.12.2018 23.12.2018 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |