Print this page
11083 support NFS server in zone
Portions contributed by: Dan Kruchinin <dan.kruchinin@nexenta.com>
Portions contributed by: Stepan Zastupov <stepan.zastupov@gmail.com>
Portions contributed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>
Portions contributed by: Mike Zeller <mike@mikezeller.net>
Portions contributed by: Dan McDonald <danmcd@joyent.com>
Portions contributed by: Gordon Ross <gordon.w.ross@gmail.com>
Portions contributed by: Vitaliy Gusev <gusev.vitaliy@gmail.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Jason King <jbk@joyent.com>
Reviewed by: C Fraire <cfraire@me.com>
Change-Id: I22f289d357503f9b48a0bc2482cc4328a6d43d16

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/nfs/svc/nlockmgr.xml
          +++ new/usr/src/cmd/fs.d/nfs/svc/nlockmgr.xml
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   When distributing Covered Code, include this CDDL HEADER in each
  16   16   file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  17   17   If applicable, add the following below this CDDL HEADER, with the
  18   18   fields enclosed by brackets "[]" replaced with your own identifying
  19   19   information: Portions Copyright [yyyy] [name of copyright owner]
  20   20  
  21   21   CDDL HEADER END
  22   22  
  23   23          Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24          Copyright (c) 2012, 2015 by Delphix. All rights reserved.
       25 +        Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
       26 +        Copyright 2019 Nexenta by DDN, Inc.  All rights reserved.
  25   27  
  26   28          NOTE:  This service manifest is not editable; its contents will
  27   29          be overwritten by package or patch operations, including
  28   30          operating system upgrade.  Make customizations in a different
  29   31          file.
  30   32  
  31   33          Note: if this service is modified to consist of anything other
  32   34          than a single instance named 'default', you must make changes to
  33   35          $SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock().
  34   36  -->
↓ open down ↓ 23 lines elided ↑ open up ↑
  58   60              grouping='require_all'
  59   61              restart_on='error'
  60   62              type='service'>
  61   63                  <service_fmri value='svc:/network/nfs/status' />
  62   64          </dependency>
  63   65  
  64   66          <dependency name='filesystem-minimal'
  65   67              grouping='require_all'
  66   68              restart_on='error'
  67   69              type='service'>
  68      -                <service_fmri value='svc:/system/filesystem/minimal' />
       70 +                <service_fmri value='svc:/system/filesystem/minimal' />
  69   71          </dependency>
  70   72  
  71   73          <exec_method
  72   74              type='method'
  73   75              name='start'
  74   76              exec='/lib/svc/method/nlockmgr'
  75   77              timeout_seconds='300' />
  76   78  
  77   79          <exec_method
  78   80              type='method'
↓ open down ↓ 7 lines elided ↑ open up ↑
  86   88                  <propval name='ipf_method' type='astring'
  87   89                          value='/lib/svc/method/nfs-server ipfilter' />
  88   90          </property_group>
  89   91  
  90   92          <property_group name='application' type='framework'>
  91   93                  <stability value='Evolving' />
  92   94                  <propval name='auto_enable' type='boolean' value='true' />
  93   95          </property_group>
  94   96          <instance name='default' enabled='false'>
  95   97            <property_group name='nfs-props' type='com.oracle.nfs,props'>
  96      -            <propval name='grace_period' type='integer' value='90'/>
       98 +            <propval name='grace_period' type='integer' value='60'/>
  97   99              <propval name='lockd_listen_backlog' type='integer' value='32'/>
  98  100              <propval name='lockd_retransmit_timeout' type='integer' value='5'/>
  99  101              <propval name='lockd_servers' type='integer' value='256'/>
 100  102            </property_group>
 101  103          </instance>
 102  104          <stability value='Stable' />
 103  105  
 104  106          <template>
 105  107                  <common_name>
 106  108                          <loctext xml:lang='C'>
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX