User's Reference > Administration > Administration from Reality > Command Reference > A > AFS-TRIM

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

AFS-TRIM command (m605006+afstrim.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

AFS-TRIM

Recover unused disk space from a file data section or index that is configured for automatic file sizing.

Syntax

AFS-TRIM file-specifier {index-name}

Syntax Elements

file-specifierThe name of the required file data section or of the file containing the required index.

See General Conventions for the full syntax of file-specifier.

index-nameOptional. The name of the required index.

Operation

As an AFS file expands, disk space is reserved for the additional groups required. In a large AFS file that has stopped expanding, this can mean that a large amount of disk space is unavailable for use by other files. AFS-TRIM allows you to recover this unused disk space.

Restrictions

Can only be run by the database owner.

Comments

AFS-TRIM will fail if the file is expanding at the time.

Frequent use of AFS-TRIM on files that are still expanding is not recommended. This can impact filing system performance and eventually limit the maximum size of the file.

RealityV15.0Comment on this topic