Print this page
    
NEX-1704 Clustered NFSv4 could cause I/O errors on clients after failover
Reviewed by:  Evan Layton <evan.layton@nexenta.com>
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Alek Pinchuk <alek.pinchuk@nexenta.com>
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/pkg/manifests/system-file-system-nfs.mf
          +++ new/usr/src/pkg/manifests/system-file-system-nfs.mf
   1    1  #
   2    2  # CDDL HEADER START
   3    3  #
   4    4  # The contents of this file are subject to the terms of the
   5    5  # Common Development and Distribution License (the "License").
   6    6  # You may not use this file except in compliance with the License.
   7    7  #
   8    8  # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9    9  # or http://www.opensolaris.org/os/licensing.
  10   10  # See the License for the specific language governing permissions
  11   11  # and limitations under the License.
  12   12  #
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  
    | 
      ↓ open down ↓ | 
    13 lines elided | 
    
      ↑ open up ↑ | 
  
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
       24 +# Copyright 2016 Nexenta Systems, Inc.  All rights reserved.
  24   25  #
  25   26  
  26   27  set name=pkg.fmri value=pkg:/system/file-system/nfs@$(PKGVERS)
  27   28  set name=pkg.description value="Network File System (NFS) client support"
  28   29  set name=pkg.summary value="Network File System (NFS) client support"
  29   30  set name=info.classification \
  30   31      value="org.opensolaris.category.2008:System/File System"
  31   32  set name=variant.arch value=$(ARCH)
  32   33  dir path=etc group=sys
       34 +dir path=etc/cluster group=sys
  33   35  dir path=etc/default group=sys
  34   36  dir path=etc/fs group=sys
  35   37  dir path=etc/fs/nfs group=sys
  36   38  dir path=kernel group=sys
  37   39  dir path=kernel/fs group=sys
  38   40  dir path=kernel/fs/$(ARCH64) group=sys
  39   41  dir path=kernel/misc group=sys
  40   42  dir path=kernel/misc/$(ARCH64) group=sys
  41   43  dir path=kernel/sys group=sys
  42   44  dir path=kernel/sys/$(ARCH64) group=sys
  43   45  dir path=lib
  44   46  dir path=lib/svc
  45   47  dir path=lib/svc/manifest group=sys
  46   48  dir path=lib/svc/manifest/network group=sys
  47   49  dir path=lib/svc/manifest/network/nfs group=sys
  48   50  dir path=lib/svc/method
  49   51  dir path=usr group=sys
  50   52  dir path=usr/bin
  51   53  dir path=usr/lib
  52   54  dir path=usr/lib/fs group=sys
  53   55  dir path=usr/lib/fs/nfs group=sys
  
    | 
      ↓ open down ↓ | 
    11 lines elided | 
    
      ↑ open up ↑ | 
  
  54   56  dir path=usr/lib/nfs group=sys
  55   57  dir path=usr/sbin
  56   58  dir path=usr/share/man
  57   59  dir path=usr/share/man/man1
  58   60  dir path=usr/share/man/man1m
  59   61  dir path=usr/share/man/man4
  60   62  dir path=var group=sys
  61   63  dir path=var/nfs
  62   64  dir path=var/nfs/v4_oldstate group=daemon owner=daemon
  63   65  dir path=var/nfs/v4_state group=daemon owner=daemon
       66 +file path=etc/cluster/nodeid group=sys mode=0644
  64   67  file path=etc/default/nfs group=sys original_name=SUNWnfsc:etc/default/nfs \
  65   68      preserve=renameold
  66   69  file path=etc/fs/nfs/mount mode=0555
  67   70  file path=etc/nfssec.conf group=sys original_name=SUNWnfsc:etc/nfssec.conf \
  68   71      preserve=true
  69   72  file path=kernel/fs/$(ARCH64)/nfs group=sys mode=0755
       73 +file path=kernel/misc/$(ARCH64)/cl_bootstrap group=sys mode=0755
  70   74  file path=kernel/misc/$(ARCH64)/klmmod group=sys mode=0755
  71   75  file path=kernel/misc/$(ARCH64)/klmops group=sys mode=0755
  72   76  file path=kernel/misc/$(ARCH64)/nfs_dlboot group=sys mode=0755
  73   77  file path=lib/svc/manifest/network/nfs/cbd.xml group=sys mode=0444
  74   78  file path=lib/svc/manifest/network/nfs/client.xml group=sys mode=0444
  75   79  file path=lib/svc/manifest/network/nfs/mapid.xml group=sys mode=0444
  76   80  file path=lib/svc/manifest/network/nfs/nlockmgr.xml group=sys mode=0444
  77   81  file path=lib/svc/manifest/network/nfs/status.xml group=sys mode=0444
  78   82  file path=lib/svc/method/nfs-client mode=0555
  79   83  file path=lib/svc/method/nlockmgr mode=0555
  80   84  file path=usr/bin/nfsstat mode=0555
  81   85  file path=usr/lib/fs/nfs/dfmounts mode=0555
  82   86  file path=usr/lib/fs/nfs/dfshares mode=0555
  83   87  file path=usr/lib/fs/nfs/nfsfind group=sys mode=0555
  84   88  file path=usr/lib/fs/nfs/showmount mode=0555
  85   89  file path=usr/lib/fs/nfs/umount mode=0555
  86   90  file path=usr/lib/nfs/libmapid.so.1
  87   91  file path=usr/lib/nfs/llib-lmapid
  88   92  file path=usr/lib/nfs/llib-lmapid.ln
  89   93  file path=usr/lib/nfs/lockd mode=0555
  90   94  file path=usr/lib/nfs/nfs4cbd mode=0555
  91   95  file path=usr/lib/nfs/nfsmapid mode=0555
  92   96  file path=usr/lib/nfs/statd mode=0555
  93   97  file path=usr/share/man/man1m/mount_nfs.1m
  94   98  file path=usr/share/man/man1m/nfs4cbd.1m
  95   99  file path=usr/share/man/man1m/nfsmapid.1m
  96  100  file path=usr/share/man/man1m/nfsstat.1m
  97  101  file path=usr/share/man/man1m/showmount.1m
  98  102  file path=usr/share/man/man1m/statd.1m
  99  103  file path=usr/share/man/man4/nfs.4
 100  104  file path=usr/share/man/man4/nfssec.conf.4
 101  105  group groupname=unknown gid=96
 102  106  hardlink path=kernel/sys/$(ARCH64)/nfs target=../../../kernel/fs/$(ARCH64)/nfs
 103  107  legacy pkg=SUNWnfsckr \
 104  108      desc="Network File System (NFS) client kernel support (Root)" \
 105  109      name="Network File System (NFS) client kernel support (Root)"
 106  110  legacy pkg=SUNWnfscr desc="Network File System (NFS) client support (Root)" \
 107  111      name="Network File System (NFS) client support (Root)"
 108  112  legacy pkg=SUNWnfscu desc="Network File System (NFS) client support (Usr)" \
 109  113      name="Network File System (NFS) client support (Usr)"
 110  114  license cr_ATT license=cr_ATT
 111  115  license cr_Sun license=cr_Sun
 112  116  license lic_CDDL license=lic_CDDL
 113  117  license lic_OSBL license=lic_OSBL
 114  118  license lic_OSBL_preamble license=lic_OSBL_preamble
 115  119  link path=usr/lib/fs/nfs/mount target=../../../../etc/fs/nfs/mount
 116  120  link path=usr/lib/nfs/libmapid.so target=libmapid.so.1
 117  121  link path=usr/sbin/showmount target=../lib/fs/nfs/showmount
 118  122  user username=unknown ftpuser=false gcos-field="Unknown Remote UID" \
 119  123      group=unknown uid=96
 120  124  depend fmri=system/kernel/secure-rpc type=require
  
    | 
      ↓ open down ↓ | 
    41 lines elided | 
    
      ↑ open up ↑ | 
  
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX