eeadm tape list

Lists the configuration and status of all of the tapes.

For information about the tape states, including a description of the state and next actions to take, see Tape state information.

Syntax

eeadm tape list [OPTIONS]
Optional parameter
-l, --library <library>
Specifies the name of the tape library where the tapes are managed. In a single tape library configuration, this option can be omitted.
--no-header
Suppress the header line.
Display options
--unit <prefix_type>
Outputs the capacity with the decimal unit prefix type (ex. 1 GB = 1000 MB) or the binary unit prefix type (1 GiB = 1024 MiB). The capacity is shown with decimal unit prefix if this option is not specified. The valid <prefix_type> value is either decimal or binary. This option is not available when the --json or --jsonpp options are specified.
Common options
-h, --help
Shows this help text and exit.
--json, --jsonpp
Outputs the information in JSON format. (Or use --jsonpp for pretty print.)

Output

Column Description
Tape ID The tape ID (VOLSER).
Status The status of the tape.
State The state of the tape.
Usable The usable capacity of the tape after formatting, in GB or GiB.
Used The used capacity of the tape, in GB or GiB.
Available The remaining capacity of the tape, in GB or GiB.
Reclaimable The estimated reclaimable capacity, as a percentage of the usable capacity.
Pool The name of the pool to which the tape is assigned.
Library The name of the library where the tape is located.
Location The current location of the tape in the tape library. It is set to either homeslot, drive, ieslot, or robot.
Task ID The ID of the task that is using the tape.
Note: When multiple items are listed, the items are first sorted by the Library column, and then sorted by the Tape ID.

For the fields and values in JSON format output, see the REST API section of the IBM Storage Archive Enterprise Edition.

Return codes

0 (zero)
The operation completed successfully.
Non-zero
The operation failed.

Examples

eeadm tape list
eeadm tape list -l MyLibrary1
eeadm tape list --no-header | sort -k 6,6 -d