A fileset is an independent namespace partition within a CPFS file system, with its own inode space and management capabilities. Use filesets as isolated workspaces to enforce data policies and quotas.
Prerequisites
-
A CPFS for Lingjun file system is created. For more information, see Create a file system.
Limitations
|
Limitation |
Description |
|
File system |
Filesets are supported only in CPFS for Lingjun 2.7.0 and later. |
|
Number of filesets per file system |
Default: 500. To increase the quota (up to 3,000), submit a ticket. |
|
Number of files or directories per fileset |
10 billion |
|
Fileset |
|
|
Fileset path |
|
|
Fileset deletion |
Filesets can be deleted only from the console or by calling an API operation. Deletion does not immediately release storage space. The space is reclaimed within 24 hours. To release the storage space immediately, clear all data in the fileset before deleting it. Deleted data cannot be recovered. |
Create a fileset
-
Log on to the NAS console.
-
In the left-side navigation pane, choose File System > File System List.
-
In the upper-left corner of the page, select the resource group and region of the file system.

-
On the File System List page, click the name of the file system.
-
On the details page of the file system, click the Fileset tab.
-
On the Fileset tab, click Create Fileset.
-
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 in the file system. The path must meet the following requirements:
-
The path must start and end with a forward slash (/).
-
The path must not already exist.
-
If the path contains multiple directory levels, the parent directory must exist.
-
The fileset path cannot be renamed. The path cannot be a symbolic link.
-
The maximum path depth is 8 levels.
-
The total path length cannot exceed 990 characters.
-
The name of a single directory in the path 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. Naming rules:
-
The name must be 2 to 128 characters in length.
-
The name must start with a letter or a Chinese character. It cannot start with
http://orhttps://. -
The name can contain digits, colons (:), underscores (_), and hyphens (-).
(Optional) Deletion Protection
Enables or disables deletion protection for the fileset. When deletion protection is enabled, the fileset cannot be deleted from the console or by calling an API operation. Disable deletion protection before deleting the fileset.
-
Delete a fileset
-
Filesets can be deleted only from the console or by calling an API operation. Deletion does not immediately release storage space. The space is reclaimed within 24 hours. To release the space immediately, clear all data from the fileset before deletion. This action is irreversible.
-
If deletion protection is enabled for the fileset, you must disable it before you can delete the fileset.
-
On the Fileset tab, find the fileset that you want to delete and click Delete in the Actions column.
-
In the dialog box that appears, confirm the information about the fileset to be deleted and click Confirm Deletion.
Edit a fileset
Modify the name of a fileset or configure deletion protection.
-
On the Fileset tab, find the fileset that you want to edit and click Edit in the Actions column.
-
In the dialog box that appears, modify the fileset name or configure deletion protection.
Fileset capacity monitoring
Fileset capacity monitoring data is available only through the CloudMonitor console or CloudMonitor API operations.