

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 監控儲存效率節省
<a name="view-storage-efficiency"></a>

 啟用時，您可以在 Amazon FSx 主控台、Amazon CloudWatch 主控台和 ONTAP CLI 中查看要節省多少儲存容量。

**檢視儲存效率節省 （主控台）**

FSx for ONTAP 檔案系統在 Amazon FSx 主控台中顯示的儲存效率節省包括 FlexClones 和 SnapShots 的節省。

1. 開啟位於 https：//[https://console.aws.amazon.com/fsx/](https://console.aws.amazon.com/fsx/) 的 Amazon FSx 主控台。

1. 從檔案系統清單中選擇您要檢視儲存效率節省的 FSx for ONTAP **檔案系統**。

1. 在檔案系統詳細資訊頁面的第二個面板的**監控與效能**索引標籤中選擇**摘要**。

1. **儲存效率節省**圖表顯示您節省多少空間，以邏輯資料大小的百分比和實體位元組為單位。<a name="storage-efficient-ontap-cli"></a>

**檢視儲存效率節省 (ONTAP CLI)**

透過使用 CLI FlexClones執行 `storage aggregate show-efficiency`命令，您可以查看僅壓縮、壓縮和重複資料刪除的儲存效率節省，而不會影響快照和 ONTAP 。如需詳細資訊，請參閱 NetApp ONTAP 文件中心的[儲存彙總 show-efficiency](https://docs.netapp.com/us-en/ontap-cli-9131/storage-aggregate-show-efficiency.html)。

1. 若要存取 ONTAP CLI，請執行下列命令，在 Amazon FSx for NetApp ONTAP 檔案系統或 SVM 的管理連接埠上建立 SSH 工作階段。`management_endpoint_ip` 將 取代為檔案系統管理連接埠的 IP 地址。

   ```
   [~]$ ssh fsxadmin@management_endpoint_ip
   ```

   如需詳細資訊，請參閱[使用 CLI ONTAP 管理檔案系統](managing-resources-ontap-apps.md#fsxadmin-ontap-cli)。

1. **storage aggregate show-efficiency** 命令會顯示所有彙總之儲存效率的相關資訊。儲存效率會顯示在四個不同的層級：
   + 總計
   + Aggregate
   + 磁碟區
   + 快照和 FlexClone 磁碟區

   ```
   ::*> aggr show-efficiency
   
   Aggregate: aggr1
        Node: node1
   
   Total Data Reduction Efficiency Ratio:  3.29:1
   Total Storage Efficiency Ratio:         4.29:1
   Aggregate: aggr2
        Node: node1
   
   Total Data Reduction Efficiency Ratio:  4.50:1
   Total Storage Efficiency Ratio:         5.49:1
   
   cluster::*> aggr show-efficiency -details
   
   Aggregate: aggr1
        Node: node1
   
   Total Data Reduction Ratio:                    2.39:1
   Total Storage Efficiency Ratio:                4.29:1
   
   Aggregate level Storage Efficiency
   (Aggregate Deduplication and Data Compaction): 1.00:1
   Volume Deduplication Efficiency:               5.03:1
   Compression Efficiency:                        1.00:1
   
   Snapshot Volume Storage Efficiency:            8.81:1
   FlexClone Volume Storage Efficiency:           1.00:1
   Number of Efficiency Disabled Volumes:         1
   
   Aggregate: aggr2
        Node: node1
   Total Data Reduction Ratio:                    2.39:1
   Total Storage Efficiency Ratio:                4.29:1
   
   Aggregate level Storage Efficiency
   (Aggregate Deduplication and Data Compaction): 1.00:1
   Volume Deduplication Efficiency:               5.03:1
   Compression Efficiency:                        1.00:1
   
   Snapshot Volume Storage Efficiency:            8.81:1
   FlexClone Volume Storage Efficiency:           1.00:1
   Number of Efficiency Disabled Volumes:         1
   ```