Informix Error -12227: Page size mismatch.
Cause and resolution
Page size mismatch.
Page size of the partition on tape is different from the page size of the target dbspace. Tape might contain a corrupt page (or) if you are executing onload command specify the correct DBspace name using the -d argument.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-12227 fires when a restored partition's page size differs from its target dbspace's — per the official guidance.
- A corrupt page on the archive tape, per the official guidance — the first named case.
onloadrun without the correct target dbspace name, per the official guidance — the second named case.
Solutions / Resolution
- Check the tape for a corrupt page, per the official guidance.
- If running
onload, specify the correct dbspace name with the-dargument, per the official guidance.
Examples
Specifying the target dbspace with onload
$ onload -d correct_dbspace_name ...
Diagnostic Checks
- Check the archive tape for corruption, and confirm
onload's-dargument names the correct target dbspace.
Related Errors / Related Topics
- -12226 — "Cannot add dbspace." A related dbspace page-size error, about creating a larger-page dbspace rather than restoring into a mismatched one.
A restored partition's page size didn't match its target dbspace — check for tape
corruption or an incorrect onload -d target.