Troubleshooting
Problem
After running "autoconf -a", the DEFINE PATH fails with this error: ANR8418E DEFINE PATH: An I/O error occurred while accessing library TSMXXX. ANS8001I Return code 15.
Symptom
In Tivoli Storage Manager V7.X and above, the "autoconf -a" is run to make sure that all device paths are defined to the LInux Operating System. When running "autoconf -a", the following errors are reported:
get_dev_inquiry: inquiry failed
get inquiry data failed on device /dev/sgXX
Where XX is the device path number.
Cause
The "autoconf -a", is trying to access the device on path /dev/sgXX, but the device reports an error when trying to obtain the device information such as the serial number.
Environment
Linux Operating System running Tivoli Storage Manager version 7.X
Diagnosing The Problem
- Server the following error is reported:
ANR8418E DEFINE PATH: An I/O error occurred while accessing library LIBXXX ANS8001I Return code 15.
- on the console screen:
- get_dev_inquiry: inquiry failed
get inquiry data failed on device /dev/sgXX
3. Identify the device associated with path /dev/sgXX. This can be done by running
- "cat /proc/scsi/scsi". The XX value should be the XX device entry in the output.
For example if XX represents 26, or /dev/sg26, then this will be twenty sixth
index item starting with zero, or the 27 device reported in /proc/scsi/scsi. The
26th device in this case will be the Medium Changer, and the entry will look
like this:
- "Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: HP Model: EML E-Series Rev: 1483
Type: Medium Changer ANSI SCSI revision: 05"
4. The "autoconf" creates the necessary special files for the Passthru driver, and
- these files are named mtinfo, and lbinfo. After running the "autoconf -a", run the
command "ls -l /dev/tsmscsi", and verify that lbinfo file did not get created.
Resolving The Problem
From the "cat /proc/scsi/scsi", the MEDUIM CHANGER has been idenfied, and this means that Linux was able verify the existence of this device. When running command "autoconf -a", the inquiry command is requesting the MEDUIM CHANGER to provide it's serial number, and this inquiry is failing. This is an indication that there is a problem with the device, and the device vendor hardware support should be contacted to resolve the problem.
Product Synonym
IBM Spectrum Protect
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21656624