Informix Error -1797: The root dbspace is not large enough for the specified configuration. The actual size is sizenum, and the required size is sizenum.
Cause and resolution
The root dbspace is not large enough for the specified configuration. The actual size is sizenum, and the required size is sizenum.
The root dbspace will not fit on the specified drive. Free the amount of space that is needed on the specified drive, or change the ROOTPATH configuration parameter to specify a different drive with more space available. Then restart the database server with the -iy parameters to initialize the root dbspace.
Warning: Starting the database server with the parameters -iy reinitializes the root dbspace and effectively destroys any existing data. You will no longer be able to access existing databases unless you subsequently perform a full-system restore. Do not reinitialize the root dbspace unless you are certain that you want to do so.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1797 fires when the root dbspace won't fit on the drive specified by ROOTPATH — per the
official guidance, this is a straightforward capacity shortfall on that specific drive.
- Insufficient free space on the drive named by
ROOTPATH, per the official guidance — the direct, only cause.
Solutions / Resolution
- Free the amount of space needed on the specified drive, per the official guidance.
- Or change
ROOTPATHto specify a different drive with more space available, per the official guidance. - Restart the database server using
-iy, per the official guidance, after resolving the space shortfall (fixing this is a startup-time / initialization-time condition).
Examples
Checking drive space and ROOTPATH
$ grep ROOTPATH "$ONCONFIG"
$ df -h /path/to/rootpath/drive
Diagnostic Checks
- Check available free space on the drive named by
ROOTPATH, against the configured root dbspace size.
Related Errors / Related Topics
- -1786 — "The command line option specified in the Control Panel/Services/Startup dialog
was -i." A related root-dbspace-initialization error, about the
-i/-iyrestart mechanism this error's own fix relies on. - -1794 — "The primary chunk chunkname containing the root dbspace is invalid." A related root-dbspace error, about chunk validity rather than drive capacity.
The root dbspace doesn't fit on the ROOTPATH drive — free space there, or point ROOTPATH at
a drive with more room, then restart with -iy.