ONTAP 9.13.1 commands

storage tape show-media-changer

Display information about media changers

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

Description

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

  • Device ID of media changer

  • Description of media changer

  • World Wide Node Name of media changer

  • World Wide Port Name of media changer

  • Serial number of media changer

  • Media changer errors

  • Node to which the media changer is attached

  • Initiator port which hosts the media changer

  • Alias name of media changer

  • Operational state of media changer

  • Functional status of media changer

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 media changer with the specified device ID.

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

Displays detailed information about media changers on the specified node.

[-description <text>] - Description

Selects the media changers with the specified description.

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

Selects the media changer with the specified alias name.

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

Selects the media changers with the specified World Wide Node Name.

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

>Selects the media changer with the specified World Wide Port Name.

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

Selects the media changer with the specified serial number.

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

Selects the media changers 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 media changers with the specified operational state.

[-error <text>] - Media Changer Error Description

Selects the media changers with the specified error string.

[-initiator <text>] - Initiator Port

Selects the media changers with the specified initiator port.

Examples

The following example displays information about all media changers attached to the cluster:

cluster1::> storage tape show-media-changer

Media Changer: sw4:10.11L1
  Description: PX70-TL
         WWNN: 2:00a:000e11:10b919
         WWPN: 2:00b:000e11:10b919
Serial Number: 00FRU7800000_LL1
Errors: -

Paths:
Node                      Initiator  Alias    Device State              Status
------------------------  ---------  -------  ------------------------  --------
cluster1-01               2b         mc0      in-use                    normal

Media Changer: sw4:12.4L1
  Description: NEO-TL
         WWNN: 2:001:000e11:10b919
         WWPN: 2:002:000e11:10b919
Serial Number: 00FRU7800000_LL0
Errors: -
Paths:
Node                      Initiator  Alias    Device State              Status
------------------------  ---------  -------  ------------------------  --------
cluster1-01               5a         mc1      available                 normal
Top of Page