When I try to optimize a volume on a server running Windows Server 2012 (R1). I receive the below error. This volume is an ISCSI target to our Compellent SAN. Other Servers don't have an issue with volumes created on the same SAN and I have already ran ChkDsk and it returned no errors. Oddly enough I can run a "Defrag T: /D" but a "Defrag T: /O" returns"Incorrect Function. (0x80070001)" (Incidentally an "Optimze-Volume T -Defrag" also works)
Any Ideas? I'm stumped!
Command:
Optimize-Volume -DriveLetter T -Verbose
Error:
VERBOSE: Invoking slab consolidation on iSCSI_SAN01_ExchLogFiles (T:)...VERBOSE: Slab Analysis: 100% complete.
optimize-volume : The specified extrinsic Method does not exist.
At line:1 char:1
+ optimize-volume -DriveLetter T -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : MetadataError: (MSFT_Volume (Ob...2-a802-ba7e...):ROOT/Microsoft/...age/MSFT_Volume) [Optimize-Volume], CimException
+ FullyQualifiedErrorId : MI RESULT 17,Optimize-Volume