Create an sbspace

An sbspace must exist before you can create a virtual index in it.

Before you can test the ability of the access method to create an index that does not yet exist, you must run the onspaces utility to create a smart-large-object storage space. The onspaces command associates a logical name with a physical area of a specified size in a database server partition.

The following onspaces command creates an sbspace named vspace1 for UNIX™:
onspaces -c -S vspace1 -g 2 -p /home/informix/chunk2 
   -o 0 -s 20000
The following onspaces command creates an sbspace named vspace1 for Windows™:
onspaces -c -S vspace1 -g 2 -p \home\informix\chunk2 
   -o 0 -s 20000