VOLFRAG: show disk fragmentation
Description
Disk management utility. Shows the physical order of files
on a disk. Report may be in file or disk order.
Categories
Disk Management
System Operation
Related files
VOLFRAG: Object file for the program.
User Instructions
Run the program, specifying the range (file, library, or
volume) and the names of the file, library, or volume. The
next screen selects the sort order for the report; this can
either be by file within library or in physical disk order.
When the run is completed, the DISPLAY utility can be called
to display the listing on the workstation. VOLFRAG can be
re-run from this screen.
Two reports are produced. The first consists of a
summary page
of the total usage for that volume, while the second report
lists files in the extent or file name order, as selected.
The file detail includes the number of extents, the blocks
used, the file organization and record format, the record
length, and the user ID.
Programmer Instructions
All program screens in VOLFRAG are GETPARMs, so the utility
can be run under program control. Unlike DISKMAP, it does
not require exclusive access to the volume, so it is
unnecessary to re-mount the disk for this purpose.
INPUT Press (RETURN) to continue or PF(16) to exit.
RANGE VOLUME Set to LIBRARY or FILE if desired.
FILE (blank) The location of the file, library,
LIBRARY (blank) or volume to be analyzed.
VOLUME (blank)
OPTIONS Press PF(02) to sort report by file within
library or PF(03) to sort in disk extent order.
EOJ Press PF(01) to run again, PF(13) to display the
report from the last run, or PF(16) to exit the
program.
Example of use
As with DISKMAP, VOLFRAG can be used to improve disk
performance by identifying the locations of
frequently-accessed files so they can be moved closer to the
Volume Table of Contents (VTOC) for the volume. VOLFRAG
offers the additional benefit of running for a single file or
library.
Comments
Unlike the similar utility DISKMAP, VOLFRAG can be run
without exclusive access to the volume. It can also be run
for a library or file rather than just for a volume.
For other programs that show physical disk location, see
DISKMAP,
FILEPARM,
LISTLABL, and
VTOCTEST.