Print this page
2988 nfssrv: need ability to go to submounts for v3 and v2 protocols
Portions contributed by: Marcel Telka <marcel.telka@nexenta.com>
Portions contributed by: Jean McCormack <jean.mccormack@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Alek Pinchuk <alek.pinchuk@nexenta.com>
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Dan McDonald <danmcd@joyent.com>
Change-Id: I6fdf110cc17e789353c4442b83a46cb80643456e

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/share_nfs.1m.man.txt
          +++ new/usr/src/man/man1m/share_nfs.1m.man.txt
↓ open down ↓ 92 lines elided ↑ open up ↑
  93   93                 log[=tag]
  94   94                           Enables NFS server logging for the specified file
  95   95                           system.  The optional tag determines the location of
  96   96                           the related log files.  The tag is defined in
  97   97                           /etc/nfs/nfslog.conf.  If no tag is specified, the
  98   98                           default values associated with the global tag in
  99   99                           /etc/nfs/nfslog.conf are used.  Support of NFS server
 100  100                           logging is only available for NFS Version 2 and
 101  101                           Version 3 requests.
 102  102  
      103 +               nohide    By default, if server exports two filesystems, one of
      104 +                         which is mounted as a child of the other, NFS Version
      105 +                         2 and Version 3 clients must mount both filesystems
      106 +                         explicitly in order to access them.  If a client only
      107 +                         mounts the parent, it will see an empty directory at
      108 +                         the location where the other filesystem is mounted.
      109 +
      110 +                         Setting the nohide option on a filesystem causes it
      111 +                         to no longer be hidden in this manner, and the client
      112 +                         will be able to move from the parent filesystem to
      113 +                         this one without noticing the change.  However, some
      114 +                         NFS clients or applications may not function
      115 +                         correctly when this option is used.  In particular,
      116 +                         files on different underlying filesystems may appear
      117 +                         to have the same inode numbers.  The nohide option
      118 +                         only applies to NFS Version 2 and Version 3 requests.
      119 +
 103  120                 noaclfab  By default, the NFS server will fabricate POSIX-draft
 104  121                           style ACLs in response to ACL requests from NFS
 105  122                           Version 2 or Version 3 clients accessing shared file
 106  123                           systems that do not support POSIX-draft ACLs (such as
 107  124                           ZFS).  Specifying noaclfab disables this behavior.
 108  125  
 109  126                 none=access_list
 110  127                           Access is not allowed to any client that matches the
 111  128                           access list.  The exception is when the access list
 112  129                           is an asterisk (*), in which case ro or rw can
↓ open down ↓ 350 lines elided ↑ open up ↑
 463  480       a symbolic link.  This allows the processing of paths that are not
 464  481       themselves explicitly shared with share_nfs.  For example, /export/foo
 465  482       might be a symbolic link that refers to /export/bar which has been
 466  483       specifically shared.  When the client mounts /export/foo the mountd
 467  484       processing follows the symbolic link and responds with the /export/bar.
 468  485       The NFS Version 4 protocol does not use the mountd processing and the
 469  486       client's use of /export/foo does not work as it does with NFS Version 2
 470  487       and Version 3 and the client receives an error when attempting to mount
 471  488       /export/foo.
 472  489  
      490 +     The nohide option violates RFC 1094, Network File System Protocol
      491 +     Specification and RFC 1813, NFS: Network File System Version 3 Protocol
      492 +     Specification
      493 +
      494 +     The nohide option is provided for compatibility with Linux NFS.
      495 +
 473  496  illumos                         March 23, 2017                         illumos
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX