System Administration Guide: Network Services

stop Subcommand

This subcommand is similar to the disable subcommand with these distinctions:

This subcommand supports the following options:

-a

Specifies all groups

-h

Provides an online-help description

Table 6–5 Two Ways to Stop a Share Group

Using the stop Subcommand

Using the svcadm Command

The stop subcommand uses the following syntax:


# sharemgr stop [-h] [share-group | -a]

The following example unshares the shares in all groups. 


# sharemgr stop -a

The svcadm command uses the following syntax:


# svcadm stop network/shares/group:share-group

The following example unshares the shares in my-group.


# svcadm stop network/shares/group:my-group