Skip to main content

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

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.

You have to access the nodeshell to use some of the commands listed in the following table. You can access the nodeshell by using the system node run command.
If you want to...Use this command...
Bring a tape drive onlinestorage tape online
Clear an alias name for tape drive or media changerstorage tape alias clear
Enable or disable a tape trace operation for a tape drivestorage tape trace
Modify the tape drive cartridge positionstorage tape position
Reset a tape drivestorage tape reset
Note
This command is available only at the advanced privilege level.
Set an alias name for tape drive or media changerstorage tape alias set
Take a tape drive offlinestorage tape offline
View information about all tape drives and media changersstorage 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 clusterstorage tape show-media-changer
View error information about tape drives attached to the clusterstorage tape show-errors
View all ONTAP qualified and supported tape drives attached to each node in the clusterstorage tape show-supported-status
View aliases of all tape drives and media changers attached to each node in the clusterstorage tape alias show
Reset the statistics reading of a tape drive to zerostorage stats tape zero tape_name

You must use this command at the nodeshell.

View tape drives supported by ONTAPstorage 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 patternstorage stats tape tape_name

You must use this command at the nodeshell.

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