Operating OnLine 3-55

Change Block Size of Archive Tape Device

From the Command Line
1. Use an editor to edit the file specified by
$INFORMIXDIR/etc/$TBCONFIG.
2. Change the value of TAPEDEV.
3. Change the values for the archive device block size (TAPEBLK) and
tape size (TAPESIZE) at the same time, if appropriate.
Change Block Size of Archive Tape Device
Theblock size of the archive tape device is specified as TAPEBLK in the config-
uration file. The block size is expressed in kilobytes.
You can change the value ofTAPEBLK 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 userinformix, you can change the value of TAPEBLK
from withinDB-Monitor or from the command line. If you are logged in as
root, you must use the command-line option.
Important: Anytime you change the physical characteristics of the tape device, you
mustcreate a level-0 archive. Otherwise, you might be unable to restore the complete
setof tapes. OnLine cannot switch tape devices during a restore. OnLine will expect
allarchive 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.
Verifythat the tape device specified in TAPEDEV can read the block size that
you specified. If not, you cannot restore the tape.
From DB-Monitor
1. Fromwithin DB-Monitor, select the Archive menu, Tape-Parameters
option to change the value of TAPEBLK.DB-Monitor displays the
current value.
2. Enter the new block size expressed in kilobytes in theBlock Size
field that is associated with the Tape Device field.