System Administration Guide: Network Services

remove-share Subcommand

Use this subcommand to remove a share from a share group.

This subcommand supports the following options:


Checks the validity of the command-line string


Specifies the path to the share, which is a file or a directory


Provides an online-help description

This subcommand uses the following syntax:

# sharemgr remove-share [-h] [-n] -s share-path share_group

The following example removes the share /export/home/home0 from my_group.

example# sharemgr remove-share -s /export/home/home0 my_group