ASCDCODE(8)ASCDCODE(8)NAMEascdcode - print error message for ASC/ASCQ error codes
SYNOPSISascdcode [ -o vendor id [ -p product id ] ] ASC ASCQ
DESCRIPTION
The ascdcode program interprets Additional Sense Code (ASC) and Addi‐
tional Sense Code Qualifier (ASCQ) data and returns an appropriate
error message. The ascdcode program returns interpreted ASC/ASCQ data
either for the named vendor and product IDs (with the -o and -p
options), or for all libraries or devices as defined in the SCSI-3
Specifications (http://www.ncits.org) or individual vendors. For unim‐
plemented ASC/ASCQ codes, the ascdcode program will return the message
Not implemented.
OPTIONS-o vendor id
Checks to see if the vendor is an OEM and looks up the ASC/ASCQ
error codes defined original vendor for the library or device.
If the -p option is not specified, ascdcode will return vendor
specific information for the vendor id specified with this
option. The vendor id should be identical to the vendor string
reported when you run the inquire program. For a complete list
of vendor ID assignments, see the web page:
http://www.t10.org/lists/vid-alph.htm. This option is only
applicable to vendor specific ASC/ASCQ codes of value(s) greater
than 0x7f.
-p product id
Use with -o to provide a library or device type with the OEM
vendor. The product id should be identical to the library or
device string reported when you run the inquire program.
The ASC argument should be the first of the pair of ASC/ASCQ error
codes reported by the library or device. You may specify the
value as a hexadecimal number by preceding the value with 0x .
The default value is assumed to be a decimal value.
The ASCQ argument should be the latter of the pair of ASC/ASCQ
error codes reported by the library or device. You may specify
the value as a hexadecimal number by preceding the value with 0x
. The default value is assumed to be a decimal value.
FILES
/INSTALL_PATH/lgtovendors
The directory where the vendor specific files are installed.
/INSTALL_PATH/lgtovendors/OEM_MAP
The file that maps OEM vendors and their corresponding prod‐
ucts to original vendors. See the file for a description on
how to add entries for new OEM vendors and products.
SEE ALSOlibscsi(8)LIMITATIONS
The ascdcode program always uses the installed vendor specific files to
look up vendor specific error messages. Formatting convention of
ASC/ASCQ error codes and their corresponding error text in these files
are of the form:
0x[ASC], 0x[ASCQ], [error message]
NetWorker 7.3.2 Aug 23, 06 ASCDCODE(8)