Troubleshooting
Problem
While upgrading DB2 databases using db2install or db2setup wizard it may fail with error such as : DBI1080E Disk full. Minimum space required in / is 636892 KB, whereas only 400176 KB space is available.
Symptom
The db2setup/install fails with:
**********************************************************************
DBI1190I db2setup is preparing the DB2 Setup wizard which will guide you through the program setup process. Please wait.
Disk space needed = 636892 KB Available = 400176 KB
DBI1080E Disk full. Minimum space required in / is 636892 KB, whereas only 400176 KB space is available.
Explanation:
There is not enough free space available in the file system or directory.
User response:
Free more disk space and retry the command.
**********************************************************************
Cause
By default, Installer uses root user home directory (~root) which is "/" to create and store temporary files during installation. If this space is unavailable, the install fails.
In above example, 636892KB is the minimum space required in "/", so we need to free this much space in "/" for the db2setup/install to continue and succeed.
Diagnosing The Problem
db2setup or install will fail with above mentioned error.
Resolving The Problem
Best option you have is to add more space to /.
If you cannot add space to / directory, you can override the default install path of / to any other path using DB2WORKDIR variable. It will create the /db2.tmp.$$ directory there.
If you have enough space elsewhere, then you can set the following variables :
export DB2WORKDIR=/tmp ----------------> set the dir which has space atleast 636892 KB as per example
export DB2_SKIP_TMP_CHK=TRUE
Retry the setup command. Since prerequisite check will be successful, this method will help.
After you finish the setup, please revert back to original settings for above 2 variables.
Related Information
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg22009946