NetAppDocs / NetAppDocs/ontap-restapi-9141

Unsure as to which metrics are used in calculating SE savings

Open
#4 0 comments 0 reactions 1 assignee View on GitHub

@netapp-aherbin is already working on this.

Since Oct 27, 2024.

Dominant language
HTML
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Page URL

https://docs.netapp.com/us-en/ontap-restapi-9141/ontap/get-storage-aggregates.html

Page title

Retrieve a collection of aggregates for an entire cluster

Summary

Good morning,

I am trying to understand where the savings number in the efficiency_without_snapshots_flexclones section comes from. Specifically, this page lists savings as being calculated by "Space saved by storage efficiencies (logical_used - used)". However, there is no used number in the savings body, there is only the following:

"efficiency_without_snapshots_flexclones": {
          "savings": 18921472000,
          "ratio": 1.161089754140664,
          "logical_used": 136380661760
        }

Which used number should be used for the calculation? I have tried using the used number from the block_storage segment, but that does not seem correct as I can easily end up with negative numbers when performing the logical_used - used calculation.

Thank you!

cwaltham@amazon.com

$ curl -X GET -u ${CREDS} -k "https://${IP}/api/storage/aggregates?fields=*"
{
  "records": [
    {
      "uuid": "fe7ae5e8-9074-11ef-a1d8-017b21d99b8a",
      "name": "aggr1",
      "node": {
        "uuid": "126f5eac-9074-11ef-a1d8-017b21d99b8a",
        "name": "FsxId00c8329a2e66b5e6d-01",
        "_links": {
          "self": {
            "href": "/api/cluster/nodes/126f5eac-9074-11ef-a1d8-017b21d99b8a"
          }
        }
      },
      "home_node": {
        "uuid": "126f5eac-9074-11ef-a1d8-017b21d99b8a",
        "name": "FsxId00c8329a2e66b5e6d-01",
        "_links": {
          "self": {
            "href": "/api/cluster/nodes/126f5eac-9074-11ef-a1d8-017b21d99b8a"
          }
        }
      },
      "snapshot": {
        "files_total": 0,
        "files_used": 0,
        "max_files_available": 0,
        "max_files_used": 0
      },
      "space": {
        "block_storage": {
          "size": 925308932096,
          "available": 794753351680,
          "used": 130555580416,
          "used_percent": 14,
          "full_threshold_percent": 96,
          "physical_used": 133726285824,
          "physical_used_percent": 14,
          "data_compacted_count": 0,
          "data_compaction_space_saved": 0,
          "data_compaction_space_saved_percent": 0,
          "volume_deduplication_shared_count": 0,
          "volume_deduplication_space_saved": 0,
          "volume_deduplication_space_saved_percent": 0
        },
        "snapshot": {
          "used_percent": 0,
          "available": 48700444672,
          "total": 48700469248,
          "used": 24576,
          "reserve_percent": 5
        },
        "cloud_storage": {
          "used": 0
        },
        "efficiency": {
          "savings": 18926166016,
          "ratio": 1.161126385174986,
          "logical_used": 136387784704,
          "cross_volume_background_dedupe": false,
          "cross_volume_inline_dedupe": false,
          "cross_volume_dedupe_savings": false,
          "auto_adaptive_compression_savings": true,
          "enable_workload_informed_tsse": true,
          "wise_tsse_min_used_capacity_pct": 0
        },
        "efficiency_without_snapshots": {
          "savings": 18921472000,
          "ratio": 1.161089754140664,
          "logical_used": 136380661760
        },
        "efficiency_without_snapshots_flexclones": {
          "savings": 18921472000,
          "ratio": 1.161089754140664,
          "logical_used": 136380661760
        }
      },
      "state": "online",
      "snaplock_type": "non_snaplock",
      "create_time": "2024-10-22T12:56:11+00:00",
      "data_encryption": {
        "software_encryption_enabled": false,
        "drive_protection_enabled": false
      },
      "block_storage": {
        "uses_partitions": false,
        "storage_type": "ssd",
        "primary": {
          "disk_count": 8,
          "disk_class": "solid_state",
          "raid_type": "raid0",
          "raid_size": 4,
          "checksum_style": "advanced_zoned",
          "disk_type": "ssd"
        },
        "hybrid_cache": {
          "enabled": false
        },
        "mirror": {
          "enabled": true,
          "state": "normal"
        },
        "plexes": [
          {
            "name": "plex0",
            "_links": {
              "self": {
                "href": "/api/storage/aggregates/fe7ae5e8-9074-11ef-a1d8-017b21d99b8a/plexes/plex0"
              }
            }
          },
          {
            "name": "plex1",
            "_links": {
              "self": {
                "href": "/api/storage/aggregates/fe7ae5e8-9074-11ef-a1d8-017b21d99b8a/plexes/plex1"
              }
            }
          }
        ]
      },
      "cloud_storage": {
        "attach_eligible": false,
        "tiering_fullness_threshold": 50,
        "migrate_threshold": 10,
        "max_cloud_cache_percent": 0,
        "stores": [
          {
            "used": 0,
            "cloud_store": {
              "name": "FSxFabricpoolObjectStore",
              "uuid": "6a7e60a3-9075-11ef-a1d8-017b21d99b8a",
              "_links": {
                "self": {
                  "href": "/api/storage/aggregates/fe7ae5e8-9074-11ef-a1d8-017b21d99b8a/cloud-stores/6a7e60a3-9075-11ef-a1d8-017b21d99b8a"
                }
              }
            }
          }
        ]
      },
      "inode_attributes": {
        "files_total": 31136,
        "files_used": 96,
        "max_files_available": 31136,
        "max_files_possible": 251006112,
        "max_files_used": 96,
        "used_percent": 0
      },
      "volume_count": 2,
      "_links": {
        "self": {
          "href": "/api/storage/aggregates/fe7ae5e8-9074-11ef-a1d8-017b21d99b8a"
        }
      }
    }
  ],
  "num_records": 1,
  "_links": {
    "self": {
      "href": "/api/storage/aggregates?fields=*"
    }
  }
}
Public issues must not contain sensitive information
  • This issue contains no sensitive information.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.