Operating OnLine 3-103
Change the Status of a Mirrored Chunk
From DB-Monitor
1. Fromwithin DB-Monitor, select the Dbspaces menu, Status option to
change the status of a mirrored chunk.
2. Use the RETURN bar or the arrow keys to select the dbspace or
blobspacethat contains the chunk whose status you wish to change.
PressCTRL-B or F3. The chunks screen displays all chunks assigned
to the selected blobspace or dbspace.
3. Use the RETURN key or the arrow keys to select the chunk whose
status you wish to change. If you select a chunk with online status,
OnLine takes the chunk down. If you select a chunk with down
status, OnLine initiates recovery. You are asked to confirm your
decision if you choose to bring down a chunk with online status.
From the Command Line
From the command line, execute thetbspaces utility with the following
options and parameters:
The -o option and parameter are optional. Specify either the-O or the -D
option but not both. If you select the-O option for a chunk that is already
online, or if you select the -D option for a chunk that is already down, the
command executes, but no change occurs.
The following example takes down a chunk that is part of the dbspace
db_acct:
tbspaces -s db_acct -p /dev/rsd1b -o 300 -D
-sspace_name changes the status of a chunk. The -s option is followed by the
nameof the blobspace or dbspace to which the chunk belongs.
-p pathname specifies the explicit pathname of the chunk: either a raw
device or a UNIX file.
-ooffset specifies the raw device offset in kilobytes, if appropriate.
-O restoresthe specified down chunk and, after recovery, brings
the chunk online.
-D takes the specified online chunk down.