Creating a Dtree

A dtree is a subdirectory of a namespace. You can set quotas and shares for a dtree and manage file space usage and access permissions of the dtree.

Prerequisites

A namespace has been created.

Procedure

  1. Choose Resources > Resources > Dtree.
  2. Select the desired account from the Account drop-down list in the upper left corner.
  3. Click Create.

    The Create Dtree page is displayed on the right.

  4. Set dtree parameters.

    Table 1 describes the related parameters.

    Table 1 Dtree parameters

    Parameter

    Description

    Name

    Indicates the name of the dtree.

    [Value range]

    You can enter multiple dtree names separated by semicolons (;) or carriage returns.

    A dtree name:

    • The name must be unique.
    • Can contain only digits, letters, periods (.), hyphens (-), and underscores (_).
    • Contains 1 to 255 characters.
    • Cannot only contain one or two consecutive periods (. or ..).

    Owning Namespace

    Indicates the namespace to which the dtree belongs.

    Path

    Click Browse. On the Browse Directory page that is displayed, select a directory for the dtree.

    NOTE:
    • Click Create to create a directory.
    • Click Modify in the row where the directory is located. On the Modify Directory page that is displayed, modify the access permissions of the directory.
    • You can create a multi-level directory. Click in the row of a directory to go to the directory and create a sub-directory for it, or click to return to the upper-level directory.
    • Click to refresh the directory information.
    • Enter a directory name and click to search for the required directory information.

    Security Style

    Select a security style based on service requirements. Possible options are:

    • Mixed: applies to the scenario where users of CIFS clients (using SMB) and UNIX clients (using NFS/HDFS/DPC) can access and control dtrees. In this mode, the permissions are subject to the last permissions set for CIFS clients or UNIX clients. CIFS permissions (NT ACL) and UNIX permissions (UNIX Mode/POSIX ACL/NFSv4 ACL) do not coexist.
    • UNIX: applies to the scenario where UNIX mode bits, POSIX ACLs, or NFSv4 ACLs control user permissions.
    NOTE:

    In Mixed mode (which supports NT ACLs), if you have configured an NT ACL for a file or directory on a Windows client and switched Mixed to UNIX, the NT ACL in Mixed mode will become invalid.

  5. Click Advanced and set the WORM attribute of a dtree. That is, data is written once and read multiple times. You can set a protection period for a file. During the protection period, the file can be read but cannot be modified or deleted. After the protection period expires, the file can be deleted.

    1. Enable WORM.
    2. Policy Mode of a dtree is Enterprise, which is mainly used by enterprises to implement internal control. The retention period and permissions of common users and privileged users are set to ensure secure data access security and prevent data tampering, protecting archived files and data of enterprises. Common users cannot modify, rename, or delete files within the retention period. Privileged users (system administrators) cannot modify or rename files within the retention period, but they can use the privilege to delete files. Common users and system administrators cannot modify or rename files whose retention period expires, but can read or delete the files.

      Table 2 describes the related parameters.

      Table 2 Parameters of the Enterprise policy mode

      Parameter

      Description

      Max. Retention Period

      Specifies the maximum protection period supported by a dtree.

      Min. Retention Period

      Specifies the minimum protection period supported by a dtree.

      Default Retention Period

      Indicates the default protection period after a file enters the protection state.

      Auto Lock

      After this function is enabled, if a file is not modified within the default waiting time, the file automatically enters the locked state.

      Legal Hold File Modification

      Common users and privileged users cannot delete legal hold files within the retention period.

      After the function is enabled, the retention periods of the legal hold files can be modified.

  6. Click OK.