ONTAP 9.13.1 commands

storage tape alias set

Set an alias name for tape drive or media changer

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

Description

This command sets an alias name for a tape drive or media changer.

Parameters

-node {<nodename>|local} - Node

Use this parameter to specify the node to which the tape drive is attached.

-name <text> - Alias Name for Tape Drive or Media Changer

Use this parameter to specify the alias name for tape drive or media changer. For a tape drive alias name, the format is 'st' followed by one or more digits. For a media changer alias name, the format is 'mc' followed by one or more digits.

-mapping <text> - Mapping for Alias Name

Use this parameter to specify the mapping for an alias name. Use the format 'SN[<serial-number> ]'. Valid mapping for serial numbers are in the format 'SN[<serial-number> ]' where the <serial-number> is from 2 to 124 characters long and includes the following characters: 0-9, a-z, and A-Z.

Examples

The following example sets an alias name 'st3' for a tape drive with serial number SN[123456]L4 attached to the node, node1.

cluster1::storage tape alias> set  -node node1 -name st3 -mapping SN[123456]L4.

The following example sets an alias name 'mc1' for a media changer with serial number SN[65432] attached to the node, node1.

cluster1::storage tape alias> set  -node node1 -name mc1 -mapping SN[65432].
Top of Page