The INDEXF command is used to analyze ,defragment ,truncate or extend the
INDEXF.SYS file. The analyze option reports the current fragmentation
state, whereas the defragment and extend option allows defragmentation
or pre-extending of INDEXF.SYS. Truncate is an option which trims
down INDEXF.SYS to the end-of-file size.
To perform a defragment truncate or extend
operation the disk must be completely dismounted.
NOTE: defragment truncate and extend require VOLPRO privilege.
: defragment truncate and extend can not be done on the system disk.
Syntax :
INDEXF <device>/Qualifiers
1 – Qualifiers
1.1 /ANALYZE
Displays information about the number of fragments in INDEXF.SYS
and the largest contiguous free space. If INDEXF.SYS can not be
defragmented a "%DFU-W-NOOPT" message will be displayed.
1.2 /DEFRAG
Starts a defragment operation on INDEXF.SYS. The disk must be
clusterwide dismounted before starting a defragment operation.
1.3 /EXTEND
/EXTEND=n (number of blocks)
Extends INDEXF.SYS with 'n' blocks in 1 new fragment. This is
equivalent to 'n' extra file headers. The disk must be clusterwide
dismounted before starting an extend operation.
The 'n' value will be rounded up to be a multiple of the device
cluster size.
1.4 /SHADOW_MEMBER
/SHADOW_MEMBER=device:
The physical member of the shadowset on which to perform an
EXTEND or DEFRAG operation. This qualifier is only required
in combination with /DEFRAG and /EXTEND. Example :
DFU> INDEXF/DEFRAG DSA0:/SHADOW_MEMBER=$1$DUA104:
1.5 /SHOW_POINTERS
Displays all mapping pointer information during the analyze phase.
1.6 /STATISTICS
/STATISTICS
/NOSTATISTICS (default)
Controls whether cpu and I/O consumption of the
command are shown.
1.7 /TRUNCATE
If possible the INDEXF.SYS file will be truncated back to
the end-of-file size. The disk must be dismounted to
perform this operation.