IBM Support

onspaces returns The chunk '/dev/raw/informix_01' will not fit in the space
specified.

Troubleshooting


Problem

You run an onspaces command to create a space ( dbspace, sbspace, and so on ) or to add a chunk to an existing space but see this message: Verifying physical disk space, please wait ... The chunk '/dev/raw/informix_01' will not fit in the space specified.

Cause


onspaces is not able to create a chunk of the specified size. The device might be too small or unwritable.

Diagnosing The Problem


Make sure the device has owner/group informix.
Device permissions should be 660.
If raw device it should be character, not block.
Check available space on the device
Where available run the dd command on the device like this:

dd of=/path/to/chunk if=/dev/null bs=pagesize_of_OS

On AIX the command could look like this:

dd of=/dev/raw/informix_01 if=/dev/null bs=4096

If the number of pages in and out are less than the size you specified in onspaces the space is too small. If the number of pages in and out are 0 then there is a problem with the device, perhaps it is not mounted.

Resolving The Problem

Follow steps outlined in "Diagnosing the problem" section and correct any problems.

[{"Product":{"code":"SSGU8G","label":"Informix Servers"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF022","label":"OS X"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"11.5;11.7;12.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
16 June 2018

UID

swg21688457