6.5 HP StoreAll OS CLI Reference Guide

Table Of Contents
ibrix_onlinequotacheck
Rescans quota usage.
Description
The ibrix_onlinequotacheck command is used to rescan quota usage, initialize directory
tree quotas, and remove directory tree quotas. The command must be run from a file serving node
that has the file system mounted and has 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 command to take into
account the data used under the directory tree.
DTREE_DELETE mode. When a directory tree quota is deleted, use this command 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 that this command is not performed on directories
that should retain quota information.
Synopsis
Start an online quotacheck in DTREE_CREATE mode for the specified path:
ibrix_onlinequotacheck -s -c -f FSNAME -p PATH
Run this command after setting a directory tree quota.
Start an online quotacheck in DTREE_DELETE mode for the specified path:
ibrix_onlinequotacheck -s -d -f FSNAME -p PATH
Run this command after deleting a directory tree quota.
Start an online quotacheck in FILESYSTEM_SCAN mode for the specified file system:
ibrix_onlinequotacheck -s -S -f FSNAME
List status information about online quotacheck tasks on all file systems or only the specified file
systems:
ibrix_onlinequotacheck -i [-f FSLIST]
The report lists tasks by ID and file system, and indicates whether the task is running or stopped.
Stop the specified online quotacheck tasks:
ibrix_onlinequotacheck -k -t TASKID [-F]
To force the tasks to stop, include the -F argument. To obtain the task IDs, run
ibrix_onlinequotacheck -i.
Display a status summary of online quotacheck tasks:
ibrix_onlinequotacheck -l [-f FSNAME]
158 StoreAll commands