Using online quota check – HP StoreAll Storage User Manual

Page 34

Advertising
background image

{id}

The UID for a user quota or the GID for a group quota.

{name}

A user name, group name, or directory tree identifier.

{path}

The full path to the directory tree. The path must already exist.

NOTE:

When a quotas file is imported, the quotas are stored in a different, internal format.

When a quotas file is exported, it contains lines using the internal format. However, when adding
entries, you must use the A, B, or C format.

The following is an example of the syntax for a file to import a directory tree quota (2048=2 MB):
C,2,2048,1024,0,0,"ba","/fs1/a/aa"
C,2,2048,1024,0,0,"bb","/fs1/a/ab"
C,2,2048,1024,0,0,"bc","/fs1/a/ac"

Using online quota check

Online quota checks are used to rescan quota usage, initialize directory tree quotas, and remove
directory tree quotas. The available modes are:

FILESYSTEM_SCAN mode. Use this mode in the following scenarios:

You turned quotas off for a user, the user continued to store data in a file system, and
you now want to turn quotas back on for this user.

You are setting up quotas for the first time for a user who has previously stored data in
a file system.

You renamed a directory on which quotas are set.

You moved a subdirectory into another parent directory that is outside of the directory
having the directory tree quota.

DTREE_CREATE mode. After setting quotas on a directory tree, use this mode to take into
account the data used under the directory tree.

DTREE_DELETE mode. After deleting a directory tree quota, use this mode to unset quota IDs
on all files and folders in that directory.

CAUTION:

When ibrix_onlinequotacheck is started in DTREE_DELETE mode, it removes

quotas for the specified directory. Be sure not to use this mode on directories that should retain
quota information.

To run an online quota check from the GUI, select the file system and then select Online quota
check from the lower Navigator.

On the Task Summary panel, select Start to open the Start Online quota check dialog box and
select the appropriate mode.

34

Configuring quotas

Advertising