This statistic shows the used bytes, in Gigabyte units, for storage capacity, including data, metadata, and snapshots, except for reservations. It is used as a threshold alert and cannot be displayed in a graph. Unlike other statistics, it is updated every five minutes instead of every second. Various breakdowns are available to show the pool, project, and share capacity used.
To create this capacity alert for datasets in the CLI, navigate to the analytics datasets context. Next, use the create command to set the alert.
hostname:> analytics datasets hostname:analytics datasets> create cap.bytesused[name]
If using worksheets, navigate to the analytics worksheets context, select the desired worksheet, and then navigate to the dataset context. Next, use the set name command to set the alert. Finally, commit your changes. In the sample below, the "\" character denotes a line break.
hostname:> analytics worksheets hostname:analytics worksheets> select worksheet-000 hostname:analytics worksheets worksheet-000> dataset hostname:analytics worksheets worksheet-000 dataset \ (uncommitted)> set name="cap.bytesused[name]" hostname:analytics worksheets worksheet-000 dataset \ (uncommitted)> commit
For cap.bytesused, substitute the appropriate parameters for [name] according to the following table.
When to Check Capacity Bytes Used
This statistic can be used as a threshold alert for the used storage capacity in bytes. If the threshold is exceeded and the alert is triggered, you can mitigate the situation before storage becomes too full and performance is impacted.
Capacity Bytes Used Breakdowns
Pool - Name of the pool to set the alert on.
Project - Name of the project to set the alert on.
Share - Name of the share to set the alert on.
See Capacity: Capacity Percent Used (CLI) for a threshold alert for the percentage of storage used capacity.