All Products
Search
Document Center

Cloud Parallel File Storage:Fileset management

Last Updated:Aug 21, 2026

A fileset is a small file system within a file system that has its own inode space and management capabilities. You can use a fileset to apply data policies and set quotas.

Prerequisites

Limitations

Limitation

Description

File system

Filesets are supported only on CPFS for Lingjun 2.7.0 and later.

Number of filesets per file system

The default quota is 500.

To request a higher quota, up to 3,000, submit a ticket.

Number of files or directories per fileset

10 billion

Fileset

  • If a parent directory is already a fileset, its subdirectories cannot be.

  • Creating hard links or renaming across filesets is not supported.

Fileset path

  • The path must start and end with a forward slash (/).

  • The path must not already exist. The fileset path cannot be modified.

  • If the fileset path contains multiple directory levels, the parent directory must already exist.

  • The maximum path depth is 8 levels. The root directory (/) is level 0. For example, the path /workspace/dir1/ has a depth of 2.

  • The maximum total path length is 990 characters.

  • Each directory name can be up to 255 characters long and can contain uppercase and lowercase letters, digits, underscores (_), periods (.), and hyphens (-).

Fileset deletion

You can delete a fileset only from the console or by using an API. After deletion, the system gradually releases the disk space. Deleted data is unrecoverable. Proceed with caution.

Create a fileset

  1. Log on to the NAS console.

  2. In the left-side navigation pane, choose File System > File System List.

  3. In the upper-left corner of the page, select the resource group and region of the target file system.

  4. On the File System List page, click the name of the file system.

  5. On the file system details page, click the Fileset tab.

  6. On the Fileset tab, click Create Fileset.

  7. In the Create Fileset dialog box, enter the fileset path and name, and then click OK.

    Parameter

    Description

    Fileset Path

    The absolute path of the fileset within the file system. The path must meet the following requirements:

    • Starts and ends with a forward slash (/).

    • Must not already exist.

    • If the path contains multiple directory levels, the parent directory must already exist.

    • The path cannot be renamed and cannot be a symbolic link.

    • The maximum path depth is 8 levels.

    • The maximum total path length is 990 characters.

    • Each directory name can be up to 255 characters long and can contain uppercase and lowercase letters, digits, underscores (_), periods (.), and hyphens (-).

    Fileset Name

    The name of the fileset. The name must meet the following requirements:

    • The name must be 2 to 128 characters long.

    • The name must start with a letter or a Chinese character and cannot start with http:// or https://.

    • The name can contain digits, colons (:), underscores (_), and hyphens (-).

    (Optional) Deletion Protection

    Specifies whether to enable deletion protection. When enabled, the fileset cannot be deleted from the console or by using an API. You must disable this protection before you can delete the fileset.

Delete a fileset

Important
  • You can delete a fileset only from the console or by using an API. After deletion, the system gradually releases the disk space. Deleted data is unrecoverable. Proceed with caution.

  • If deletion protection is enabled, you must first disable it to delete the fileset.

  1. On the Fileset tab, find the target fileset and click Delete in the Actions column.

  2. Confirm the fileset details and click Confirm Deletion.

Edit a fileset

You can modify a fileset's name and change its deletion protection setting.

  1. On the Fileset tab, find the target fileset and click Edit in the Actions column.

  2. In the dialog box, modify the fileset name or change the deletion protection setting.

Monitor fileset capacity

You can monitor fileset capacity only in the Cloud Monitor console or by using Cloud Monitor APIs.

  • Use the Cloud Monitor console

    1. Log on to the Cloud Monitor console.

    2. In the navigation pane on the left, choose Cloud Resource Monitoring > Cloud Service Monitoring.

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

    4. On the CPFS page, select a region, find the target file system, and click Monitoring Charts in the Actions column.

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

      You can also configure an alert rule based on metrics to monitor the usage of capacity or file count quotas. When a metric reaches the threshold specified in the alert rule, Cloud Monitor automatically sends an alert notification. This helps you stay informed of abnormal monitoring data and take prompt action. For more information, see Configure a basic alert rule.

      Metric name

      Display name

      Description

      BMCPFSFsetCapacityLimit

      Allocated capacity

      The maximum storage capacity allocated to the fileset. After this quota is reached, you cannot write new data.

      BMCPFSFsetCapacityUsed

      Used capacity

      The actual storage capacity used by the fileset.

      BMCPFSFsetInodeLimit

      Allocated inode count

      The maximum number of files and directories that the fileset can contain. After this quota is reached, you cannot write new data.

      BMCPFSFsetInodeUsed

      Used inode count

      The actual number of files and directories in the fileset.

  • Use Cloud Monitor APIs

    The following table describes the request parameters for CPFS for Lingjun.

    Parameter

    Description

    Namespace

    The namespace of the cloud service. For CPFS, set this parameter to acs_nas.

    MetricName

    The metric name. Valid values:

    • BMCPFSFsetCapacityLimit

    • BMCPFSFsetCapacityUsed

    • BMCPFSFsetInodeLimit

    • BMCPFSFsetInodeUsed

    Dimensions

    A map of dimensions used to query monitoring data for a specific resource.

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

    Note

    The Dimensions parameter must be a JSON string that represents the dimension map. The dimensions must be passed in order.