Creating a dbspace that uses the default page size
You can use onspaces to create a standard dbspace and a temporary dbspace.
For information about creating a dbspace with a non-default page size, see Creating a dbspace with a non-default page size.
Any newly added dbspace (and its mirror, if one exists) is available immediately. You can mirror the dbspace when you create it.
To create a standard dbspace using onspaces:
The following example shows how to create a 10-megabyte
mirrored dbspace, dbspce1, with an offset of 5000 KB for both
the primary and mirror chunks, using raw disk space on UNIX:
onspaces -c -d dbspce1 -p /dev/raw_dev1 -o 5000 -s 10240 -m /dev/raw_dev2 5000
The
following example shows how to create a 5-megabyte dbspace, dbspc3,
with an offset of 200 KB, from raw disk space (drive e:)
on Windows:
onspaces -c -d dbspc3 \\.\e: -o 200 -s 5120
For more information about creating a dbspace with onspaces, see Dbspaces and information about the onspaces utility in the IBM® Informix® Administrator's Reference.