View Shares

You can view a list of shares being managed by StorNext NAS. The list includes the number of shares, share name, share type, path, options, and host(s) associated with the share. You can also show information for a defined group of shares.

Caution

Note: For a list of all the Appliance Controller commands, see the Command Index.

To view shares:

  1. Log in to the Appliance Controller CLI.
  2. Enter:

    share show [<share_name>] [<share_type>] [paged]

    Note: Ensure that the file system you want to display is mounted. Otherwise, this command does not display any NAS shares, and the snnas_controller log file contains error messages.

    The parameters are:

    <share_name>

    (Optional) The name of the share(s) for which to list information.

    <share_type>

    (Optional) The type of share, either nfs or smb, for which to list information.

    paged

    (Optional) Displays the output one page at a time.

    This parameter allows ease-of-access when viewing a large number of managed shares.

    Example:

    > share show

    Multi Protocol File Locking Support: Enabled
    SMB global options:
       named streams = true
       server multi channel support = no
       server min protocol = SMB2_02
    2 shares:
    1: nfs1 | nfs | /stornext/snfs1/nfs1 | rw,sync,fsid=8000,nfshosts=*
    2: smb1 | smb | /stornext/snfs1/smb1 | public = no,writable = yes
    

    Example (NFS shared only):

    > share show nfs

    Multi Protocol File Locking Support: Enabled
    1 shares:
    1: nfs1 | nfs | /stornext/snfs1/nfs1 | rw,sync,fsid=8000,nfshosts=*