Q. How do I enable or disable Cluster Shared Volumes (CSVs) from PowerShell in Windows Server 2008 R2?
October 12, 2009
A. You should usually use the Failover Cluster Management Microsoft Management Console snap-in to enable or disable CSVs, but you can also do it with PowerShell. To enable, run the following commands:
$cluster = Get-Cluster $cluster.EnableSharedVolume="Enabled"
To disable CSVs, first make sure no disks are enabled for CSV, then run the following commands:
$cluster = Get-Cluster $cluster.EnableSharedVolume="Disabled"
If you get an error when you're enabling CSVs and are prompted for a complete syntax, use the following command instead:
$cluster.EnableSharedVolume="Enabled/NoticeRead"
Related Reading:
Q. I'm copying data to a Cluster Shared Volume (CSV) with storage on iSCSI from a non-coordinator node, but the traffic is not going over the iSCSI network adapter. Why not?
Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.
About the Author
You May Also Like