Dell Unity™ Family Unisphere® Command Line Interface User Guide

PDF

Set snapshot NFS share

Modifies an existing snapshot NFS share.

Format

/prot/snap/nfs {-id <value> | -name <value>} set [-async] [-descr <value>] [-defAccess { ro | rw | roroot | root | na }] [-advHostMgmtEnabled { yes | no }] [{[-roHosts <value>] [-rwHosts <value>] [-roRootHosts <value>] [-rootHosts <value>] [-naHosts <value>] [-addRoHosts <value>] [-addRwHosts <value>] [-addRoRootHosts <value>] [-addRootHosts <value>] [-addNaHosts <value>] [-removeHosts <value>]}] [-minSecurity {sys | krb5 | krb5i | krb5p}]

Object qualifier

QualifierDescription
-idID of the snapshot NFS share.
-nameName of the snapshot NFS share.

Action qualifier

QualifierDescription
-asyncRun the operation in asynchronous mode.
-descrType the description of the share.
-defAccessSpecifies the new user description of the share. Valid values are:
  • ro—Read-only access
  • rw—Read/write access
  • roRoot—Read-only root access
  • root—Root access
  • na—No access
-advHostMgmtEnabled

Specifies whether the hosts that are specified in the hosts lists are defined using /remote/host objects with their identifier (advanced host management). Valid values (case insensitive): yes or no. This setting may be updated only if the four hosts list below are empty.

-roHosts

Specifies the comma-separated list of identifiers of hosts that are allowed to read the snapshot NFS share. It overwrites the existing the read-only hosts.

-rwHosts Specifies the comma-separated list of identifiers of hosts that are allowed to read and write the snapshot NFS share. It overwrites the existing read/write hosts.
-roRootHosts Specifies the comma-separated list of identifiers of hosts with read-only root permissions to the snapshot NFS share. It overwrites the existing read-only root hosts.
-rootHosts Specifies the comma-separated list of identifiers of hosts with root permissions for the snapshot NFS share. It overwrites the existing root hosts.
-naHosts Specifies the comma-separated list of identifiers of hosts without access to the snapshot NFS share. It overwrites the existing no-access hosts.
-addRoHosts Specifies the comma-separated list of hosts to be added with read-only access to the snapshot NFS share. This option allows you to incrementally add hosts with read-only access to VMware NFS snapshot share. It does not overwrite all existing read-only hosts.
-addRwHosts Specifies the comma-separated list of hosts to be added with read/write access to the snapshot NFS share. This option allows you to incrementally add hosts with read/write access to the snapshot NFS share. It does not overwrite all existing read/write hosts.
-addRoRootHosts Specifies the comma-separated list of hosts to be added with read-only root access to the snapshot NFS share. This option allows you to incrementally add hosts with read-only root access to the snapshot NFS share. It does not overwrite all existing read-only root hosts.
-addRootHosts Specifies the comma-separated list of hosts to be given read/write root access to the snapshot NFS share. This option allows you to incrementally add hosts with read/write root access to the snapshot NFS share. It does not overwrite all existing read/write hosts with read/write root access.
-addNaHosts Specifies the comma-separated list of hosts that will have no access to the snapshot NFS share. This option allows you to incrementally specify hosts that will have no access to the snapshot NFS share. It does not overwrite all existing no-access hosts.
-removeHosts Specifies the comma-separated list of hosts for which access to the snapshot NFS share will be removed. This option allows you to incrementally remove host access to the snapshot NFS share.
-minSecuritySpecifies the minimal security option that must be provided by a client for the NFS mount operation. Valid values are (from least secure to most secure):
  • sys—Also known as AUTH_SYS security. This indicates that there is no server-side authentication. When secure NFS is not configured on a NAS server, this is the default value.
  • krb5—Kerberos v5 authentication. This is the default value when secure NFS is configured on the NAS server.
  • krb5i—Kerberos v5 authentication and integrity.
  • krb5p—Kerberos v5 authentication and integrity, with encryption enabled.

Example 1

The following example adds a description of snapshot NFS_1.

uemcli -d 10.0.0.1 -u Local/joe -p MyPassword456! /prot/snap/nfs -id NFS_1 set -descr "My share"
Storage system address: 10.0.0.1
Storage system port: 443
HTTPS connection

ID = NFS_1
Operation completed successfully.

Example 2

The following example adds read-only Host_2 with root access, adds read/write Host_3 with root access, and removes Host_1 from having access to NFSShare_1.

uemcli /prot/snap/nfs -id NFSShare_1 set -addRoHosts Host_2 -addRoRootHosts Host_3 -removeHosts Host_1
D = NFSShare_1
Operation completed successfully.

  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\