Skip to main content

Modify an existing tag

Contributors netapp-lenida

You can change the name of a tag, replace tags on existing objects in the object store, or add a different tag to new objects that you plan to add later.

About this task

Using the volume modify command with the -tiering-object-tags option replaces existing tags with the new value you provide.

Procedure

System Manager
  1. Navigate to Storage > Tiers.

  2. Locate a storage tier with volumes containing tags you want to modify.

  3. Click the Volumes tab.

  4. Locate the volume with tags you want to modify, and in the Object Tags column click the tag name.

  5. Modify the tag.

  6. Click Apply.

CLI
  1. Use the volume modify command with the -tiering-object-tags option to modify an existing tag.

    volume modify [ -vserver <vserver name> ] -volume <volume_name> -tiering-object-tags <key1=value1> [ ,<key2=value2>,
    <key3=value3>,<key4=value4> ]

    The following example changes the name of the existing tag type=abc to type=xyz.

    vol create -volume fp_volume1 -vserver vs0 -tiering-object-tags project=fabricpool,type=xyz,content=data