Copied.
Creating a Parallel File System
Parallel File System (PFS) is a high-performance semantic file system provided by OBS. It features access latency in milliseconds, TB/s-level bandwidth, and millions of IOPS. When you need to process massive amounts of data in scenarios such as big data analytics and high-performance computing, you can use OBS parallel file systems to achieve high-concurrency access.
You must create a parallel file system before you can store file data.
Ways to Create a Parallel File System
You can create a parallel file system using OBS Console, SDKs, or APIs.
Using OBS Console
- Log in to the parallel file system console.
- In the upper right corner of the page, click Create Parallel File System. Figure 1 Creating a parallel file system
- Configure parameters under General Configuration.

Table 1 Parameters under General Configuration Parameter
Description
Region
The region where the parallel file system is located
- Once a parallel file system is created, its region cannot be changed.
- For lower latency and faster access, select the region closest to your services to create your parallel file system.
- Configure parameters under Parallel File System Settings.

Table 2 Parameters under Parallel File System Settings Parameter
Description
File System Name
When creating a parallel file system, you need to set an appropriate name.
After a parallel file system is created, its name cannot be changed.
In accordance with the globally applied DNS naming rules, a parallel file system name:
- Must be globally unique. It cannot be the same as the name of any existing bucket or parallel file system (including those created by others). You must wait at least 30 minutes before you can reuse the name of a deleted bucket or parallel file system.
- Must be 3 to 63 characters long.
- Can contain only lowercase letters, digits, hyphens (-), and periods (.). It cannot start or end with a hyphen (-) or period (.).
- Cannot contain two consecutive periods (..) or contain a period (.) and a hyphen (-) adjacent to each other.
- Cannot be formatted as an IP address. NOTE:
When you use virtual-hosted-style URLs to access OBS over HTTPS, parallel file system names containing periods (.) will cause certificate verification to fail. To avoid this issue, we recommend that you do not use periods (.) in bucket names.
Data Redundancy Policy
You can choose to store data in a single AZ or multiple AZs within a region.
- Multi-AZ storage: Data in the parallel file system is stored across multiple AZs within the region. If one AZ becomes unavailable, the data remains accessible from the other AZs.
- Single-AZ storage: Data in the bucket is stored in a single AZ, which is less expensive.
For a performance comparison between multi-AZ and single-AZ storage, see Comparison of Storage Classes.
Multi-AZ storage is selected by default.
This redundancy policy setting cannot be changed after the parallel file system is created.
Block Public Access
It is used to centrally set certain levels of public access to the parallel file system. You can configure this parameter to ignore existing public access permissions or prevent new public access permissions from being created.
Enabling all settings prevents the creation of new ACLs or policies that contain public access and makes existing ones ineffective. This means that only the parallel file system owner can access the parallel file system and the files in it.
The following four settings are supported:
- Prevent the creation of ACLs that allow public access.
- Prevent the creation of policies that allow public access.
- Ignore ACLs that allow public access.
- Ignore policies that allow public access.
To block public access, your account must have the PutBucketPublicAccessBlock permission.
If your services rely on public access to parallel file systems or files, enabling Block Public Access may disrupt their normal operation. Carefully assess the impact before enabling Block Public Access.
Enabling Block Public Access will make the public read and public read/write policies unavailable.
For more information, see Block Public Access.
Policy
Controls the read and write permissions for the parallel file system.
- Private: Only users granted permissions by the file system ACL can access the file system.
- Public Read: Any user can read the files in the parallel file system. Exercise caution when selecting this option.
- Public Read/Write: Any user can read, write, and delete the files in the parallel file system. Exercise caution when selecting this option.
If your account does not have permission to create a policy, a private file system will be created even if you select Public Read or Public Read/Write. To create a public file system, your account must have the obs:bucket:PutBucketPolicy permission.
Enterprise Projects
Add the parallel file system to an enterprise project for unified management.
On the enterprise project management page, create an enterprise project. Then, create a user group, add users to the user group, and add the user group to the created enterprise project. The users then inherit the permissions granted to the user group for the parallel file systems and files in the enterprise project.
If you do not have any specific needs for enterprise project division and management, choose the default enterprise project.
- Only enterprise accounts can configure enterprise projects.
- The OBS user group must have the OBS Buckets Viewer and OBS OperateAccess permissions for the enterprise project.
- Creating the first parallel file system in a new enterprise project will take about 10 minutes.
- Configure a data redundancy policy. If you select multi-AZ storage, data will be stored in multiple AZs for a higher reliability.
Once a parallel file system is created, you cannot change the data redundancy policy, so take care when selecting a data redundancy policy.
- Configure parameters under Advanced Settings.


Table 3 Parameters under Advanced Settings Parameter
Description
Direct Reading
After direct reading is enabled, you can access Archive files (for example, to download or share a file or change a file's storage class), without having to restore them first.
Direct reading will incur retrieval costs according to the files' sizes. For details, see Data Retrievals.
For more information, see Direct Reading.
Server-Side Encryption
After server-side encryption is enabled, files uploaded to the parallel file system are encrypted, which makes the data more secure.
Configure the parameters as follows:
- Encryption Method: Select SSE-KMS to encrypt files in your parallel file system.
SSE-KMS: The encryption keys hosted on Data Encryption Workshop (DEW) are used to encrypt files in the parallel file system.
Data Encryption Workshop (DEW) APIs have traffic control limits (see DEW API Overview). After SSE-KMS is used, your service access may be affected by traffic control.
If SSE-KMS is used, you will be billed for what you use beyond the free quota given by KMS. For details, see DEW Billing Items.
- Encryption Algorithm: If you select SSE-KMS, you can specify the algorithm used to encrypt your data:
- AES256: a highly secure symmetric encryption algorithm, which uses a 256-bit key
- SM4: a symmetric block cipher algorithm that uses a 128-bit key. It is simpler than AES256 yet still considered secure.
- Encryption Key Type: If you select SSE-KMS, you can specify the key type used to encrypt your data.
- Custom: The custom key you specified is used to encrypt files uploaded to the parallel file system.
Encryption Key: If you set Encryption Key Type to Custom, you can select a custom key used to encrypt your data. If you do not have a custom key, click View KMS Keys to create one. Then, go back here and choose the created KMS key from the drop-down list.
- Shared: The key shared by another user is used to encrypt files uploaded to the parallel file system. You need to enter the shared key ID. Shared Key ID: If you set Encryption Key Type to Shared, you need to enter the shared key ID to encrypt your data. To obtain a shared key ID, see Viewing Key Details.NOTE:
A shared key from a project or a subproject can be configured here. However, if a shared key from a subproject is specified, the owner of the shared key cannot access files encrypted with that key, but the file system owner can.
- Custom: The custom key you specified is used to encrypt files uploaded to the parallel file system.
- Parallel File System Key: When SSE-KMS is selected as the encryption method, this option is enabled by default and cannot be modified.
Network Access
Optional. No setup is needed by default. For high-bandwidth access to OBS, go to the VPC Endpoint console to set it up. For details, see Configuring a VPC Endpoint for Accessing the Private IP Address of OBS.
Tag
Optional. You can add tags to categorize and manage parallel file systems.
Each tag is represented by exactly one key-value pair. For details about how to add tags, see Tags.
- Encryption Method: Select SSE-KMS to encrypt files in your parallel file system.
- (Optional) Buy storage packages. Parallel file systems use the pay-per-use billing mode by default. You can purchase a storage package in advance to get a specified quota and duration to save more. After selecting a required package, go to the Confirm page to complete the purchase.
Storage packages can also be purchased after the parallel file system is created.
- Confirm the settings at the bottom of the page and click Create Now.
- Check that the file system you just created appears in the parallel file system list on the console.
Then, you can use the parallel file system the same way you use a bucket. For details about how to use a parallel file system, see Using Parallel File Systems.
Using APIs
Use an API to create a parallel file system. For details, see the x-obs-fs-file-interface parameter in Creating a Bucket.
Helpful Links
- For details about the features supported by parallel file systems, see Parallel File System Features.
- FAQs about parallel file systems:
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot