Listing Of Existing Nas Share Names; Getting The Total Nas Share Count; Adding A Nas Share; July - Quantum DXi4500 Manual

Dxi series command line interface (cli) guide
Hide thumbs Also See for DXi4500:
Table of Contents

Advertisement

Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-02 Rev A

July 2011

Listing of Existing NAS
Share Names
Getting the Total NAS
Share Count

Adding a NAS Share

30
syscli --list sharename [--proto cifs|nfs] [--namematch <pattern>]
This CLI lists all share names for both CIFS and NFS. If --proto is specified, only
names of shares associated with the specified protocol will be listed.
CLI command options:
• --proto: If specified, limits the listing to the specified protocol.
• --namematch: If specified, only shares whose names match the specified
pattern are listed.
The wild characters ^ and $ are supported as follows:
• ^xxx — matching pattern xxx at the start of names
• xxx$ — matching pattern xxx at the end of names
Remember to escape $ with a backslash because it is special to the shell. For
example, to list all shares ending with test in the names, type the following
command: syscli --list sharename --namematch test\$
Alternately, you can list a single share with the following CLI command:
syscli --get share --name <sharename>
syscli --getcount share [--proto cifs|nfs] [--namematch <pattern>]
This CLI displays the total count of NAS shares defined in the system.
• --proto: If specified, displays the count for this protocol only.
• --namematch: If specified, only shares whose names match the specified
pattern are counted.
The wild characters ^ and $ are supported as follows:
• ^xxx – Matching pattern xxx at the start of names
• xxx$ – Matching pattern xxx at the end of names
Remember to escape $ with a backslash because it is special to the shell. For
example, to count all shares ending with test in the names, type the following
command: syscli --getcount share --namematch test\$
syscli --add share (--name <sharename> --proto {cifs|nfs} [--desc
<description>] [--ro] [--dedup] [--hidden] [--namecase lower|default] [--
anonuid <anonymous_uid>] [--anongid <anonymous_gid>])
This CLI command allows the admin user to add one or more NAS shares. To add
more than one share, repeat the same set of options noting that all mandatory
options must be re-specified even if they are unchanged.
For example, to add three shares:
syscli --add share --name share1 --proto cifs \ --name share2 --proto cifs --ro
--name share3 --proto nfs
NAS Configuration CLI Commands

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxi6500Dxi6700

Table of Contents