Datasheet

When doing a Trace to diskette and the TRACE file is greater than 1mb the AIX diagnostic program will put the file on two
(2) or more diskettes. The file names will be TRACE1.DAT, TRACE2.DAT, etc. vs the name of the file when put directly
to disk(TRACE.rmt0) To use the two diskettes it will be necessary to concatenate the two files together into a third file.
To restore the diskette(s) repeat the following AIX command once for each diskette you created.
restore -q
If your Trace created two diskettes do the following command to concatenate the two files into a third file:
cat TRACE1.DAT TRACE2.DAT > TRACE.DAT
AIX Diagnostics Menu mode
z Run AIX diagnostics by entering the AIX command:
diag
z Select Task Selection(Diagnostics, Advanced Diagnostics, Service Aids
z Select SCSD Tape Drive Service Aid.
z Select the drive
z Commit the selection
z Select the option you desire.
z Exit diagnostics.
Command mode
It may be necessary on some systems to change the language the system is using to run the tool in the command
mode. Try the TRACE commands first and only if they fail change the language to "C".
To do this do the following AIX command:
export LANG=C
z Change to the diagnostic program directory by using the following AIX command:
cd /usr/lpp/diagnostics/bin
For a list of the command structure do the following AIX command:
./utape ?
Usage: utape -h | -d <device> -n|-t|-lceName>
utape -c -v -d <device> -n | -l | -t -f <filename> |-D
where:
z -c --- command line.
z -v --- verbose mode.
z -h --- usage statement.
z -d --- device name.
z -n --- time since last cleaned.
z -t --- trace table.
z -l --- logsense data.
z -f --- write to file.
z -D --- write to Unix diskette.
Sample Utape Usage:
To display the time since the tape drive was last cleaned
There are 2 ways to display the time since last cleaned.
z Verbose Mode
cd /usr/lpp/diagnostics/bin
./utape -vcnd rmt0
The command output is in tape motion hours(time the tape was moving)
Usage time since the drive was last cleaned: 4.13 hours.
Device rmt0 does NOT need cleaning at this time.
z Non Verbose mode:
cd /usr/lpp/diagnostics/bin
./utape -cnd rmt0
The command output is in tape motion hours(time the tape was movin
g
) since the drive was last cleaned:
Page 77 of 93Tape Help Package
5/20/2008file://C:\tem
p
\TAPEWHDR.html