tjbreset(8) CLIX tjbreset(8)
NAME
tjb_reset - Resets the tape jukebox and prints the configuration
information
SYNOPSIS
/usr/ip32/tjb/tjb_reset jb_name | -r robotic_path -d drive_path
FLAGS
-r robotic_path
Defines device path of the robotics control port for the tape
jukebox.
-d drive_path
Defines device path of the tape drive for the tape jukebox.
DESCRIPTION
The tjb_reset command resets the tape jukebox, and regenerates and prints
the configuration information.
The jukebox can be specified either by using the logical jukebox name or
by specifying the SCSI robotics and drive paths.
EXAMPLES
To reset the tape jukebox, TJB01, and print the configuration information,
key in one of the following commands:
tjb_reset TJB01
tjb_reset -r /dev/gs/s3u0 -d /dev/gs/s5u0
JB Info
jb name : "TJB01"
jb path : "/dev/gs/s3u0"
jb drives : 1
Drive Info
drive path : "/dev/gs/s5u0"
drive address : 0 EMPTY
Slot Info
slot address : 1 OCCUPIED
slot address : 2 OCCUPIED
slot address : 3 EMPTY
slot address : 4 OCCUPIED
slot address : 5 OCCUPIED
2/94 - Intergraph Corporation 1
tjbreset(8) CLIX tjbreset(8)
slot address : 6 OCCUPIED
slot address : 7 OCCUPIED
slot address : 8 OCCUPIED
slot address : 9 OCCUPIED
slot address : 10 OCCUPIED
FILES
/dev/gs/s?u? Robotics and tape device files.
/etc/TJBCFG Tape jukebox configuration file.
NOTES
The tjb_reset command requires superuser privileges. See tjb_config(8)
for a description of the tape jukebox configuration information.
CAUTIONS
The tjb commands check if the drive (/dev/rmt/mt?) is in use only at the
beginning of the command. If any tape operation is started after a tjb
command is initiated, the tjb command may eject the tape from the drive
and cause a no media in drive error for the tape operation.
DIAGNOSTICS
The following is a list of common error messages and their meanings:
No information for jukebox "MY_TJB" in configuration file
The logical name MY_TJB cannot be found in /etc/TJBCFG. The
configuration file may be missing the =, {, or } characters.
get_status: Device busy
Failed to get drive status information
If the tape drive door is closed, the file /dev/rmt/mt* is checked
to see if the drive is in use.
Cartridge in changer, attempting to place in empty slot
Cartridge placed in slot 3
The jukebox door was opened, or a SCSI bus reset has occurred while
the cartridge handler mechanism had a cartridge retrieved. The
cartridge is placed in the first empty slot found.
EXIT VALUES
The tjb_reset command exits with a value of 0 if successful. If
2 Intergraph Corporation - 2/94
tjbreset(8) CLIX tjbreset(8)
unsuccessful, it exists with a nonzero value.
RELATED INFORMATION
Commands: tjb_eject(8), tjb_exercise(8), tjb_move(8), tjb_config(8)
2/94 - Intergraph Corporation 3