Informix Error -12226: Cannot add dbspace.
Cause and resolution
Cannot add dbspace.
When expanded chunk capacity mode is disabled, a dbspace with page size greater than the default page size cannot be added.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-12226 fires when adding a dbspace with a larger-than-default page size while expanded chunk capacity mode is disabled — per the official guidance.
- A dbspace page size greater than the default, with expanded chunk capacity mode disabled, per the official guidance — the direct, only cause.
Solutions / Resolution
- Enable expanded chunk capacity mode, per the official guidance's implication, before adding a dbspace with a larger page size.
Examples
N/A
No specific triggering statement is documented beyond adding an oversized-page dbspace without expanded chunk capacity mode.
Diagnostic Checks
- Check whether expanded chunk capacity mode is enabled, and enable it if a larger-than-default page size is genuinely needed.
Related Errors / Related Topics
- -12227 — "Page size mismatch." A related page-size error, about a mismatch between a restored partition and its target dbspace rather than dbspace creation.
A dbspace with a larger page size couldn't be added because expanded chunk capacity mode is disabled — enable it first.