3-96 IBM Informix OnLine Database Server Administrator’s Guide

Change the Maximum Number of Chunks

From the Command Line
From the command line, execute thetbspaces utility with the following
options and parameters:
All options and parameters except -o and -m are required. The following
example adds a mirrored chunk toblobsp3. An offset of 200 KB is specified.
tbspaces -a blobsp3 -p /dev/rsd0d -o 200 -s 100000
-m /dev/rsd8a 200
Change the Maximum Number of Chunks
This section provides instructions for changing the maximum number of
chunks that are permitted by OnLine. The maximum number of chunks is
specified as CHUNKS in the configuration file.
Youcan make this change while OnLine is in online mode but it will not take
effect until you reinitialize shared memory (take OnLine offline and then to
quiescent or online mode).
The maximum number of chunks that can exist might be system-specific
sinceit depends on the length of your chunk names or the maximum number
of open files per process. (Refer topage 2-93 for further information about
this limit.)
Ifyou are logged in as user informix, you can make this change from within
DB-Monitoror from the command line. If you are logged in as root, you must
use the command-line option.
-aspace_name specifies a chunk is to be added. The -a option is followed by
either a blobspace name or a dbspace name, indicating the
space to which the chunk is added.
-p pathname specifies the explicit pathname of a chunk, either a raw
device or a UNIX file.
-ooffset specifies the raw device offset in kilobytes, if appropriate.
-ssize specifies the chunk size, in kilobytes.
-m indicates chunk mirroring and is followed by both a
pathname and offset, if appropriate, for the mirror chunk.