A fileset is a small file system stored in a Cloud Parallel File Storage (CPFS) file system. Each fileset independently manages an inode space. Before you run a data flow task, you must specify a directory in the CPFS file system as the fileset for the data flow. In addition, the fileset can be used to export data and create a Network File System (NFS) mount target to mount CPFS file systems. A fileset provides more features than a regular directory, such as the file quantity management and data flow features.
Limits
Only CPFS 2.2.0 and later support filesets. For more information about file system versions, see File system release notes.
A maximum of 10 filesets can be created for a CPFS file system.
For CPFS V2.2.0 to V2.3.0, a fileset can contain a maximum of one million files or directories. For CPFS V2.3.1 and later, the maximum number of files or directories in a fileset is the same as the limit for the file system. For more information, see Limits.
Create a fileset
Log on to the NAS console.
In the left-side navigation pane, choose File System > File System List.
In the top navigation bar, select a region.
On the File System List page, click the name of the target file system.
On the file system details page, click Fileset.
On the Fileset tab, click Create Fileset.
In the Create Fileset dialog box, set a path and name for the fileset, and then click OK.
Parameter
Description
Fileset Path
The absolute path of the fileset in the file system.
The path must start and end with a forward slash (/).
The parent directory must be an existing directory.
The maximum depth supported by a fileset path is eight levels.
The total path length is up to 1,018 characters.
The name of a single-level directory can be a maximum of 256 characters in length.
Fileset Name
The fileset name.
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 letters, digits, colons (:), underscores (_), and hyphens (-).
(Optional) Deletion Protection
Specifies whether to enable deletion protection for the fileset. After you enable deletion protection for a fileset, you cannot delete the fileset in the console or by calling an API operation. To delete the fileset, you must disable deletion protection.
What to do next
You can view and manage created filesets in the console.
Operation | Description | Procedure |
View a fileset | You can view the fileset configurations on the Fileset page. | On the Fileset tab, find the fileset and view its configurations. |
Edit a fileset | You can change the fileset name and configure deletion protection. |
|
Delete a fileset | Important
|
|