Home | Previous Page | Next Page   Utility Reference > onutil: Check, Define, and Modify Storage Objects > ALTER DBSPACE >

Change Status of a Mirrored Chunk

Read syntax diagramSkip visual syntax diagramChange Status Clause:

|--(--+-OFFLINE-+--_--CHUNK--"--pathname--"--------------------->
      '-ONLINE--'

>--+----------------+-------------------------------------------|
   '-OFFSET--offset-'

Element Purpose Restrictions Syntax
offset The offset, in kilobytes, into the file or raw device to reach the chunk Value must be greater than or equal to 0. See the chapter on managing disk space in the IBM Informix: Administrator's Guide. Unsigned integer.
pathname The pathname of the chunk. The chunk must be an existing file or raw device. Use a full pathname. Pathname must conform to the operating-system-specific rules for pathnames.

Usage

Use the onutil ALTER DBSPACE command with the OFFLINE or ONLINE clause to change the status of an existing chunk. You can use the following keywords.

Keyword
Description
OFFLINE
Takes the chunk down.
ONLINE
Restores the chunk and brings it online.

Taking a Mirrored Chunk Offline

You can only change the status of a chunk in a mirrored pair. The following example shows how to use onutil ALTER DBSPACE to take a mirrored chunk offline. For more information, refer to the chapter on using mirroring in the IBM Informix: Administrator's Guide.

% onutil
1> ALTER DBSPACE rootdbs OFFLINE
2> CHUNK "/ix/mywork/mirr_chunk";
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]