HSM: check storage location of files#

From time to time connection issues between StrongLink and one of the tape libraries occur. If the retrieval of a file fails repeatedly in such a situation, then it is useful to be able to check whether the file is stored on a tape in the affected library. For this purpose we provide the commands slk_helpers resource_tape and slk_helpers tape_library.

Example:

# get tape on which file is stored on:
$ slk_helpers resource_tape /arch/bm0146/k204221/INDEX.txt
part 1/1: 56471 (B09363L5)
file is stored on this number of tapes: 1

# check in which library the tape is stored (based on tape id)
$ slk_helpers tape_library 56471
StorageTek-SL8500-516000300264.0

# check in which library the tape is stored (based on tape barcode)
$ slk_helpers tape_library --tape-barcode B09363L5
StorageTek-SL8500-516000300264.0

The two new libraries are named SPECTRA-PYTHON-9210006194 and SPECTRA-PYTHON-921000620E. The two old library complexes are named StorageTek-SL8500-516000300264.0 and StorageTek-SL8500-516000300251.1.