Veritas Storage Foundation 5.1 SP1 Cluster File System Administrator"s Guide (5900-1738, April 2011)
# cfsshare delete -p cifs /mnt1
Deleting the VIP added previously:
cfsshare deletevip address
For example:
# cfsshare deletevip 10.182.79.216
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 have added the address using 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
Common Internet File System
Administering Common Internet File System
168