
ibrix_online_quotacheck
Checks and repairs quota files.
Description
You will need to use the ibrix_online_quotacheck command in the following cases:
• 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 are using directory tree quotas and you have moved a subdirectory into another parent
directory outside of the directory that has the directory tree quota.
The ibrix_online_quotacheck command must be run from a file serving node that has the
file system mounted.
Synopsis
The command has the following options:
ibrix_online_quotacheck [-gutnfsPvVh] [-T {target id}] [-I
{quotacheck_id}] [-M {quotamonitor_host}] path1 [path2] ...
Following are some examples of using the command:
Run a quota check on a file system:
ibrix_online_quotacheck –M {quotamonitor_host} /mountpoint
For the –M option, it is best to specify the management console as the target host/IP address. This
allows the quota usage for a deleted user or group to be updated. You can specify pathnames in
place of /mountpoint if you want to target specific directories instead of an entire file system.
To use the –M option for a directory tree quota, include the -P option in the command:
ibrix_online_quotacheck —M {quotamonitor_host} –P /mountpoint
Run a quota check on a specific user having files only in the home directory:
ibrix_online_quotacheck –u –T userid home_dir
Run a quota check on a specific group:
ibrix_online_quotacheck –g –T groupid home_dir
Run a quota check on a specific directory tree:
ibrix_online_quotacheck –t –P diretree_path
Remove the directory tree quota for all files under a specific path:
ibrix_online_quotacheck –t –T 0 diretree_path
Options
DescriptionOption
The quotacheck ID given to this session.-I {quotacheck_id}
The quotamonitor host (typically the management console). The specified path must be
a mountpoint.
-M
{quotamonitor_host}
A directory tree quota.–P
Checks only for the specified target ID. For a directory tree quota, sets all entries to the
target ID. If the target ID is 0, the directory tree quota is cleared for the specified path.
–T {target ID}
Prints version.–V
102 X9000 File Serving Software commands
Kommentare zu diesen Handbüchern