Oracle ZFS Storage Appliance Administration Manual page 407

Hide thumbs Also See for ZFS Storage Appliance:
Table of Contents

Advertisement

Additional NFS exceptions can be specified by appending text of the form "option=collection",
where "option" is one of ro, rw, or root, defining the type of access to be granted to the client
collection. The collection is specified by the prefix character from Client Types table and either
a DNS hostname/domain name or CIDR network number. For example, to grant read-write
access to all hosts in the sf.example.com domain and root access to those in the 192.168.44.0/24
network, you might use:
set sharenfs="ro,anon=153762,rw=.sf.example.com,root=@192.168.44.0/24"
This example only applies to NFS exceptions.
Note -
Netgroup names can be used anywhere an individual fully qualified hostname can be used. For
example, you can permit read-write access to the "engineering" netgroup as follows:
set sharenfs="ro,rw=engineering"
NFS Protocol Character Set Encodings
Normally, the character set encoding used for filename is unspecified. The NFSv3 and NFSv2
protocols do not specify the character set. NFSv4 is supposed to use UTF-8, but not all clients
do and this restriction is not enforced by the server. If the UTF-8 only option is disabled for a
share, these filenames are written verbatim to the filesystem without any knowledge of their
encoding. This means that they can only be interpreted by clients using the same encoding.
SMB, however, requires filenames to be stored as UTF-8 so that they can be interpreted on the
server side. This makes it impossible to support arbitrary client encodings while still permitting
access over SMB.
In order to support such configurations, the character set encoding can be set share-wide or on a
per-client basis. The following character set encodings are supported:
cp932
euc-cn
euc-jp
euc-jpms
euc-kr
The default behavior is to leave the character set encoding unspecified (pass-through). The BUI
allows the character set to be chosen through the standard exception list mechanism. In the CLI,
each character set itself becomes an option with one or more hosts, with '*' indicating the share-
wide setting. For example, the following:
euc-tw
iso8859-1
iso8859-2
iso8859-5
iso8859-6
Share and Project Protocols
iso8859-7
iso8859-8
iso8859-9
iso8859-13
iso8859-15
Shares and Projects
koi8-r
shift_jis
407

Advertisement

Table of Contents
loading

Table of Contents