Sharing a CFS file system previously added to VCS

Use one of the following commands:

cfsshare share -p cifs -v address -n cifs share name \
[-C cifs_share_options] mount_point

For example:

# cfsshare share -p cifs -v 10.182.79.216 -n sh1 -C readonly=no /mnt1

Or

cfsshare share -p cifs -v address -n cifs share name \
mount_point [share_options]

For example:

# cfsshare share -p cifs -v 10.182.79.216 -n sh1 /mnt1 readonly=no

Note:

You must added the address using the the cfsshare addvip command before running the cfsshare share command.

See the cfsshare(1M) manual page for more information.

Before running this command, you should have run cfsmntadm command to add the shared file system to VCS configuration and the cfsmount command to mount the shared file system at the mount_point. Once these commands have been executed, the CFSMount resource corresponding to the mount_point gets created in either a default service group (with a name similar to vrts_vea_cfs_int_cfsmountnumber) or in a separate service group, as specified by the user.

The cfsshare share command moves the CFSMount resource corresponding to the mount_point and the associated CVMVolDg resource to the cfsnfssg service group (that was created using the config option). This command also creates a share resource on top of the CFSMount resource in the same cfsnfssg service group.

Note:

VCS does not have the functionality to move resources across service groups. The cfsshare command creates new CFSMount and CVMVolDg resources in the cfsnfssg service group and deletes the corresponding resources from the original service group.

The newly created resource names are different from the original resource names.