I have been having an issue with drive space not being reclaimed after files are deleted or removed. I am running windows server 2012 r2 and the volume having the issue is on a storage space pool. The pool consists of 4 2TB drives setup with parity. The
volume is fixed, not thin.
Every time I delete or move a file, the free space does not change. I have tried restarting, running defragment and optimize, running powershell optimize-volume with defrag and slabconsolidate.
If I run a slabconsolidate on the volume it returns an error:
Optimize-Volume : A general error occurred that is not covered by a more specific error code.
At line:1 char:1
+ Optimize-Volume d -SlabConsolidate
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (MSFT_Volume (Ob...4-8464-4773...):ROOT/Microsoft/...age/MSFT_Volume) [Opt
imize-Volume], CimException
+ FullyQualifiedErrorId : HRESULT 0x89000020,Optimize-Volume
If I run dir /p on the volume, it shows what the free space should be, but it is not the free space reflected everywhere else. I cannot copy anything to the volume greater than the space it thinks is free.
Anyone have suggestions on what could be the problem?