Unsharing the previous shared CFS file system

Before running this command, you should have run the cfsshare share command.

The cfsshare unshare command enables the user to stop sharing the file system mounted at the mount_point. This command moves the Share, CFSMount, and CVMVolDg resources corresponding to the mount_point from cfsnfssg service group to a newly created service group. The SambaShare resource is taken offline and then deleted.

cfsshare unshare 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 newly created service group and deletes the corresponding resources from the original service group.

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

Running the cfsmntadm delete command does not remove the ActivationMode attribute. If no volumes or vsets in the disk group are in the VCS config, you must use the cfsdgadm delete to remove this ActivationMode attribute.