Article ID: 284838 - View products that this article applies to.
This article was previously published under Q284838
This article describes how to create a server cluster file share with the Cluster.exe tool.
The way in which you create file shares on a server cluster differs from the way in which you create them on a stand-alone server. For clustering purposes, you do not create the file shares through Windows Explorer. Instead, you create a "File Share" resource in Cluster Administrator. This file share resouce must depend on a Physical Disk, and Network Name resource. This establishes the start order and verifies that the NetBIOS and disk that the folder resides on are available before you bring the resource online. Cluster.exe is a tool useful for automation, or when you script a large number of resource creations.
You may find it easier to create file shares by using Cluster Administrator. For additional information, click the article number about how to use it below to view the article about how to use it in the Microsoft Knowledge Base:
224967If you are creating multiple File Share resources, you may want to use Dynamic File Shares as a better alternative (such as with home directories). For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/224967/EN-US/ )How to Create File Shares on a Cluster
256926Here is a sample of a batch files that you could use to create a File Share resource in a group that already contains the Network Name, and Physical Disk resources. Below you will see an explanation of each line. The example below assumes that you have a group called "Disk Group 1" with a "Disk X:".
(http://support.microsoft.com/kb/256926/EN-US/ )Implementing Home Folders on a Server Cluster
cluster. res "ClusterFS" /create /group:"Disk Group 1" /type:"File Share"
cluster . res "ClusterFS" /priv path="X:\ClusterFS"
cluster . res "ClusterFS" /priv Sharename=ClusFileShare
cluster . res "ClusterFS" /priv Remark="This is a File Share"
cluster . res "ClusterFS" /prop Description="This is a Clustered Share"
cluster . res "ClusterFS" /priv security=Domain\User,grant,c:security
cluster . res "ClusterFS" /priv ShareSubDirs=1
cluster . res "ClusterFS" /AddDep:"Disk X:"
cluster . res "ClusterFS" /AddDep:"Network Name"
cluster . res "ClusterFS" /On
Other Cluster.exe commands can be found by going into the Windows 2000 Command Reference help file, or by typing cluster.exe /? from a command prompt.