ONTAP 9.14

to Japanese version

Assign tags to volumes

Beginning with ONTAP 9.14.1, you can use ONTAP System Manager to assign tags to volumes to identify objects as belonging to a category, such as projects or cost centers.

About this task

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:

  1. In ONTAP 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.

  2. 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

    1. Click Add Tag.

    2. Specify a key and its value or values (separate multiple values with commas).

    3. Click Save.

    Edit a tag

    1. Modify the content in the Key and Values (optional) fields.

    2. Click Save.

    Delete a tag

    1. Click trash can icon next to the tag you want to delete.

Top of Page