When initializing Informix Dynamic Server, it is possible to get an error that there is not enough space in root dbspace.
During Informix Server disk space initialization (oninit -iy), you receive the following error message:
oninit: Not enough room in ROOT DBspace.
Requested 15038K, ONCONFIG value 'ROOTSIZE' 1000K.
Disk space initialization use the values stored in the ONCONFIG configuration file to create the initial chunk for the root dbspace. During the disk initialization process, Informix Server creates reserve pages, chunk free list page, tablespaces, physical log, logical logs, sysmaster and sysutils database in the initial root chunk. If the value of ROOTSIZE in onconfig file is not big enough, the disk initialization process will fail.
Resolving the problem
- Increase the value of ROOTSIZE in onconfig file.
In the error message listed in the Problem section, the value of ROOTSIZE was set as 1000K in onconfig file, while the minimum requirement is 15038K. Consider adding 20000K to the suggested size to allow space for system catalog tables to be created and grow. The minimum requirement of ROOTSIZE may vary based on the default value of onconfig parameters on different IDS platform.
- Decrease the values of ONCONFIG parameters that affect the space required in the root dbspace: