Auditing a storage pool

You can schedule audit operations to identify corrupted files in directory-container storage pools.

Procedure

Issue the DEFINE STGRULE command with the ACTIONTYPE=AUDIT setting.

For more information about the DEFINE STGRULE command, see DEFINE STGRULE (Define a rule for auditing storage pools).

Results

When the storage rule is active, audit operations run according to the defined schedule. You can view information about corrupted files by issuing the QUERY DAMAGED command.

If you detect corrupted files, you can restore data based on your configuration. If you protected the contents of the storage pool by using the PROTECT STGPOOL command, you can repair the contents of the storage pool by using the REPAIR STGPOOL command.