Setting share properties

After a file system is exported as a CIFS share, you can change one or more share options. This is done using the same share add command, giving the name of an existing share and the name of the file system exported with this share. Veritas Access will realize the given share has already been exported and that it is only required to change the values of the share options.

For example, to export the file system fs1 with the name share1, enter the following:

CIFS> share add fs1 share1 "owner=administrator,group=domain users,rw" 
CIFS> share show

To export a file system

filesystem

A Veritas Access file system that you want to export as a CIFS share. The given file system must not be currently used for storing the home directory shares.

The file system or directory path should always start with the file system name, not with the file system mount point /vx.

sharename

The name for the newly-exported share. Names of the Veritas Access shares can consist of the following characters: lower and uppercase letters "a" - "z" and "A" - "Z," numbers "0" - "9" and special characters: "_" and "-". ( "-" cannot be used as the first character in a share name).

Note:

A share name cannot exceed 256 characters.

@virtual_ip

Specifies an optional full identifier allowing a virtual IP to access the specified CIFS share.

Veritas Access provides unified access to all shares through virtual IPs.

If a CIFS share is added with the @virtual_ip full identifier, the CIFS share is created by allowing only this virtual IP to access this CIFS share.

CIFS> share show

cifsoptions

A comma-separated list of CIFS export options. This part of the command is optional.

If a CIFS export option is not provided, Veritas Access uses the default value.

See About the CIFS export options.

For example, an existing file system called FSA being exported as a share called ABC:

CIFS> share add FSA ABC rw,guest,owner=john,group=abcdev