Home |
Previous Page | Next Page Disk, Memory, and Process Management > Managing Disk Space > Managing Dbspaces >
You add a chunk when a dbspace, blobspace, or sbspace is becoming
full or it needs more disk space. Use onspaces or ISA to
add a chunk. For information on using ISA to add a chunk, see the ISA online
help.
Important:
The newly added chunk (and
its associated mirror, if one exists) is available immediately. If you are
adding a chunk to a mirrored storage space, you must also add a mirror chunk.
To add a chunk using onspaces
- On UNIX, you must be logged in as user informix or root to add a chunk.
On Windows, users in the Informix-Admin group can add a chunk.
- Ensure that the database server is in online, single-user, or quiescent
mode, or the cleanup phase of fast-recovery mode.
- Allocate disk space for the chunk, as described in Allocating Disk Space.
- To add a chunk, use the -a option of onspaces.
If the storage space is mirrored, you must specify the
pathname of both a primary chunk and mirror chunk.
If you specify an
incorrect pathname, offset, or size, the database server does not create the
chunk and displays an error message. Also see What to Do If You Run Out of Disk Space.
- After you
create the chunk, you must perform a level-0 backup of the root dbspace and
the dbspace, blobspace, or sbspace that contains the chunk.
The following example adds a 10-megabyte mirror chunk to blobsp3. An offset of 200 kilobytes for both the primary and mirror chunk
is specified. If you are not adding a mirror chunk, you can omit the -m option.
onspaces -a blobsp3 -p /dev/raw_dev1 -o 200 -s 10240 -m /dev/raw_dev2 200
The next example adds a 5-megabyte chunk of raw disk space, at an offset
of 5200 kilobytes, to dbspace dbspc3.
onspaces -a dbspc3 \\.\e: -o 5200 -s 5120
For reference information on adding a chunk to a dbspace with onspaces, see information on the onspaces utility
in the IBM Informix Administrator's Reference.
Adding a Chunk with ON-Monitor (UNIX)
To add a chunk to a dbspace, follow these instructions:
- Choose Add Chunk > Dbspaces option.
- Use RETURN or the arrow keys to select the blobspace or dbspace
that will receive the new chunk and press CTRL-B or F3.
- The next screen indicates whether the blobspace or dbspace is mirrored.
If it is, enter Y in the Mirror field.
- If the dbspace to which you are adding the chunk is a temporary dbspace,
enter Y in the Temp field.
- If you indicated that the dbspace or blobspace is mirrored, you must specify
both a primary chunk and mirror chunk.
Enter the complete pathname for
the new primary chunk in the Full Pathname field of
the primary-chunk section.
- Specify an offset in the Offset field.
- Enter the size of the chunk, in kilobytes, in the Size field.
- If you are mirroring this chunk, enter the complete pathname, size, and
optional offset in the mirror-chunk section of the screen.
Home |
[ Top of Page | Previous Page | Next Page | Contents |
Index ]