ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • storage tape show-tape-drive

    Display information about tape drives

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

    Description

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

    • Device ID of tape drive

    • Description of tape drive

    • World Wide Node Name of tape drive

    • World Wide Port Name of tape drive

    • Serial Number of tape drive

    • Tape drive errors

    • Node to which the tape drive is attached

    • Initiator port which hosts the tape drive

    • Alias name of tape drive

    • Operational state of tape drive

    • Functional status of tape drive

    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.

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

    Selects the tape drive with the specified device ID.

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

    Displays detailed information about tape drives on the specified node.

    [-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.

    [-device-if-type {unknown|fibre-channel|SAS|pSCSI}] - Device If Type

    Selects the tape drives with the specified interface type.

    [-device-state {unknown|available|ready-write-enabled|ready-write-protected|offline|in-use|error|reserved-by-another-host|normal}] - Operational State of Device

    Selects the tape drives with the specified operational state.

    [-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.

    [-resv-type {off|persistent|scsi}] - Reservation type for device

    Selects the tape drives with the specified type.

    Examples

    The following example displays information about all tape drives attached to the cluster:

    cluster1::> storage tape show-tape-drive
    Tape Drive: sw4:11.126
      Description: StorageTek T10000C
             WWNN: 5:001:04f000:b39ec8
             WWPN: 5:001:04f000:b39ec9
    Serial Number: 576004000041
    Errors: -
    
    Paths:
    Node                      Initiator  Alias    Device State              Status
    ------------------------  ---------  -------  ------------------------  --------
    cluster1-01               2a         st0      ready-write-enabled       normal
    Tape Drive: sw4:12.4
      Description: HP LTO-3
             WWNN: 2:001:000e11:10b919
             WWPN: 2:002:000e11:10b919
    Serial Number: 1068000371
    Errors: -
    
    Paths:
    Node                      Initiator  Alias    Device State              Status
    ------------------------  ---------  -------  ------------------------  --------
    cluster1-01               0b         st1      ready-write-enabled       normal
    Top of Page