This section describes how to create a namespace for data storage.
The Create Namespace page is displayed.
Table 1 describes related parameters.
Parameter |
Description |
|---|---|
Name |
Indicates the name of the namespace.
NOTE:
The naming rules of a namespace are as follows:
To enable the object service for a namespace, the namespace name must meet the following rules. Otherwise, the bucket cannot be accessed in virtual hosting mode, and the domain name resolution will fail. In this case, the bucket can be accessed only in path mode.
|
Storage Pool |
Indicates the storage pool to which the namespace belongs. |
Redundancy Ratio |
The redundancy ratio of the new namespace must be the same as that of the owning storage pool. |
Automatic Update of Atime |
Indicates whether to enable the function of automatically updating the Atime. Atime indicates the time when the namespace is accessed. After this function is enabled, the system updates the Atime based on the value of Update Frequency.
NOTE:
Enabling Automatic Update of Atime compromises system performance. |
Update Frequency |
Indicates the Atime update frequency. The value can be Hourly or Daily. |
Snapshot Directory Visibility |
Indicates whether the directory of namespace snapshots is visible. If this parameter is set to Visible, the system displays the .snapshot directory in the namespace. |
Data Encryption |
Indicates whether to enable the data encryption function. After this function is enabled, the system generates a key to encrypt the data written to the namespace.
NOTE:
|
Automatic Update of Atime, Update Frequency, Snapshot Directory Visibility, and Data Encryption are displayed only after you select Advanced in the upper right corner. Automatic Update of Atime and Data Encryption are disabled by default. Snapshot Directory Visibility is set to Invisible by default.
Parameter |
Description |
|
|---|---|---|
Space Quota |
Hard Quota |
Indicates the space hard quota. If the quota is reached, the system immediately forbids writes and reports an alarm. [Value range] 1 KB to 256 PB The value must be greater than those of Soft Quota and Advisory Quota. |
Soft Quota |
Indicates the space soft quota. If the quota is reached, the system reports an alarm but still allows writes. If the soft quota grace period elapses or hard quota is reached, the system immediately forbids writes and reports an alarm. [Value range] 1 KB to 256 PB The value must be greater than that of Advisory Quota and less than that of Hard Quota. |
|
Advisory Quota |
Indicates the space advisory quota. If the quota is reached, the system reports an alarm but still allows writes. [Value range] 1 KB to 256 PB The value must be less than those of Soft Quota and Hard Quota. |
|
File Quantity Quota |
Hard Quota (K) |
Indicates the file quantity hard quota. If the quota is reached, the system reports an alarm and new files cannot be added. However, operations on existing files are not affected. The unit is thousands. [Value range] 1 to 100,000,000 The value must be greater than those of Soft Quota (K) and Advisory Quota (K). |
Soft Quota (K) |
Indicates the file quantity soft quota. If the quota is reached, the system reports an alarm but new files can still be added. If the soft quota grace period elapses or hard quota is reached, new files cannot be added and an alarm is reported. The unit is thousands. [Value range] 1 to 100,000,000 The value must be greater than that of Advisory Quota (K) and less than that of Hard Quota (K). |
|
Advisory Quota (K) |
Indicates the file quantity advisory quota. If the quota is reached, the system reports an alarm but new files can still be added. [Value range] 1 to 100,000,000 The value must be less than those of Soft Quota (K) and Hard Quota (K). |
|
Grace Period |
Soft Quota Grace Period (Days) |
If the used file space or number of files reaches the soft quota, the system reports an alarm but still allows writes or new files can still be added within this period. If this period elapses, the system immediately forbids writes and new files cannot be added. In addition, an alarm is reported.
NOTE:
This parameter is available only when Soft Quota or Soft Quota (K) is set. |
You can click Create to create a QoS policy.
This step is required only when the file service is enabled for the storage pool.
The Configure NFS Share page is displayed.
This step is required only when the file service is enabled for the storage pool.
The Configure CIFS Share page is displayed.
This step can be performed only when the HDFS service is enabled for a storage pool.
The Associate Zone page is displayed on the right.
This step can be performed only when the object service is enabled for a storage pool.
The owner of the bucket (the account that creates the bucket) has full control of the bucket. Other users cannot access the bucket without authorization.
All users can read objects in the bucket, and only the bucket owner (the account that creates the bucket) has the write permission.
All users can read, write, or delete objects in the bucket.
For data security, you are advised to select Private.
This step can be performed only after a standard license is imported to the system and the data pilot service is enabled for the storage pool.
This step can be performed only after a standard license is imported to the system and the data pilot service is enabled for the storage pool.