Skip to main content

Commands for managing tape drives, media changers, and tape drive operations

Contributors

There are commands for viewing information about tape drives and media changers in a cluster, bringing a tape drive online and taking it offline, modifying the tape drive cartridge position, setting and clearing tape drive alias name, and resetting a tape drive. You can also view and reset tape drive statistics.

If you want to…​ Use this command…​

Bring a tape drive online

storage tape online

Clear an alias name for tape drive or media changer

storage tape alias clear

Enable or disable a tape trace operation for a tape drive

storage tape trace

Modify the tape drive cartridge position

storage tape position

Reset a tape drive

storage tape reset

Note

This command is available only at the advanced privilege level.

Set an alias name for tape drive or media changer

storage tape alias set

Take a tape drive offline

storage tape offline

View information about all tape drives and media changers

storage tape show

View information about tape drives attached to the cluster

  • storage tape show-tape-drive

  • system node hardware tape drive show

View information about media changers attached to the cluster

storage tape show-media-changer

View error information about tape drives attached to the cluster

storage tape show-errors

View all ONTAP qualified and supported tape drives attached to each node in the cluster

storage tape show-supported-status

View aliases of all tape drives and media changers attached to each node in the cluster

storage tape alias show

Reset the statistics reading of a tape drive to zero

storage stats tape zero tape_name

You must use this command at the nodeshell.

View tape drives supported by ONTAP

storage show tape supported [-v]

You must use this command at the nodeshell. You can use the -v option to view more details about each tape drive.

View tape device statistics to understand tape performance and check usage pattern

storage stats tape tape_name

You must use this command at the nodeshell.

For more information about these commands, see the man pages.