Skip Headers
Oracle Hierarchical Storage Manager and QFS Software Command Reference
Section 1m: Maintenance Commands
Release 6.1.1
E70305-03

NAME

samlibcfg - Oracle HSM direct attached tape library commands

SYNOPSIS

∕opt∕SUNWsamfs∕sbin∕samlibcfg [\fB-a\] [-i wwn∕sgen∕samst path] [-e eq] [-g] [-v] [-h]

AVAILABILITY

SUNWsamfs

DESCRIPTION

The samlibcfg command detects and configures all the direct attached tape libraries. It finds the device paths for the media changers and tape drives and generates an output which is used in the mcf file. The library inventory (tape cartridge barcodes) is stored at ∕tmp∕LIBRARYfamily set.mediatype for each of the libraries and the media types available.

The environment variable TAPE_LIBS can be also set to "all" or a list of wwns and∕or sgen∕samst paths for configuration.

OPTIONS

These commands accept the following options:

-a

Displays the output with all the device paths for the media changers and the tape drives.

-i wwn∕sgen∕samst path

The -i option allows the user to list specific wwns or sgen or samst paths for configuration.

-e eq

The -e option enables to configure with a user specified starting equipment ordinal number eq. By default, the starting equipment number is 80.

-g

The -g option outputs the generic device types (rb, tp) in the configuration.

-v

This is a verbose option and displays the configuration with debug information.

-h

Displays usage and help information for the command.

EXAMPLES

Example 1. The following example outputs the direct attached libraries

server#  samlibcfg -a
∕dev∕scsi∕changer∕c5t500104F000B9A40Bd0 80 sn LIBRARY1 on
∕dev∕rmt∕0cbn 81 li LIBRARY1 on
∕dev∕rmt∕1cbn 82 li LIBRARY1 on
∕dev∕rmt∕2cbn 83 li LIBRARY1 on

Example 2. The following example specifies a wwn as a argument

server#  samlibcfg -i ∕dev∕scsi∕changer∕c5t500104F000B9A40Bd0
∕dev∕scsi∕changer∕c5t500104F000B9A40Bd0 80 sn LIBRARY1 on
∕dev∕rmt∕0cbn 81 li LIBRARY1 on
∕dev∕rmt∕1cbn 82 li LIBRARY1 on
∕dev∕rmt∕2cbn 83 li LIBRARY1 on

Example 3. The following example specifies a different starting equipment number

server#  export TAPE_LIBS="all"
server#  samlibcfg -e 10
∕dev∕scsi∕changer∕c5t500104F000B9A40Bd0 10 rb LIBRARY1 on
∕dev∕rmt∕0cbn 11 tp LIBRARY1 on
∕dev∕rmt∕1cbn 12 tp LIBRARY1 on
∕dev∕rmt∕2cbn 13 tp LIBRARY1 on

FILES

∕etc∕opt∕SUNWsamfs∕mcf

The configuration file for a StorageTek QFS or Oracle HSM file system

SEE ALSO

mcf (4).

Oracle HSM Documentation Library.