No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Basic Storage Service Configuration Guide for File

OceanStor V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, 6800 V3, 18500 V3, and 18800 V3. It describes the basic storage services and explains how to configure and manage them.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
(Optional) Creating a Quota

(Optional) Creating a Quota

This operation enables you to create quotas, which restrict the space used by files or the number of files in the root directory or by user/user group.

Prerequisites

  • At least one file system and quota tree have been created.
  • If you want to create quota for a specified user or user group, the user or user group have been created.

Context

  • User quotas do not limit but are tracked and displayed for the following types of groups and users:
    • A root user group and its member users
    • A storage system's Administrators user group and its member users
    • Users in a Windows operating system's Administrators user group.
  • The root quota tree is the default quota tree created for a file system. It cannot be deleted or renamed. The root quota tree is available for only user quotas and user group quotas.
  • Some product models do not support quotas. To check whether a product model supports quota trees, see the corresponding product description.

Procedure

  1. Log in to DeviceManager.
  2. Choose Provisioning > File System.
  3. Select a file system for which you want to create a quota. Choose More > Create Quota.

    The Create Quota Wizard dialog box is displayed.

  4. Select a quota type and specify the directory, user, or user group.

    • Directory quota
      1. Select Directory quota and click Next.
      2. Select the directory for which you want to create a quota.
        • Select All Quota Tree.
        • Select Specific Quota Tree. Click and select a desired quota tree.
          NOTE:

          If no quota tree is available, create one.

      3. Click Next.
    • User quota
      1. Select User quota and click Next.
      2. Select a specified quota tree in Quota Tree.
      3. Select the user for which you want to create a quota.
        • Select All Users.
        • Select Specific Users. Select a specified user in the lower area.
        NOTE:
        If no user is available, click Add to add one. When adding a user:
        • If you select Local authentication user, click Find in the Add User dialog box, select the user you want to add, and click OK. If no desired user is found, choose Provisioning > User Authentication to create a local authentication user in the Local Authentication User tab.
        • If you select Domain user, enter the corresponding name in Name and click Add. For a NIS or LDAP domain, the name format is Domain user name. For an AD domain, the name format is Domain name\Domain user name. Contact the domain server administrator to obtain the domain user name.

        When CIFS users are mapped to NFS users, quota statistics for the CIFS users will be collected for the NFS users or owning user group.

      4. Click Next.
    • User group quota
      1. Select User group quota and click Next.
      2. Select a specified quota tree in Quota Tree.
      3. Select the user group for which you want to create a quota.
        • Select All Users Groups.
        • Select Specific User Groups. Select a specified user group in the lower area.
        NOTE:
        If no user group is available, click Add to add one. When adding a user group:
        • If you select Local authentication user group, click Find in the Add User Group dialog box, select the user group you want to add, and click OK. If no desired user group is found, you can choose Provisioning > User Authentication to create a local authentication user group in the Local Authentication User Group tab.
        • If you select Domain user group, enter the corresponding name in Name and click Add. The name format is Domain user group name. Contact the domain server administrator to obtain the domain user group name.

        User group quotas cannot be configured for AD domains.

      4. Click Next.

  5. Set the space quota or file quantity quota and click Next.

    Table 3-12 describes the related parameters.

    Table 3-12 Quota parameters

    Parameter

    Description

    Value

    Hard Quota

    If the space occupied by files exceeds the hard quota, the system immediately forbids write operations and prevents users from using extra file space.

    [Value range]

    The value must be greater than the space soft quota, and smaller than or equal to Maximum capacity of a file system.

    NOTE:
    • You can query Maximum capacity of a file system in "Software Specifications" in the product description specific to your product.
    • The space quota is not limited by the file system capacity. It can be greater than or smaller than the file system capacity.

    [Example]

    100 GB

    Soft Quota

    If the space occupied by files exceeds the soft quota, the system generates an alarm but still allows write operations. After the space occupied by files exceeds the hard quota, the system immediately forbids write operations.

    [Value range]

    The value must be smaller than the space hard quota. If the space hard quota is not specified, the value must be smaller than or equal to Maximum capacity of a file system.

    NOTE:
    • You can query Maximum capacity of a file system in "Software Specifications" in the product description specific to your product.
    • The space quota is not limited by the file system capacity. It can be greater than or smaller than the file system capacity.

    [Example]

    80 GB

    Hard Quota (K)

    If the number of files exceeds the hard quota, the system immediately forbids write operations and prevents users from using extra files. The unit of the hard quota is K.

    [Value range]

    The value must be greater than the soft quota of file quantity, and smaller than or equal to 2,000,000.

    [Example]

    2

    Soft Quota (K)

    If the number of files exceeds the soft quota, the system generates an alarm but still allows write operations. After the number of files exceeds the hard quota, the system immediately forbids write operations. The unit of the soft quota is K.

    [Value range]

    The value must be smaller than the hard quota of file quantity. If the hard quota of file quantity is not specified, the value must be smaller than or equal to 2,000,000.

    [Example]

    1

  6. Confirm the quota creation.

    1. Confirm the quota information and click Finish.

      The Execution Result dialog box is displayed, indicating that the operation succeeded.

      NOTE:

      Enable quota immediately at the lower left corner is selected by default when all of the following conditions are met:

      • Quota Type on the Create Quota Wizard: Step 1 of 5 page is set to User quota or User group quota.
      • Quota Tree on the Create Quota Wizard: Step 2 of 5 page is set to a specific quota tree.
      • The quota function has not been enabled for the specific quota tree.
    2. Click Close.

      The security alert dialog box is displayed.

      NOTE:

      This dialog box will be displayed only after Enable quota immediately is selected.

    3. Confirm the information in the dialog box, select I have read and understand the consequences associated with performing this operation, and click OK.

      The Execution Result dialog box is displayed, indicating that the operation succeeded.

    4. Click Close.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138856

Views: 62059

Downloads: 830

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next