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


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

Knowledge Base

Enabling the Quota of a File System that Has Massive Files

Publication Date:  2013-09-26  |   Views:  198  |   Downloads:  0  |   Author:  h00104820  |   Document ID:  EKB1000034385


Issue Description

Involved product: N8500 V200R001
Application scenario: enabling the quota of a file system that has massive small files.

Alarm Information

When a user enables the quota of a file system, the system indicates that its takes a long time for the quota to take effect and ongoing services need to be interrupted.

Handling Process

Step 1 Check the number of inodes of the file system.
          1.1. Log in to the N8000 as user support and run df -hi /vx/fsname to check the number of inodes on the file system.
          1.2. If there are more than 30 million inodes in use, do not enable the quota and go to step 2.
Step 2 Create a new file system of the same size as that of the original one.
          2.1. Create a new file system and set it to be equally sized as the original file system.
          2.2. Enable the quota of the new file system.
          2.3. Run the cp -a command to copy data from the original file system to the new file system.

Root Cause

Enabling the quota of a file system prompts the system to calculate the files on the file system. If a large number of files exist on the file system, calculating them consumes a long time. During the calculation, the file system is unavailable and ongoing services are interrupted.


During site deployment, make clear about customer's requirement on quota. If the customer requires the quota function, enable it when creating a file system. Otherwise, disable the quota function. In doing so, the performance decrease caused by enabling quota can be prevented.