How to run chkdsk on a cluster shared volume (CSV) in Hyper-V cluster

Mohd Arif 946 Reputation points
2022-10-19T10:41:49.013+00:00

I am using Hyper-V cluster, let's say having three nodes in cluster. Now one of the CSV is going message that "chkdsk scan needed on volume". How can I do it on a cluster shared volume251992-lun-error.jpg

System Center Virtual Machine Manager
Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
Windows for business | Windows Server | Storage high availability | Clustering and high availability
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

Accepted answer
  1. Alex Bykovskyi 2,241 Reputation points
    2022-10-19T15:25:28.707+00:00

    Hey,

    You need to run chkdsk via Powershell targeting CSV mount point. As an example:

    chkdsk.exe C:\ClusterStorage\Volume1 /scan  
    

    This command will scan the issues on CSV. Check the following articles for more information:
    https://www.starwindsoftware.com/blog/how-to-perform-check-disk-on-cluster-shared-volume-on-starwind-vsan
    https://techcommunity.microsoft.com/t5/failover-clustering/how-to-run-chkdsk-and-defrag-on-cluster-shared-volumes-in/ba-p/371905

    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.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Mohd Arif 946 Reputation points
    2023-01-18T11:05:39.1966667+00:00

    I have to remove the storage from CSV then it will appear as drive let us say E: then I ran chkdsk for this E: drive and then I added this cluster storage into CSV.

    0 comments No comments

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.