ONTAP 9.13.1 commands

storage tape show-errors

Display tape drive errors

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The storage tape show-errors command displays error information about tape drives attached to the cluster. By default, this command displays the following information about all tape drives:

  • Node to which the tape drive is attached

  • Device ID of the tape drive

  • Type of device(tape drive)

  • Description of the tape drive

  • Alias name of the tape drive

  • Tape drive errors

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-node {<nodename>|local}] - Node

Displays detailed information about tape drives on the specified node.

[-device-id <text>] - Device ID

Selects the tape drive with the specified device ID.

[-device-type <text>] - Device Type

Selects the devices with the specified type of tape drive.

[-description <text>] - Description

Selects the tape drives with the specified description.

[-alias-name <text>] - Alias Name

Selects the tape drive with the specified alias name.

[-wwnn <text>] - World Wide Node Name

Selects the tape drives with the specified World Wide Node Name.

[-wwpn <text>] - World Wide Port Name

Selects the tape drive with the specified World Wide Port Name.

[-serial-number <text>] - Serial Number

Selects the tape drive with the specified serial number.

[-error <text>] - Tape Drive Error Description

Selects the tape drives with the specified error string.

[-initiator <text>] - Initiator Port

Selects the tape drives with the specified initiator port.

Examples

The following example shows error information for all tape drives attached to cluster1.

cluster1::> storage tape show-errors
         Node: node1
    Device ID: 0d.125
  Device Type: tape drive
  Description: Hewlett-Packard LTO-5
        Alias: st0
Errors: hardware error; repair or replace tape drive
Node: node1
    Device ID: 2d.0
  Device Type: tape drive
  Description: IBM LTO-6 ULT3580
        Alias: st2
Errors: -

The following example shows error information for tape drive sw4:2.126L1 attached to the node, node1.

cluster1::> storage tape show-errors -device-id sw4:2.126L1 -node node1
Node: node1
    Device ID: sw4:2.126L1
  Device Type: tape drive
  Description: Hewlett-Packard LTO-3
        Alias: st3
Errors: -
Top of Page