6 troubleshooting, General, Shared libraries – HP StoreEver Ultrium Tape Drives User Manual

Page 16: Drive connection, General shared libraries drive connection

Advertising
background image

6 Troubleshooting

General

If problems occur during HP LTFS operation, entries may be made in the system log (such as
/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 help when trying to troubleshoot problems.

If there is a problem with drive interaction, HP LTFS 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 (such as /var/log/) and
will take the form ltfs_datestamp_timestamp_driveSerialNum.ltd.

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

These files are not otherwise used by HP LTFS and you can safely be remove them 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.

Shared libraries

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.

Similar error messages may occur if one or more required shared libraries are not present on the
system, or are present but at the wrong revision. Refer to the Release Notes for the particular
dependencies of the HP LTFS release.

Drive connection

The HP LTFS application requires that the LTO-5 or LTO-6 tape drive is powered up and connected
to the system. 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 SAS controller.

If the LTO drive is not shown, check the cabling, power, and so on. HP LTFS will not be able to
operate until the drive is detected.

16

Troubleshooting

Advertising
This manual is related to the following products: