Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I try to configure a cluster share on Windows 2008 R2, I get the following error:

PS C:\> get-clusterresource share3

Name                          State                         Group                         ResourceType
----                          -----                         -----                         ------------
Share3                        Offline                       Test                          File Share


PS C:\> get-clusterresource share3|set-clusterparameter path "c:\program files (x86)"
Set-ClusterParameter : Unable to save property changes for 'Share3'.
    The cluster resource dependency cannot be found
At line:1 char:48
+ get-clusterresource share3|set-clusterparameter <<<<  path "c:\program files (x86)"
    + CategoryInfo          : NotSpecified: (:) [Set-ClusterParameter], ClusterCmdletException
    + FullyQualifiedErrorId : Set-ClusterParameter,Microsoft.FailoverClusters.PowerShell.SetClusterParameterCommand

Google and Bing return nothing useful on this.

Any ideas?

Same thing happens when I use cluster.exe. Both Powershell and cluster.exe ran as admin.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Turns out I have to configure dependencies for the share first:

add-clusterresourcedependency share3 some_network_name_in_the_same_group

Then it works.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.