Assign tags to volumes
Beginning with ONTAP 9.14.1, you can use System Manager to assign tags to volumes to identify objects as belonging to a category, such as projects or cost centers.
You can assign a tag to a volume. First, you need to define and add the tag. Then, you can also edit or delete the tag.
Tags can be added when you create a volume, or they can be added later.
You define a tag by specifying a key and associating a value to it using the format “key:value”. For example: “dept:engineering” or “location:san-jose”.
The following should be considered when you create tags:
-
Keys have a minimum length of one character and cannot be null. Values can be null.
-
A key can be paired with multiple values by separating the values with a comma, for example, “location:san-jose,toronto”
-
Tags can be used for multiple resources.
-
Keys must start with a lowercase letter.
-
Tags assigned to volumes will be deleted when the volume is deleted.
-
Tags are not recovered if a volume is recovered from the recovery queue.
-
Tags are retained if the volume is moved or cloned.
-
Tags assigned to storage VMs in a disaster recovery relationship are replicated on the volume on the partner site.
To manage tags, perform the following steps:
-
In System Manager, click Volumes, and then select the volume to which you want to add a tag.
The tags are listed in the Tags section.
-
Click Manage Tags to modify existing tags or add new ones.
You can add, edit, or delete the tags.
To perform this action…
Perform these steps…
Add a tag
-
Click Add Tag.
-
Specify a key and its value or values (separate multiple values with commas).
-
Click Save.
Edit a tag
-
Modify the content in the Key and Values (optional) fields.
-
Click Save.
Delete a tag
-
Click next to the tag you want to delete.
-