defrag <volume> [-a] [-f] [-v]
TABLE 2.2: The Defrag Parameters and Switches
The drive letter or mount point to be defragmented.
Analyzes the volume and displays an analysis summary indicating
whether you should defragment the volume.
Forces defragmentation of the volume when low on free space.
Displays the complete analysis and defragmentation reports. When
used with the
switch, it displays only the analysis report.
Note: If you press
while running the
the defragmentation process will be stopped.
2.5 Defragmenting Volumes and Partitions
Defragmenting the disks on all your servers can ensure optimal performance of your disks. Defragmentation
is the process of reorganizing your disk so that clusters that make up each file are stored together, instead of
being spread around the disk. Windows Server 2003 provides two tools that work with both basic and
dynamic disks that are formatted with the FAT, FAT32, or NTFS file systems for performing
defragmentation. These tools are the Disk Defragmenter and the
To defragment a disk using the Disk Defragmenter, do the following:
Click on the
button to display the Start Menu
Then click on
In the console three, expand the
Then click on
to analyze your disks and the extent of their fragmentation
to view the status of your disk
If your disks require defragmentation, click
to start the process
When the defragmentation process is complete, click
You can also use the
command-line utility to defragment a disk. The syntax for the