I have a Server 2012 server that I manage and I cannot get the C drive to defragment/optimize. I run the gui and it runs for a few seconds then says "Needs Optimization (26% fragmented)". I have tried running from command line with every switch I could find and it still will not complete. There are no errors in the event viewer (System or Application) and I am at a loss as to why it is happening. The C drive is on a RAID 1 array on 2x 300GB 10K SAS drives in a Dell Poweredge M520 (inside of a Dell PE VRTX chassis). When I first set the server up a year ago, the defragmenter/optimizer ran fine, but for the last couple of months it runs then stops, but does not defragment/optimize. I can optimize the D drive on the same array with no issues, just not the C drive. I also do not get any errors in the VRTX's control panel and that the drives are operating normally.
Here is what I get when I run defrag c: -a -v
C:\Windows\System32>defrag c: -a -vMicrosoft Drive Optimizer
Copyright (c) 2013 Microsoft Corp.
Invoking analysis on OS (C:)...
The operation completed successfully.
Post Defragmentation Report:
Volume Information:
Volume size = 99.65 GB
Cluster size = 4 KB
Used space = 31.02 GB
Free space = 68.62 GB
Fragmentation:
Total fragmented space = 26%
Average fragments per file = 1.00
Movable files and folders = 98048
Unmovable files and folders = 48
Files:
Fragmented files = 60
Total file fragments = 330
Folders:
Total folders = 7052
Fragmented folders = 0
Total folder fragments = 0
Free space:
Free space count = 3873
Average free space size = 18.13 MB
Largest free space size = 34.57 GB
Master File Table (MFT):
MFT size = 179.75 MB
MFT record count = 184063
MFT usage = 100%
Total MFT fragments = 1
Note: File fragments larger than 64MB are not included in the fragmentation statistics.
It is recommended that you defragment this volume.
Any help would be greatly appreciated!!!