Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-02 Rev A
July 2011
32
NAS Configuration CLI Commands
•
--name
:
sharename
: must be alphanumeric character. Must begin with a
letter.
•
--perms
: change permissions to read-write or read-only.
•
--restart
: applicable to CIFS share only. If specified, restart CIFS service. This
can cause disruption to all users and all backup jobs.
•
--hidden
:
hidden
: true if share name is not browseable in the browser (for
CIFS shares only).
•
--anonuid
: Anonymous user id (for NFS only), usually 4294967294 on 32-bit
systems or 65534 on 16-bit systems.
•
--anongid
: Anonymous group id (for NFS only), usually 4294967294 on 32-
bit systems or 65534 on 16-bit systems.
•
--namecase
: if specified, client file/directory names are treated as case-
insensitive and case-preserved. This option makes a difference only for
shares that were previously created with the option
--namecase lower
.
Basically, it makes the share behave as if it had been created without the
--namecase
option. This option is useful in the following situation:
• User creates a share using option
--namecase lower
.
• Some files/directories with mixed case are somehow copied over to the
share without using CIFS.
• User can browse these files in browsers but cannot open, rename,
move, copy, or delete.
In this case, to access them via CIFS, their names have to be changed to
lower case, but this task is impossible to do over CIFS. One of the
solutions is for users to use this edit command to revert name support
to the default (case-insensitive and case-preserved).
After the
--namecase
option is executed successfully:
• Old file/directory names in the share remain unchanged.
• New file/directory names will be saved as is (case-preserved).
• File/directory search is performed in a case-insensitive manner.
Note:
After the
--namecase
option is used, the share cannot be changed
back to support lower case file/directory names.
Deleting a NAS Share
syscli --del share (--name <share_name>)
This CLI command allows the admin user to delete one or more existing NAS
shares. The NAS share name is required to delete a share. When a share is
deleted, all connections to the share are severed and all data stored on it is
removed permanently.
Deleting All NAS Shares
syscli --deleteall share [--proto {cifs|nfs}] [--namematch <pattern>] [--
sure]