Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-05 Rev B
April 2012
32
NAS Configuration CLI Commands
This command works only when the server is joined to a workgroup. If the
server is joined to an Active Directory domain, please use the Microsoft
Management Console (MMC) tool. If the
--sure
option is specified, no
confirmation prompt will be displayed.
NFS Share Access
Control
The following NFS Share Access control commands are available:
•
•
•
•
Listing a Share Host
syscli --list sharehost --share <share_name>
This CLI command allows the admin user to display a list all specific NFS hosts
that are allowed access to a given NFS share. By default, if this list is empty, all
NFS hosts are allowed read
-
write access to the share.
Adding a Share Host
syscli --add sharehost --share <NFS_share_name> --host
<NFS_host_name> [--rw]
This CLI command allows the admin user to grant the right to access the
specified NFS share to a given NFS host. By default the specified host has
read
-
only access to the share. If
--rw
is specified, it has full read
-
write access to
the share. However, the effective access right of the host depends on the share
access mode. If the share is read
-
only (see the
--add share
command), all hosts
specified in the share access list will effectively have read
-
only access regardless
of their settings.
By default, an NFS share is created with an empty initial share access list. When
the share access list is empty, all NFS hosts are allowed read
-
write access to it.
This CLI command can be used to add an NFS host to the share access list of an
NFS share. As soon as the share access list contains NFS host names, only these
hosts have access to the share.
Deleting a Share Host
syscli --del sharehost --share <NFS_share_name> --host <NFS_host_name>
This CLI command allows the admin user to remove the right to access the
specified NFS share from an NFS host. When the last NFS host is deleted, the
share access list of the specified share is empty, which means the share now
allows read
-
write access to all NFS hosts (see command
--add sharehost
).