To share a directory as a cluster resource
Or, to share all folders (except hidden folders) in the folder specified in the previous step as separate shared folders, click Share Subdirectories Only.
If this option is set to ANSI on systems configured for non-English locales, the encoding scheme is set to the default encoding scheme for the locale. The following are the default encoding schemes for the indicated locales:
Important
Note
cluster [ClusterName] resource "ResourceName" /create /restype:"NFS Share" /group:"GroupName" /privproperties ShareName="ShareName":STRING Path="SharePath":STRING ShareSubDirs=ShareType:DWORD GlobalPerm=PermType:DWORD Encoding=EncodingType:DWORD AnonymousAccessAllowed=AccessType:DWORD
cluster [ClusterName] resource "ResourceName" /online /wait[:Timeout]
Argument | Description |
---|---|
ClusterName | The name of the cluster you want to manage. |
ResourceName | The name of the cluster resource. |
GroupName | The name of the group to which you want to add the resource. |
ShareName | The name of the shared directory you want to create. This value is ignored if ShareType is 0x1 |
SharePath | The fully qualified path of the directory to be shared. |
ShareType | 0x0 if only the directory specified by SharePath is to be shared. 0x1 if the subdirectories (except hidden subdirectories) in the directory specified by SharePath are to be shared individually. |
PermType | Specifies root-access and read-write permission combinations.
PermType must be one of the following values:
|
EncodingType | Specifies the default encoding used for file and directory
names and, if used, must be set to one of the following:
If this is option is set to Ox7, the encoding scheme is ANSI or, on systems configured for non-English locales, the default encoding scheme for the locale. The following are the default encoding schemes for the indicated locales:
|
AccessType | 0x0 if anonymous access to the shared directory is not allowed. 0x1 if anonymous access is allowed. |
Timeout | The number of seconds cluster waits before cancelling the command if it does not successfully complete. If /wait is specified without this value, cluster waits indefinitely or until the resource state changes. |
Important
Notes
cluster /?
Related Topics
To modify a shared directory cluster resource
To delete a shared directory cluster resource