This section describes how to modify the properties of a namespace.
The Modify Namespace page is displayed.
Table 1 describes related parameters.
Parameter |
Description |
|---|---|
Automatic Update of Atime |
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 |
Atime update frequency. The value can be Hourly or Daily. |
Directory Space Display |
Display mode of the space occupied by directories or files in a namespace when the ls -l command is executed. For details, see Table 5. |
Snapshot Directory Visibility |
Whether the directory of namespace snapshots is visible. If this parameter is set to Visible, the system displays the .snapshot directory in the namespace. |
Security Style |
Security style to be selected based on service requirements, including:
NOTE:
In Mixed style (which supports NT ACLs), if you configure an NT ACL for a file or directory on a Windows client and switch Mixed to UNIX, the NT ACL in Mixed style will become invalid. |
Application Type |
The following preset application types are provided for typical applications: GENERAL and PACS.
NOTE:
|
Quotas cannot be configured for the namespace if it is an audit log namespace.
Parameter |
Description |
|---|---|
Hard Quota |
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.
NOTE:
If the used file space reaches the hard quota, the system forbids writes. If you want the system to report an alarm before writes are forbidden, set a soft quota and an advisory quota. |
Soft Quota |
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. [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 |
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. |
Hard Quota (K) |
File quantity hard quota. If the quota is reached, the system immediately forbids writes and reports an alarm. 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).
NOTE:
If the number of files reaches the hard quota, the system forbids file adding. If you want the system to report an alarm before files cannot be added, set a soft quota and an advisory quota. |
Soft Quota (K) |
File quantity 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. 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) |
File quantity advisory quota. If the quota is reached, the system reports an alarm but still allows writes. [Value range] 1 to 100,000,000 The value must be less than those of Soft Quota (K) and Hard Quota (K). |
Soft Quota Grace Period (Days) |
If the used file space or number of files reaches the soft quota, the system generates an alarm but still allows users' writing data or adding new files within this period. If this period elapses, the system immediately forbids writes and new files cannot be added. In addition, an alarm is reported. [Value range] 1 to 4,294,967,294. If this parameter is not specified, the grace period is unlimited. In this case, if the used file space or number of files reaches the soft quota, the system reports an alarm but does not restrict users' writing data or adding new files.
NOTE:
This parameter can be set only when Soft Quota or Soft Quota (K) is set. |
After the recycle bin function is enabled, temporary files generated by applications will also be moved to the recycle bin during file deletion.
Parameter |
Description |
|---|---|
Retention Period |
Duration for retaining files in the recycle bin. If you select Fixed period, you need to set a specific retention period.
NOTE:
|
Recycle Bin Directory Visibility |
Whether the recycle bin directory is visible. If this parameter is set to Visible, the system displays the .recyclebininternal directory of the namespace and its dtrees. |
Recycle Bin Operation Permission |
Select a user who can operate files in the recycle bin. root: Only user root can operate files in the recycle bin. Common user: The system creates a directory for each user based on the user name and user ID. Users have the permission to operate files in their own directories. User root has the permission to operate all users' directories. |
Both the retention period of the recycle bin and the deletion policy of the namespace take effect on the data in the recycle bin. The data is deleted when either of the two policies is met.
This function can be set only when the data pilot service is enabled for the storage pool.
If the preceding conditions are not met, node or directory hotspots may occur, causing performance deterioration. In this case, you are advised not to enable this mode.
Parameter |
Description |
|---|---|
Hot Pool Compression |
Whether to enable hot pool compression. If this function is enabled, data written to the cold, warm, and hot storage pools is compressed. If this function is disabled, only data written to the warm and cold storage pools is compressed. |
Compression Algorithm |
Compression algorithms can be Capacity-oriented or Performance-oriented.
|