Q: I'm trying to run chkdsk/repair-clustersharedvolume on Cluster Shared Volumes (CSV) in/Server 2012 R2, but passing the CSV folder name fails--why?
A: CSV are exposed to the hosts as a subfolder for the C:\ClusterStorage folder, for example C:\ClusterStorage\Volume1. To run chkdsk on one of these in Windows Server 2008 and Windows Server 2008 R2 you use
Repair-ClusterSharedVolume -VolumeName c:\clusterstorage\volume1
If you try this with Windows Server 2012, however, the command fails. Microsoft changed the format for the CSV to use the CSV name instead of the path, which means in Server 2012 and Server 2012 R2 you need to use:
Repair-ClusterSharedVolume -VolumeName "Cluster Disk 1
Note that the name of the disk will not always match its volume number under C:\ClusterStorage. Also, while I am referring to Repair-ClusterSharedVolume, the same format for volumes should be used for ChkDsk.