Descriptions of I/O codes in server messages

IBM Tivoli® Storage Manager messages can contain I/O (input/output) codes. The codes can be operation codes, completion codes, ASC and ASCQ codes.

Code descriptions are provided for I/O error messages from the Tivoli Storage Manager server for all supported operating systems.
Code
Description
OP
I/O operation that failed. These values can be displayed:
  • READ
  • WRITE
  • FSR (forward space record)
  • RSR (reverse space record)
  • FSF (forward space file)
  • RSF (reverse space file)
  • WEOF (write end of file mark)
  • OFFL (rewind and unload the tape)
  • FLUSH (flush)
  • GET_MEDIUM_INFO (get medium information)
  • LOAD_DISPLAY (load display)
  • LOCATE (locate)
  • QRYLBP (query logical block protection)
  • RDBLKID (read block ID)
  • SETLBP (set logical block protection)
  • SETMODE (set mode)
  • REW (rewind)
  • SPACEEOD (space end of data)
  • TESTREADY (test drive ready)
CC
I/O completion code. This value is returned by the device driver to the server when an error occurs. See Completion code and operation code values overview for a list of completion codes. See the IBM TotalStorage Tape Device Drivers Installation and User's Guide for information about tape library system calls and error descriptions for the library I/O control requests.
KEY
Byte 2 of the sense bytes from the error. The following lists some definitions:

0 = no additional sense bytes available
1 = recovered error
2 = not ready
3 = medium error
4 = hardware error
5 = incorrect request
6 = unit attention (for example, a SCSI bus reset)
7 = data protect
8 = blank check
9 = vendor specific
A = copy canceled
B = canceled command
C = equal compare on SEARCH DATA command
D = volume overflow
E = miscompare
F = reserved

ASC/ASCQ
Additional sense codes (ASC) and additional sense code qualifiers (ASCQ) are bytes 12 and 13 of the sense bytes. See the sense byte number along with the value for a complete description of standard ASC and ASCQ codes. The drive or library reference manual provided with the device contains tables explaining the values of the KEY, ASC, and ASCQ fields. Descriptions of standard ASC and ASCQ codes provides additional information about standard values of ASC and ASCQ codes.
Operating system error codes
When a command fails, the operating system returns an error number. To determine what the error codes mean, take the following action:
  • On AIX®, HP-UX, and Solaris, platforms, view the errno.h file in the /usr/include/sys directory. This file provides definitions for error codes.
  • On Linux platforms, view the errno-base.h and errno.h files in the /usr/include/asm-generic directory. These files provides definitions for codes.
  • On Windows platforms, contact Microsoft Support at http://support.microsoft.com/ for help with error messages.