How do I reclaim space on a shared storage cluster after I have deleted a vxhd?

hotrodjeremy1977 16 Reputation points
2023-02-22T20:04:00.78+00:00

Ok My Shared Storage Cluster is almost completely full. I am in the process of getting a new server and more staorage but for now I need to clean up my current one. I found a VM that had a 500GB hard drive that was not being used. I dismounted the drive in the VM and removed it from the VM settings then I deleted the .vxhd file from the shared storage, but the drive is still showing the exact same usage. I have emptied all the recycle bins and have manually checked and the drive is not there. How can I get the space back that the drive used to occupy?

Oh yeah, my HOSTS are both windows 2019 headless, so I need to be able to do this from within the management server or running a command on the host in either CMD or powershell.

Can someone please help me?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,303 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,744 questions
Windows Server Clustering
Windows Server Clustering
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Clustering: The grouping of multiple servers in a way that allows them to appear to be a single unit to client computers on a network. Clustering is a means of increasing network capacity, providing live backup in case one of the servers fails, and improving data security.
1,014 questions
Windows Server Storage
Windows Server Storage
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Storage: The hardware and software system used to retain data for subsequent retrieval.
656 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. hotrodjeremy1977 16 Reputation points
    2023-02-27T22:55:44.4466667+00:00

    I am not using Storage Space Direct if that is what you are asking.

    I have (2) server 2016 core hosts in an HA Cluster and shared clustered iSCSI storage

    CSV

    I removed an additional 500gb HDD from a server hosted on the cluster and once I verified that the server was running as expected I deleted the .vxhd file from the cluster, but the volume still shows the same amount of space being used. I tried emptying the recycle bin, but still the volume shows the same usage and I am getting dangerously low on space.

    0 comments No comments

  3. Alex Bykovskyi 2,166 Reputation points
    2024-10-14T15:53:02.57+00:00

    Hey,

    You can try SDelete on your CSV to reclaim space on the Volume.
    https://support.purestorage.com/bundle/m_microsoft_platform_guide/page/Solutions/Microsoft_Platform_Guide/Failover_Clustering_Feature/topics/topic/t_reclaiming_space_on_a_clustered_shared_volume.html

    Might also help with monitoring of available space: https://powershellmagazine.com/2014/02/28/reporting-cluster-shared-volume-csv-disk-space-utilization/

    If you need additional storage, StarWind VSAN can be used to utilize local storage of the servers and create replicated shared storage pool for Failover cluster.
    https://www.starwindsoftware.com/resource-library/starwind-virtual-san-for-hyper-v-2-node-hyperconverged-scenario-with-windows-server-2016/

    Cheers,

    Alex Bykovskyi

    StarWind Software

    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.