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 Guide for File 15

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"This document describes the basic storage services and explains how to configure and managebasic storage services."
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).
Creating a Quota

Creating a Quota

This operation enables you to 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 must have been created.

Context

For the following types of groups and users, the quota is not limited but is tracked and displayed: root user group and its users, and a storage system's Administrators user group and its users, and users in a Windows operating system's Administrators user group.

Procedure

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

    The Create Quota Wizard dialog box is displayed.

  4. Select a quota type and directory, user or user group.
    • Directory quota
      1. Select a quota type of Directory quota, and click Next.
      2. Select the directory whose quota you want to restrict.
        • Select All Quota Trees.
        • Select Specific Quota Tree. Click and select a quota tree whose quota you want to restrict.
          NOTE:

          If no quota tree is available, create one.

      3. Click Next.
    • User quota
      1. Select a quota type of User quota, and click Next.
      2. Select a specified quota tree in Quota Tree.
      3. Select the user whose quota you want to restrict.
        • Select All Users.
        • Select Specific Users. Select a specified user in the lower area.
          NOTE:
          • If no user is available, add one.
          • If you select Local authentication user, click Find, in the pop-up Add User dialog boxes to select the user or user group you want to add. Click OK. You can choose Provisioning > User Authentication to create local authentication user in the Local Authentication User tab.
          • If you select Domain user, enter the corresponding name in Name, and click Add. For NIS domain and LDAP domain, the name format is Domain user name. For AD domain, the name format is Domain name\Domain user name. Please contact the domain server administrator to obtain the domain user name.
          • When CIFS users are mapped to NFS users, quota statistics will be collected for the NFS users or owning user group.
      4. Click Next.
    • User group quota
      1. Select a quota type of User group quota, and click Next.
      2. Select a specified quota tree in Quota Tree.
      3. Select the user group whose quota you want to restrict.
        • Select All Users Groups.
        • Select Specific User Groups. Select a specified user in the lower area.
          NOTE:
          • If no user group is available, add one.
          • If you select Local authentication user group, click Find, in the pop-up Add User Group dialog boxes to select the user or user group you want to add. Click OK. You can choose Provisioning > User Authentication to create 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. Please contact the domain server administrator to obtain the domain user group name.
          • User group quota does not support AD domain.
      4. Click Next.
  5. Set the space quota or file quantity quota, and click Next.

    Table 5-11 describes related parameters.

    Table 5-11  Quota parameters

    Parameter

    Description

    Value

    Hard Quota

    If the space quota 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 section "Software Specifications" in the Product Description specific to your product.
    • The space quota is not limited by the file system capacity, and can be greater than or smaller than the file system capacity.

    [Example]

    100 GB

    Soft Quota

    If the space quota exceeds the soft quota, the system generates an alarm but still allows write operations. After exceeding 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 entered, 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 section "Software Specifications" in the Product Description specific to your product.
    • The space quota is not limited by the file system capacity, and can be greater than or smaller than the file system capacity.

    [Example]

    80 GB

    Hard Quota (K)

    If the file quantity quota exceeds the hard quota, the system immediately forbids write operations and prevents users from using extra files. The unit of the hard quota is set to 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 file quantity quota exceeds the soft quota, the system generates an alarm but still allows write operations. After exceeding the hard quota, the system immediately forbids write operations. The unit of the soft quota is set to 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 that the quota is successfully created.
    1. Confirm the quota information and click Finish.

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

      NOTE:
      If Quota Type in step 1 is set to User quota or User group quota, Quota Tree in step 2 is set to a specific quota tree, and the quota function has not been enabled for the quota tree, Enable quota immediately in the lower left corner is selected by default.

    2. Click Close.

      The security alert dialog box is displayed.

      NOTE:

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

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

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

    4. Click Close.
Translation
Download
Updated: 2019-02-01

Document ID: EDOC1000084198

Views: 39728

Downloads: 827

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