IBM 000-8697 User Manual

Page of 702
Operating OnLine
3-21
Change Block Size of Logical Log Tape Device
From the Command Line
To change the value of
LTAPEDEV
 from the command line, use an editor to
edit the file specified by $
INFORMIXDIR
/etc/$
TBCONFIG
. Change the value
of
LTAPEDEV
 (and
LTAPEBLK
 and
LTAPESIZE
, if appropriate).
Change Block Size of Logical Log Tape Device
The block size of the logical log tape device is specified as
LTAPEBLK
 in the
configuration file. The block size is expressed in kilobytes.
You can change the value of
LTAPEBLK
while OnLine is in online mode. The
change takes effect immediately.
Specify the largest block size permitted by your tape device.
If the tape device pathname is /dev/null, the block size is ignored.
If you are logged in as user informix, you can change the value of
LTAPEBLK
from within
DB-M
onitor or from the command line. If you are logged in as
root
, you must use the command-line option.
Important: Any time you change the physical characteristics of the tape device, you
must create a level-0 archive. Otherwise, you might be unable to restore the complete
set of tapes. OnLine cannot switch tape devices during a restore. OnLine expects all
logical log backup tapes to have the same block size and tape size as were specified at
the time of the most recent level-0 archive.
OnLine does not check the tape device when you specify the block size.
Verify that the tape device specified in
LTAPEDEV
can read the block size that
you specified. If not, you cannot restore the tape.
From DB-Monitor
1.
Select the Logical-Logs menu, Tape-Parameters option to change the
value of
LTAPEBLK
.
DB-M
onitor displays the current value.
2.
Enter the new block size expressed in kilobytes in the
Block Size
field that appears under the
Log Tape Device
 field.