Assign a new tag during volume creation


You can create a new object tag when you want to assign one or more tags to new objects that are tiered from a new volume you create.

About this task
  • A maximum of 4 tags per volume is allowed

  • Each object tag must be a key-value pair separated by an equal sign ("")

  • Multiple tags must be separated by a comma ("")

  • Each tag value can contain a maximum of 127 characters

  • Each tag key must start with either an alphabetic character or an underscore.

    Keys must contain only alphanumeric characters and underscores, and the maximum number of characters allowed is 127.

  1. Use the volume create command with the -tiering-object-tags option to create a new volume with the specified tags. You can specify multiple tags in comma-separated pairs:

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

    The following example creates a volume named fp_volume1 with three object tags.

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