Modifying an existing tag

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

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