I have a server that's been running this command regularly for a long time and working successfully.
Optimize-Volume d -SlabConsolidate -Verbose
The last day or so the command nows gives the results below. I highlighted where the command dies once slab consolidation kicks in. So far everything still seems to be working but this strikes me as a bad event. All the other volumes in the same storage pool work just fine. There has not been any disk errors or bad blocks on any of the drives and the system hasn't even been powered off during this time. I did do a reboot to try to clear the error but it didn't help.
I'm at a loss on what to do. Can anybody help?
Thanks.
VERBOSE: Invoking slab consolidation on bfd (D:)...
VERBOSE: Slab Analysis: 0% complete...
VERBOSE: Slab Analysis: 100% complete.
VERBOSE: Slab Enumeration: 0% complete...
VERBOSE: Slab Enumeration: 1% complete...
[1-98% cut out]
VERBOSE: Slab Enumeration: 100% complete.
VERBOSE: Slab Consolidation: 0% complete...
Optimize-Volume : The requested object could not be found.
At line:1 char:1
+ Optimize-Volume d -SlabConsolidate -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (MSFT_Volume (Ob...9-ab82-7184...):ROOT/Microsoft/...age/MSFT_Volume) [Optimize-Volume], CimException
+ FullyQualifiedErrorId : MI RESULT 6,Optimize-Volume