Using online quota check – HP StoreAll Storage User Manual
Page 30
A,{type},{block_hardlimit},{block_soft-limit},{inode_hardlimit},{inode_softlimit},{id}
B,{type},{block_hardlimit},{block_soft-limit},{inode_hardlimit},{inode_softlimit},"{name}"
C,{type},{block_hardlimit},{block_soft-limit},{inode_hardlimit},{inode_softlimit},
"{name}","{path}"
The fields in each line are:
{type}
Either 0 for a user quota; 1 for a group quota; 2 for a directory tree quota.
{block_hardlimit}
The maximum number of 1K blocks allowed for the user, group, or directory tree. (1 MB =
1024 blocks).
{block_soft-limit}
The number of 1K blocks that, when reached, starts the countdown timer.
{inode_hardlimit}
The maximum number of files allowed for the user, group, or directory tree.
{inode_softlimit}
The number of files that, when reached, starts the countdown timer.
{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.
Using online quota check
Online quota checks are used to rescan quota usage, initialize directory tree quotas, and remove
directory tree quotas. There are three modes:
•
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.
30
Setting up quotas