System Administration Guide: Network Services

create Subcommand

The create subcommand makes (or creates) a share group. After you create a share group, use the add-share subcommand to add shares to the group. Note the following:

This subcommand supports the following options:


Checks the validity of a desired configuration.


Specifies a file-system type. The default is NFS.


Specifies a property for the new share group.


Provides an online-help description.

The create subcommand uses the following syntax:

# sharemgr create [-h] [-n] [-P protocol] [-p property=value] share_group

The following example creates my_group with the following parameters:

example# sharemgr create -P nfs -p rw=true -p nosuid=true my_group