Changes

Repairing and Defragmenting Windows Server 2008 Disks

2,082 bytes added, 15:39, 12 August 2008
Defragmenting Disks from the Command-line
<pre>
C:\Windows\system32>defrag e: -a
Windows Disk Defragmenter
Copyright (c) 2006 Microsoft Corp.
 
Analysis report for volume E: New Volume
 
Volume size = 8.00 GB
Free space = 7.93 GB
Largest free space extent = 4.00 GB
Percent file fragmentation = 0 %
 
Note: On NTFS volumes, file fragments larger than 64MB are not included in the
fragmentation statistics
 
You do not need to defragment this volume.
</pre>
 
A more detailed report can be obtained using the ''-A'' option in conjunction with ''-V'', for example:
 
<pre>
C:\Windows\system32>defrag e: -a -v
Windows Disk Defragmenter
Copyright (c) 2006 Microsoft Corp.
 
Analysis report for volume E: New Volume
 
Volume size = 8.00 GB
Cluster size = 4 KB
Used space = 65 MB
Free space = 7.93 GB
Percent free space = 99 %
 
File fragmentation
Percent file fragmentation = 0 %
Total movable files = 14
Average file size = 4 MB
Total fragmented files = 1
Total excess fragments = 1
Average fragments per file = 1.12
Total unmovable files = 4
 
Free space fragmentation
Free space = 7.93 GB
Total free space extent = 4
Average free space per extent = 1.98 GB
Largest free space extent = 4.00 GB
 
Folder fragmentation
Total folders = 7
Fragmented folders = 1
Excess folder fragments = 0
 
Master File Table (MFT) fragmentation
Total MFT size = 64 KB
MFT record count = 34
Percent MFT in use = 53
Total MFT fragments = 2
 
Note: On NTFS volumes, file fragments larger than 64MB are not included in the
fragmentation statistics
 
You do not need to defragment this volume.
</pre>