#Volume Tags

1 messages · Page 1 of 1 (latest)

graceful violet
#

Hello everyone,
since ONTAP 9.14 it is possible to set tags per volume. However, so up to now I have found this only in the System Manager. How can I set tags on a volume via the CLI?

Best regards
Dennis

river rover
#

you mean the tags used for tiering? You can edit them via volume modify -tiering-object-tags ...

graceful violet
#

No, the tags in the system manager are different from the tiering-object-tags. See attachment 🙂

river rover
#

ah I think these are only exposed in System Manager and the REST API, not the CLI. But I can't find that written down anywhere right now

proven kayak
#

i have looked at every single ONTAP command available on 9.14 and there is no command that includes tag except these two:

diag object-store client bucket op get-object-tags
diag object-store client bucket op put-object-tags

And i am not seeing any option for "volume modify" that would make sense.

I would have to agree that it is currenty a REST-API (which is what Systm manager is bsed on) only thing.

river rover
proven kayak
#

yep

graceful violet
#

All right. Thanks for your help 🙂

proven kayak
#

it does not even looked documented in the API!

#

other than this shot

#

everywhere else "tags" is referenced has nothing to do with volume tags.

river rover
#

I wish there was a way to do a fulltext search over all smdb tables... that would show where the tags are stored (if they are stored in the DB at all, that is)