Oracle ZFS Storage Appliance Administration Manual page 406

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

Advertisement

Share and Project Protocols
TABLE 109
BUI Share
Mode Value
None
Read/write
Read only
The following example sets the share mode for all clients to read-only. The root users on all
clients will access the files on the share as if they were the generic "nobody" user.
set sharenfs=ro
Either or both of the nosuid and anon options can also be appended. Therefore, to define the
mapping of all unknown users to the uid 153762, you might specify the following:
set sharenfs="ro,anon=153762"
CLI property values that contain the "=" character must be quoted.
Note -
406
Oracle ZFS Storage Appliance Administration Guide, Release OS8.6.x • September 2016
NFS Share Mode Values (BUI and CLI)
CLI Share Mode
Description
Value
Share mode is disabled.
off
The share name is the dataset name and is available for
on
reading and writing or reading only if the rw or ro NFS
exceptions are defined. For all other clients, share mode is
disabled.
The share name is the resource name and is available for
<resource name>
reading and writing or reading only if the rw or ro NFS
exceptions are defined. For all other clients, share mode is
disabled.
The share name is the dataset name and is available for
on
reading and writing for all clients if there are no NFS
exceptions.
The share name is the dataset name and is available for
rw
reading and writing for all clients except those for which
the ro exception is defined.
The share name is the resource name and is available for
<resource name>
reading and writing for all clients if there are no NFS
exceptions.
The share name is the resource name, is available for
<resource name>,rw
reading and writing for all clients except those for which
the ro exception is defined. NFS exceptions may or may
not be defined.
The share name is the dataset name and is available for
ro
reading only for all hosts except those for which the rw
exception is defined.
The share name is the resource name, is available for
<resource name>,ro
reading only for all clients except those for which the rw
exception is defined. NFS exceptions may or may not be
defined.
Example
sharesmb=off
sharesmb="on,
ro=sf.example.com"
sharesmb="myshare,
ro=sf.example.com"
sharesmb=on
sharesmb=rw or
sharesmb="rw,
ro=sf.example.com"
sharesmb=myshare
sharesmb="myshare,
rw" or sharesmb="
myshare,rw,ro=sf.
example.com"
sharesmb="ro,
rw=sf.example.com"
sharesmb="myshare,
ro" or sharesmb="
myshare,ro,rw=sf.
example.com"

Advertisement

Table of Contents
loading

Table of Contents