How to use storage tags (deb/2.9/UI)

2.9 3.0 3.1
DEB CLI ~ UI CLI ~ UI CLI ~ UI
SNAP CLI ~ UI CLI ~ UI CLI ~ UI

This article explains:

How to create and assign block device tags

In order to create and assign tags to a block device, the device has to be in an “available” state, with no active partitions. To create and assign tags to block devices:

  1. Go to the machine list:

  1. Select that machine that has the block-device you want to tag:

  1. Click on the “Storage” tab and focus on the block labelled “Available disks and partitions:”

  1. Click the drop-down arrow at the right end of the row containing the block device you want to tag. Choose the “Edit…” option (the wording may vary, e.g, “Edit physical…”). This will take you to an editing screen for that block device:

  1. Add tags as desired.

  2. Be sure to click on the “Save” button when you’re done.

How to remove and delete block device tags

In order to remove tags from a block device, the device has to be in an “available” state, with no active partitions. To remove and delete tags from a block devices:

  1. Go to the machine list:

  1. Select that machine that has the block-device with the tag you want to remove:

  1. Click on the “Storage” tab and focus on the block labelled “Available disks and partitions:”

  1. Click the drop-down arrow at the right end of the row containing the block device you want to tag. Choose the “Edit…” option (the wording may vary, e.g, “Edit physical…”). This will take you to an editing screen for that block device:

  1. Delete tags by clicking the “X” next to them.

  2. Be sure to click on the “Save” button when you’re done.

How to list block device and partition tags

To see block device and partition tags in the UI, you can list all storage links by using the filter tool on the machine list. Here’s how:

  1. Go to the machine list:

  1. Select the “Filters” drop-down and open the section titled “Storage tags:”

Here you will see a list of all block device and partition tags currently assigned to machines in this MAAS. If you wish to filter the machine list by a given tag, just make sure that it’s checked (and other storage tags unchecked) in the filter list.

How to view block device tags

To view all tags associated with block devices on a given machine:

  1. Go to the machine list:

  1. Select that machine that has the block device that interests you:

  1. Click on the “Storage” tab and check the page for tags:

How to view partition tags

To view all tags associated with partitions on a given machine:

  1. Go to the machine list:

  1. Select that machine that has the block device that interests you:

  1. Click on the “Storage” tab and check the page for tags:

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.