Chapter 3 Statistics and Datasets
Determining the impact of a dynamic statistic
Capacity System Pool Bytes Used
Capacity: System Pool Bytes Used
Capacity System Pool Percent Used
Capacity: System Pool Percent Used
Data Movement NDMP Bytes Statistics
Data Movement: NDMP Bytes Statistics
Data Movement NDMP Operations Statistics
Data Movement: NDMP Operations Statistics
Data Movement Replication Bytes
Data Movement: Replication Bytes
Data Movement Replication Operations
Data Movement: Replication Operations
Data Movement Shadow Migration Bytes
Data Movement: Shadow Migration Bytes
Data Movement Shadow Migration Ops
Data Movement: Shadow Migration Ops
Data Movement Shadow Migration Requests
Data Movement: Shadow Migration Requests
Protocol Fibre Channel Operations
Protocol: Fibre Channel Operations
Protocol: HTTP/WebDAV Requests
Data Movement NDMP Bytes Transferred to/from Disk
Data Movement: NDMP Bytes Transferred to/from Disk
Data Movement NDMP Bytes Transferred to/from Tape
Data Movement: NDMP Bytes Transferred to/from Tape
Data Movement NDMP File System Operations
Data Movement: NDMP File System Operations
Data Movement Replication Latencies
Data Movement: Replication Latencies
Disk ZFS Logical I/O Operations
Disk: ZFS Logical I/O Operations
Memory Kernel Memory Lost to Fragmentation
Memory: Kernel Memory Lost to Fragmentation
This statistic shows the used percentage 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.
For shares, the storage capacity is the quota, if one exists, or the maximum size on a dynamic LUN. If neither of those exist, the capacity is that of the parent project. For projects, the capacity is the quota, if one exists, or the raw size of the parent pool. For data pools, the capacity is the raw pool size.
To create this capacity alert in the CLI, navigate to the analytics and datasets context. If using worksheets, navigate to analytics, the desired worksheet, and then the dataset context. For datasets, use the "create" command. For worksheets, use the "set name" command. Below, the "\" character denotes a line break.
clownfish:> analytics clownfish:analytics> datasets clownfish:analytics datasets> create cap.percentused[name]
OR
clownfish:> analytics clownfish:analytics> worksheets clownfish:analytics worksheets> select worksheet-000 clownfish:analytics worksheets worksheet-000> dataset clownfish:analytics worksheets worksheet-000 dataset \ (uncommitted)> set name="cap.percentused[name]" clownfish:analytics worksheets worksheet-000 dataset \ (uncommitted)> commit
For cap.bytesused substitute the appropriate parameter(s) for [name] according to the following table.
[pool] [pool] = every pool [pool=poolname] [project] [project] = every project [project=projectname] [pool=poolname][project=projectname] [pool=poolname][project] = every project in poolname [share] [share] = every share [share=sharename] [pool=poolname][share=sharename] [pool=poolname][share] = every share in poolname [project=projectname][share=sharename] [project=projectname][share] = every share in projectname [pool=poolname][project=projectname][share=sharename] [pool=poolname][project=projectname][share] = every share in projectname in poolname
This statistic can be used as a threshold alert for the percentage of used storage capacity. If the threshold is exceeded and the alert is triggered, you can mitigate the situation before storage becomes too full and performance is impacted.
pool - Name of the Chapter 5, Storage Configuration, in Oracle ZFS Storage Appliance Administration Guide to set the alert on.
project - Name of the Projects in Oracle ZFS Storage Appliance Administration Guide to set the alert on.
share - Name of the Shares > Shares in Oracle ZFS Storage Appliance Administration Guide to set the alert on.
See Capacity: Capacity bytes used for a threshold alert, in bytes, for the storage used capacity.