beautypg.com

Troubleshooting quotas, Moving directories – HP StoreAll Storage User Manual

Page 30

background image

Troubleshooting quotas

Recreated directory does not appear in directory tree quota

If you create a directory tree quota on a specific directory and delete the directory (for example,
with rmdir/rm -rf) and then recreate it on the same path, the directory does not count as part
of the directory tree, even though the path is the same. Consequently, the
ibrix_onlinequotacheck

command does not report on the directory.

Moving directories

After moving a directory into or out of a directory containing quotas, run the
ibrix_onlinequotacheck

command as follows:

After moving a directory from a directory tree with quotas (the source) to a directory without
quotas (the destination), take these steps:
1.

Run ibrix_onlinequotacheck in DTREE_CREATE mode on the source directory tree
to remove the usage information for the moved directory.

2.

Run ibrix_onlinequotacheck in DTREE_DELETE mode on the directory that was
moved to delete residual quota information.

After moving a directory from a directory without quotas (the source) to a directory tree with
quotas (the destination), take this step:
1.

Run ibrix_onlinequotacheck in DTREE_CREATE mode on the destination directory
tree to add the usage for the moved directory.

After moving a directory from one directory tree with quotas (the source) to another directory
tree with quotas (the destination), take these steps:
1.

Run ibrix_onlinequotacheck in DTREE_CREATE mode on the source directory tree
to remove the usage information for the moved directory.

2.

Run ibrix_onlinequotacheck in DTREE_CREATE mode on the destination directory
tree to add the usage for the moved directory.

30

Setting up quotas