Example: marketing

NFS best practice and implementation guide | TR-4067 - …

Technical Report NFS in NetApp ONTAP Best practice and implementation guide Justin Parisi, NetApp November 2021 | TR-4067 Abstract This document provides basic concepts, support information, configuration tips, and best practices for NFS in NetApp ONTAP . This guide covers the latest available ONTAP versions for currency and length. In most cases, the commands and best practices listed in this guide apply to all ONTAP versions. Results might vary in older ONTAP versions. Consult the product documentation for your ONTAP version when necessary.

NFS security support Table 2 illustrates the supported security methods for securing NFS, both at-rest and in-transit. For more information about specific security features in ONTAP, see TR-4569: Security Hardening Guide for NetApp ONTAP. • At-rest security refers to security for data that is in-place.

Tags:

  Security, Teppan

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of NFS best practice and implementation guide | TR-4067 - …

1 Technical Report NFS in NetApp ONTAP Best practice and implementation guide Justin Parisi, NetApp November 2021 | TR-4067 Abstract This document provides basic concepts, support information, configuration tips, and best practices for NFS in NetApp ONTAP . This guide covers the latest available ONTAP versions for currency and length. In most cases, the commands and best practices listed in this guide apply to all ONTAP versions. Results might vary in older ONTAP versions. Consult the product documentation for your ONTAP version when necessary.

2 2 NFS best practice and implementation guide 2021 NetApp, Inc. All Rights Reserved. TABLE OF CONTENTS Basic NFS concepts in NetApp ONTAP .. 7 Intended audience and assumptions .. 7 Stated support for NFS .. 7 NFS features .. 8 NFS server options .. 9 Namespace concepts .. 11 File locking concepts .. 20 Export concepts .. 23 The anon user .. 29 The root user .. 29 Limiting access to the SVM root volume .. 30 Mapping all UIDs to a single UID (squash_all) .. 32 Special character considerations .. 33 NFS version considerations.

3 34 NFSv2 considerations .. 34 NFSv3 considerations .. 34 considerations .. 39 .. 42 .. 52 .. 56 Name services .. 57 DNS 57 Identity management name services .. 58 Local files .. 59 Multiprotocol NAS .. 61 Qtrees .. 61 Qtrees and file moves .. 61 Qtree IDs and rename behavior .. 61 File handle effect for qtree exports .. 62 Mounting multiple Qtrees in the same volume on the same NFS client .. 62 Subdirectory exports .. 63 User and group owners .. 63 Nondisruptive operations with NFS .. 63 3 NFS best practice and implementation guide 2021 NetApp, Inc.

4 All Rights Reserved. Replay/reply cache .. 64 File 64 Impact of locks on failover scenarios .. 65 Difference between grace seconds and lease seconds .. 66 sessions .. 66 What happens during LIF migrations in .. 66 LIF migrations with NFSv3 .. 66 Safely decommissioning data LIFs in use with NFS .. 67 pNFS and LIF outages .. 68 Wdelay/No_wdelay .. 68 Direct connect NFS .. 68 Choosing volume styles: FlexGroup or FlexVol? .. 69 NFS auditing .. 69 NFS audit setup .. 69 NFS best practices .. 70 General ONTAP best practices.

5 70 ONTAP data LIF best practices with NFS environments .. 71 NFS security best practices .. 75 Name services best practices .. 80 General NAS networking considerations for ONTAP .. 80 NFS client best practices .. 91 Logging, monitoring, and statistics .. 99 Advanced NFS concepts .. 104 Umask .. 104 NFS user nfsnobody .. 105 : nobody:nobody .. 106 Hiding Snapshot copies .. 108 Viewing and managing NFS credentials .. 109 Using ACLs with NFSv3 mounts .. 114 Commands to troubleshoot permission issues .. 116 Dynamic NAS TCP autotuning.

6 120 Exec context throttling .. 120 Network connection concurrency and TCP slots: NFSv3 .. 122 concurrency session slots .. 133 4 NFS best practice and implementation guide 2021 NetApp, Inc. All Rights Reserved. client IDs/NFS4 ERR_CLID_INUSE .. 135 NFS silly renames .. 136 How ONTAP NFS handles atime updates .. 137 NAS flow control .. 137 Using FlexClone to quickly change all UIDs/GIDs in a volume .. 138 Auxiliary GIDs addressing the 16 GID limitation for NFS .. 138 High file count considerations.

7 140 NFS on nontraditional operating systems .. 140 NFS on Windows .. 140 NFS using Apple OS .. 142 Appendix A .. 143 Examples .. 143 Default NFS ports in ONTAP .. 169 Where to find additional information .. 169 Request for comments (RFC) .. 169 Technical reports .. 169 Version history .. 171 LIST OF TABLES Table 1) NFS version support in 7 Table 2) NFS security support details.. 8 Table 3) NFS feature support.. 8 Table 4) Unsupported NFS features.. 9 Table 5) Export examples.. 14 Table 6) NFSv3 mode bits versus ACL granularity.

8 37 Table 7) lock terminology.. 43 Table 8) NFS lease and grace periods.. 49 Table 9) Referrals versus migration versus pNFS.. 51 Table 10) delegation benefits.. 55 Table 11) Limits on local users and groups in ONTAP.. 60 Table 12) Replay/reply cache NDO behavior.. 64 Table 13) Lock state NDO behavior.. 64 Table 14) UNIX Mode-bit levels.. 77 Table 15) Nconnect performance 97 Table 16) VM statistic masks.. 101 5 NFS best practice and implementation guide 2021 NetApp, Inc. All Rights Reserved. Table 17) NFS credential cache settings.

9 113 Table 18) Exec contexts per node.. 121 Table 19) Exec context throttle scale.. 121 Table 20) Job comparisons parallel dd with 65,536 and 128 RPC slots.. 126 Table 21) Job comparisons parallel dd with 65,536, 128, and 64 RPC slots.. 127 Table 22) High file count creation (one million files) NFSv3 with and without nconnect default slot tables.. 128 Table 23) High file count creation (one million files) NFSv3 with and without nconnect 128 slot tables.. 129 Table 24) High file count creation (one million files) NFSv3 with and without nconnect 16 slot tables.

10 129 Table 25) Total clients at maximum concurrent operations (128) before node exec context exhaustion.. 129 Table 26) Total clients using 16 slot tables before node exec context exhaustion.. 130 Table 27) Job comparisons - parallel dd NFSv3 and with 65536 RPC slots.. 130 Table 28) One million files using NFSv3, 65536 slots VM dirty bytes defaults versus tuned.. 132 Table 29) 50x 500MB files using dd NFSv3, 65536 slots VM dirty bytes defaults versus tuned.. 133 Table 30) session slot performance comparison.


Related search queries