Informix Error -21530: Defragment: Defragmentation is not supported on secondary servers.
Cause and resolution
Defragment: Defragmentation is not supported on secondary servers.
ACTION Defragment on the primary server. Changes will be replicated to the secondary servers.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-21530 fires when defragmentation is attempted on an HDR/RSS secondary server — per the official guidance, defragmentation isn't supported there.
- Defragmentation attempted on a secondary server, per the official guidance — the direct, only cause.
Solutions / Resolution
- Run defragmentation on the primary server instead, per the official guidance — changes replicate to the secondary servers automatically.
Examples
N/A
No specific triggering statement is documented beyond attempting defragmentation on a secondary.
Diagnostic Checks
- Check whether the target server is a secondary, and issue the defragment command against the primary instead.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -21530 in this set yet.
Defragmentation was attempted on a secondary server — run it on the primary instead.