4 troubleshooting, General, Linux shared object files – HP StoreEver Ultrium Tape Drives User Manual

Page 22: Library connection

Advertising
background image

4 Troubleshooting

General

If problems occur during HP StoreOpen Automation operation, entries may be made in the system
log (e.g. /var/log/messages on RHEL systems). Check for entries made with the service name
“ltfs”.

Both ltfs and mkltfs have command line options to report further details of the operations
undertaken, which may be of assistance when trying to troubleshoot problems.

If there is a problem with drive interaction, HP StoreOpen Automation will attempt to create a
snapshot of the drive's internal state at the time of failure. A snapshot may also be taken at unmount
time.

On Linux systems: this will be stored in the system log directory (e.g. /var/log/) and will
take the form ltfs_datestamp_timestamp_driveSerialNum.ltd.

On Mac OS X systems: the snapshots are stored in the directory ~/Library/Logs/LTFS/.

These files are not otherwise used by HP StoreOpen Automation and they may safely be removed
from the system, if they are not needed for troubleshooting.

Note that logs may not be created, and warning messages issued, in either of the following cases:

The ltfs process does not have write permissions for the log directory

Resolution: Run ltfs as root, or use the log_directory option to specify a directory for
which it does have the required permissions.

The log directory does not exist

Resolution: Create the log directory indicated, or use the log_directory option to specify
a directory which already exists.

Linux shared object files

On some systems, trying to execute the ltfs command may result in an error message of the form
libltfs.so.0: cannot open shared object file: No such file or directory

.

To resolve this, it is necessary to tell the linker/loader how to locate the required dynamic library
files. There are several ways of doing this:

Add /usr/local/lib/ to the environment variable LD_LIBRARY_PATH

Or

(As root) Add /usr/local/lib/ to the file /etc/ld.so.conf, and then execute
/sbin/ldconfig

.

Refer to the man pages for ld.so and ldconfig for further details.

Library connection

HP StoreOpen Automation requires that the tape library be powered up and all components of
the library be connected to the host computer. This can be verified using:

Linux: cat /proc/scsi/sg/device_strs

Mac OS X: Use the System Profiler tool (Applications -> Utilities) to check specific devices
connected to your HBA.

If the tape library and tape drives are not shown then check cabling, power and so forth. HP
StoreOpen Automation will not be able to operate until the library media changer device and all
tape drives associated with that library or partition are detected.

22

Troubleshooting

Advertising
This manual is related to the following products: