Sharing a CFS file system previously added to VCS

Note:

You can use the -N option to specify the NFS share options.

You can also use the -p nfs to specify that the protocol to be used is NFS.

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

Before running this command, the user 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). In addition, this command also creates a share resource on top of the CFSMount resource in the same cfsnfssg service group.

cfsshare share mount_point [share_options]
cfsshare share -p nfs [-N nfs_share_options ] mount_point

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.