All Products
Search
Document Center

Cloud Parallel File Storage:View the capacity monitoring data of a CPFS file system

Last Updated:Oct 31, 2024

The capacity monitoring feature allows you to view the capacity usage and the number of files of a Cloud Parallel File Storage (CPFS) file system in real time. This topic describes how to view the capacity monitoring data of a CPFS file system.

Prerequisites

Note

Capacity monitoring data is generated in real time and may not be the same as the usage data recorded in your bills. For information about how to view the billing and usage details of a file system, see View your bills.

View the capacity monitoring data in the NAS console

  1. Log on to the NAS console.

  2. In the left-side navigation pane, choose Monitoring Audit > Capacity Monitoring.

  3. In the top navigation bar, select a region.

  4. On the Capacity Monitoring page, perform the following steps to view the capacity monitoring details of the CPFS file system:

    1. Select CPFS for Lingjun from the File System Type drop-down list.

    2. Select the ID of the file system from the File System ID drop-down list.

    3. Select a time range. Valid values: 1 Hour, 1 Day, 7 Day, 14 Days, Current Month, and Last Month. Alternatively, specify a custom time range. The time range cannot exceed 30 days. For information about how to view the capacity monitoring data of more than one month, see the Query the usage details of CPFS section of the "View billing and usage details" topic.

    The Capacity Monitoring page displays the Storage Space and the Number of Files charts.

    • Storage Space: shows the total storage space and data volume.

    • Number of Files: shows the maximum number of files, the number of allocated files, the number of used files, the number of files allocated by filesets, the number of files used by filesets, the number of files allocated by the root fileset, and the number of files used by the root fileset.

    Note

    In a file system, all files other than those in independently created filesets belong to the root fileset.

    For more information, see the "Metrics" section of the Overview topic.

View the capacity monitoring data in the CloudMonitor console

  1. Log on to the CloudMonitor console.

  2. In the left-side navigation pane, choose Cloud Service Monitoring > Cloud Service Monitoring.

  3. On the Cloud Service Monitoring page, enter CPFS in the search box, and then click CPFS.

  4. On the CPFS page, select a region. Find the file system that you want to manage and click Monitoring Charts in the Actions column.

  5. On the details page of the Monitoring Charts, click the File System Capacity tab to view the capacity monitoring details of the file system.

View the capacity monitoring data by calling CloudMonitor API operations

You can call CloudMonitor API operations to query the metrics of the CPFS file system. The following API operations are available:

The following table describes the request parameters.

Parameter

Description

Namespace

The namespace of the cloud service. The namespace of CPFS is acs_nas.

MetricName

The metric name. Valid values:

  • CPFSCapacity

  • CPFSCapacityUsed

  • CPFSInodeLimit

  • CPFSInodeAlloc

  • CPFSInodeUsed

Dimensions

The dimensions that specify the resources whose monitoring data you want to query. Format:

{"userId":"xxxxxx","fileSystemId":"bmcpfs-xxxxx"}

Note

Dimensions must be formatted as a JSON string in a specific order.

Related operations

  • You can configure alert rules to obtain information about exceptions at the earliest opportunity. If an exception occurs, the technical support personnel can process the exception to resume business at the earliest opportunity. For more information, see Configure a basic alert rule.

  • You can create groups to categorize multiple file systems. Then, you can manage alert rules and view monitoring data based on the groups. This reduces the management complexity and improves the monitoring efficiency. For more information, see Create an application group.