Repository navigation
Expand file tree
/
Copy pathnetapp-tutorial10.html
More file actions
1659 lines (1457 loc) · 105 KB
/
Copy pathnetapp-tutorial10.html
File metadata and controls
1659 lines (1457 loc) · 105 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NetApp ONTAP Series — Tutorial 10: NFS Setup, Export Policies, User Management & AD Integration</title>
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Sora:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');
:root {
--bg-primary: #0d1117;
--bg-secondary: #161b22;
--bg-card: #1c2333;
--bg-card-hover: #21283a;
--accent-blue: #58a6ff;
--accent-green: #3fb950;
--accent-orange: #f78166;
--accent-purple: #bc8cff;
--accent-yellow: #e3b341;
--accent-teal: #39d3c3;
--text-primary: #e6edf3;
--text-secondary: #8b949e;
--text-muted: #6e7681;
--border: #30363d;
--border-bright: #484f58;
--sidebar-width: 290px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
font-family: 'Inter', sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
display: flex;
min-height: 100vh;
}
#reading-progress {
position: fixed; top: 0; left: var(--sidebar-width); right: 0;
height: 3px; background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
transform-origin: left; transform: scaleX(0);
z-index: 999; transition: transform 0.1s linear;
}
.sidebar {
width: var(--sidebar-width);
background: var(--bg-secondary);
border-right: 1px solid var(--border);
position: fixed;
top: 0; left: 0;
height: 100vh;
overflow-y: auto;
z-index: 100;
display: flex;
flex-direction: column;
}
.sidebar-header {
padding: 20px 16px;
border-bottom: 1px solid var(--border);
background: var(--bg-secondary);
position: sticky; top: 0; z-index: 10;
}
.sidebar-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.sidebar-logo .logo-icon {
width: 32px; height: 32px;
background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
border-radius: 8px;
display: flex; align-items: center; justify-content: center;
font-size: 16px;
}
.sidebar-logo span { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px; color: var(--text-primary); letter-spacing: 0.5px; }
.sidebar-subtitle { font-size: 11px; color: var(--text-muted); padding-left: 42px; }
.toc-nav { padding: 12px 0; flex: 1; }
.toc-section-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted); padding: 12px 16px 6px; }
.toc-link {
display: flex; align-items: center; gap: 8px;
padding: 7px 16px; font-size: 12.5px;
color: var(--text-secondary); text-decoration: none;
transition: all 0.2s ease;
border-left: 2px solid transparent; line-height: 1.4;
}
.toc-link:hover { background: var(--bg-card); color: var(--text-primary); border-left-color: var(--accent-blue); }
.toc-link.active { background: rgba(88,166,255,0.1); color: var(--accent-blue); border-left-color: var(--accent-blue); font-weight: 500; }
.toc-link .toc-num { font-size: 10px; font-weight: 700; color: var(--text-muted); min-width: 18px; font-family: 'JetBrains Mono', monospace; }
.toc-link.sub { padding-left: 32px; font-size: 12px; }
.main-content { margin-left: var(--sidebar-width); flex: 1; max-width: calc(100vw - var(--sidebar-width)); }
.top-header {
background: linear-gradient(135deg, #0d1117 0%, #1a2744 50%, #0d2035 100%);
border-bottom: 1px solid var(--border);
padding: 60px 60px 50px;
position: relative; overflow: hidden;
}
.top-header::before {
content: ''; position: absolute; inset: 0;
background: radial-gradient(ellipse at 70% 50%, rgba(88,166,255,0.08) 0%, transparent 60%),
radial-gradient(ellipse at 20% 80%, rgba(63,185,80,0.06) 0%, transparent 50%);
}
.header-badge {
display: inline-flex; align-items: center; gap: 6px;
background: rgba(88,166,255,0.12); border: 1px solid rgba(88,166,255,0.3);
border-radius: 20px; padding: 4px 14px;
font-size: 12px; color: var(--accent-blue); font-weight: 500;
margin-bottom: 18px; font-family: 'JetBrains Mono', monospace;
}
.main-title {
font-family: 'Sora', sans-serif; font-size: 38px; font-weight: 800;
line-height: 1.15; margin-bottom: 16px;
background: linear-gradient(135deg, #e6edf3 30%, #58a6ff 70%, #bc8cff 100%);
-webkit-background-clip: text; -webkit-text-fill-color: transparent;
background-clip: text; position: relative;
}
.header-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.7; max-width: 680px; position: relative; }
.header-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 20px; position: relative; }
.meta-chip { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-secondary); }
.meta-chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.progress-bar-wrap { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; position: relative; }
.prog-chip {
background: rgba(255,255,255,0.04); border: 1px solid var(--border);
border-radius: 6px; padding: 3px 10px; font-size: 11.5px;
color: var(--text-muted); font-family: 'JetBrains Mono', monospace;
}
.content-area { padding: 40px 60px 80px; max-width: 1000px; }
.section { margin-bottom: 60px; scroll-margin-top: 30px; }
.section-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.section-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.icon-blue { background: rgba(88,166,255,0.15); border: 1px solid rgba(88,166,255,0.3); }
.icon-green { background: rgba(63,185,80,0.15); border: 1px solid rgba(63,185,80,0.3); }
.icon-orange { background: rgba(247,129,102,0.15); border: 1px solid rgba(247,129,102,0.3); }
.icon-purple { background: rgba(188,140,255,0.15); border: 1px solid rgba(188,140,255,0.3); }
.icon-teal { background: rgba(57,211,195,0.15); border: 1px solid rgba(57,211,195,0.3); }
.icon-yellow { background: rgba(227,179,65,0.15); border: 1px solid rgba(227,179,65,0.3); }
.section-title-wrap h2 { font-family: 'Sora', sans-serif; font-size: 24px; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.section-title-wrap .section-num { font-size: 11px; font-family: 'JetBrains Mono', monospace; color: var(--text-muted); font-weight: 400; margin-bottom: 4px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 20px; transition: border-color 0.2s; }
.card:hover { border-color: var(--border-bright); }
.card-title { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px; color: var(--text-primary); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
p { font-size: 14.5px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 14px; }
.callout { border-radius: 10px; padding: 16px 20px; margin: 20px 0; display: flex; gap: 14px; align-items: flex-start; }
.callout-icon { font-size: 18px; margin-top: 1px; flex-shrink: 0; }
.callout-content { flex: 1; }
.callout-title { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.callout-text { font-size: 13.5px; line-height: 1.7; color: var(--text-secondary); }
.callout.info { background: rgba(88,166,255,0.08); border: 1px solid rgba(88,166,255,0.25); }
.callout.info .callout-title { color: var(--accent-blue); }
.callout.success { background: rgba(63,185,80,0.08); border: 1px solid rgba(63,185,80,0.25); }
.callout.success .callout-title { color: var(--accent-green); }
.callout.warning { background: rgba(227,179,65,0.08); border: 1px solid rgba(227,179,65,0.3); }
.callout.warning .callout-title { color: var(--accent-yellow); }
.callout.danger { background: rgba(247,129,102,0.08); border: 1px solid rgba(247,129,102,0.3); }
.callout.danger .callout-title { color: var(--accent-orange); }
.callout.tip { background: rgba(188,140,255,0.08); border: 1px solid rgba(188,140,255,0.25); }
.callout.tip .callout-title { color: var(--accent-purple); }
.code-block { background: #0a0e13; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 16px 0; font-family: 'JetBrains Mono', monospace; }
.code-header { background: var(--bg-secondary); border-bottom: 1px solid var(--border); padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; }
.code-lang { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; }
.code-dots { display: flex; gap: 5px; }
.code-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ff5f56; } .dot-yellow-c { background: #ffbd2e; } .dot-green-c { background: #27c93f; }
.code-body { padding: 20px; font-size: 13px; line-height: 1.8; color: #79c0ff; overflow-x: auto; white-space: pre; }
.code-body .cmd { color: #3fb950; }
.code-body .comment { color: #6e7681; font-style: italic; }
.code-body .param { color: #ffa657; }
.code-body .value { color: #a5d6ff; }
.code-body .output { color: #8b949e; }
.code-body .prompt { color: #e3b341; }
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13.5px; }
.spec-table th { background: var(--bg-secondary); color: var(--text-secondary); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; padding: 10px 16px; text-align: left; border-bottom: 2px solid var(--border); }
.spec-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); color: var(--text-secondary); vertical-align: middle; }
.spec-table tr:hover td { background: rgba(255,255,255,0.02); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; font-family: 'JetBrains Mono', monospace; }
.badge-blue { background: rgba(88,166,255,0.15); color: var(--accent-blue); border: 1px solid rgba(88,166,255,0.3); }
.badge-green { background: rgba(63,185,80,0.15); color: var(--accent-green); border: 1px solid rgba(63,185,80,0.3); }
.badge-orange { background: rgba(247,129,102,0.15); color: var(--accent-orange); border: 1px solid rgba(247,129,102,0.3); }
.badge-purple { background: rgba(188,140,255,0.15); color: var(--accent-purple); border: 1px solid rgba(188,140,255,0.3); }
.badge-yellow { background: rgba(227,179,65,0.15); color: var(--accent-yellow); border: 1px solid rgba(227,179,65,0.3); }
.badge-teal { background: rgba(57,211,195,0.15); color: var(--accent-teal); border: 1px solid rgba(57,211,195,0.3); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px 0; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 20px; text-align: center; }
.stat-num { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
ul, ol { padding-left: 20px; margin-bottom: 14px; }
li { font-size: 14px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 4px; }
li strong { color: var(--text-primary); }
h3 { font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 600; color: var(--text-primary); margin: 24px 0 12px; }
h4 { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600; color: var(--accent-blue); margin: 18px 0 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.mermaid { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin: 20px 0; overflow-x: auto; }
.diagram-caption { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 8px; font-style: italic; }
/* SVG diagram styles */
.svg-diagram { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin: 20px 0; overflow-x: auto; }
.svg-diagram svg { display: block; margin: auto; }
/* Interview Q&A */
.qa-block { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin: 12px 0; }
.qa-q { color: var(--accent-yellow); font-weight: 600; font-size: 13.5px; margin-bottom: 8px; display: flex; gap: 8px; }
.qa-a { color: var(--text-secondary); font-size: 13.5px; line-height: 1.7; padding-left: 24px; }
/* Author section */
.author-card {
background: linear-gradient(135deg, var(--bg-card), rgba(88,166,255,0.05));
border: 1px solid rgba(88,166,255,0.25);
border-radius: 16px; padding: 32px; margin: 40px 0;
}
.author-header { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.author-avatar {
width: 72px; height: 72px; border-radius: 50%;
background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
display: flex; align-items: center; justify-content: center;
font-size: 28px; font-weight: 700; color: white;
font-family: 'Sora', sans-serif; flex-shrink: 0;
}
.author-info h3 { font-size: 20px; color: var(--text-primary); margin: 0 0 4px; font-family: 'Sora', sans-serif; }
.author-info .author-title { font-size: 13px; color: var(--accent-blue); margin: 0; }
.author-bio { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 16px; }
.tech-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tech-badge {
padding: 4px 12px; border-radius: 20px; font-size: 11.5px; font-weight: 600;
background: rgba(57,211,195,0.1); border: 1px solid rgba(57,211,195,0.3); color: var(--accent-teal);
}
.email-link {
display: inline-flex; align-items: center; gap: 8px;
background: rgba(88,166,255,0.1); border: 1px solid rgba(88,166,255,0.3);
border-radius: 8px; padding: 10px 16px; text-decoration: none;
color: var(--accent-blue); font-size: 13.5px; font-weight: 500;
transition: all 0.2s;
}
.email-link:hover { background: rgba(88,166,255,0.2); }
footer { text-align: center; padding: 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 12px; }
@media (max-width: 900px) {
:root { --sidebar-width: 0px; }
.sidebar { display: none; }
.main-content { margin-left: 0; max-width: 100vw; }
.content-area { padding: 20px; }
.top-header { padding: 30px 20px; }
.main-title { font-size: 26px; }
.grid-2, .grid-3 { grid-template-columns: 1fr; }
}
</style>
</head>
<body>
<div id="reading-progress"></div>
<!-- ── SIDEBAR ── -->
<nav class="sidebar">
<div class="sidebar-header">
<div class="sidebar-logo">
<div class="logo-icon">🗂️</div>
<span>NetApp ONTAP</span>
</div>
<div class="sidebar-subtitle">Tutorial Series · Vol 10</div>
</div>
<div class="toc-nav">
<div class="toc-section-label">Getting Started</div>
<a class="toc-link" href="#overview"><span class="toc-num">00</span>Overview</a>
<a class="toc-link" href="#nfs-intro"><span class="toc-num">01</span>NFS Introduction</a>
<a class="toc-link sub" href="#nfs-versions">↳ NFS Versions</a>
<a class="toc-link sub" href="#nfs-setup">↳ NFS Setup Steps</a>
<div class="toc-section-label">Export Policies</div>
<a class="toc-link" href="#export-policy-concepts"><span class="toc-num">02</span>Export Policy Concepts</a>
<a class="toc-link sub" href="#default-policy">↳ Default Export Policy</a>
<a class="toc-link sub" href="#auth-mechanisms">↳ Auth Mechanisms</a>
<a class="toc-link" href="#creating-rules"><span class="toc-num">03</span>Creating Export Rules</a>
<a class="toc-link sub" href="#rule-parameters">↳ Rule Parameters</a>
<a class="toc-link sub" href="#applying-policy">↳ Applying to Volumes</a>
<div class="toc-section-label">Linux Mounting</div>
<a class="toc-link" href="#linux-mount"><span class="toc-num">04</span>Mounting on Linux</a>
<a class="toc-link sub" href="#mount-commands">↳ Mount Commands</a>
<a class="toc-link sub" href="#lif-vs-dns">↳ LIF IP vs DNS</a>
<div class="toc-section-label">Advanced Policies</div>
<a class="toc-link" href="#managing-rules"><span class="toc-num">05</span>Managing Rules</a>
<a class="toc-link sub" href="#add-remove-client">↳ Add/Remove Clients</a>
<a class="toc-link sub" href="#policy-ops">↳ Policy Operations</a>
<a class="toc-link" href="#bulk-access"><span class="toc-num">06</span>Bulk Access Strategies</a>
<a class="toc-link sub" href="#subnet-method">↳ Subnet Method</a>
<a class="toc-link sub" href="#netgroup">↳ Netgroup Concept</a>
<div class="toc-section-label">Verification</div>
<a class="toc-link" href="#troubleshooting"><span class="toc-num">07</span>Access Verification</a>
<a class="toc-link sub" href="#check-access">↳ Check Access Command</a>
<a class="toc-link sub" href="#connected-clients">↳ Connected Clients</a>
<a class="toc-link sub" href="#nfs-options">↳ NFS Service Options</a>
<div class="toc-section-label">User Management</div>
<a class="toc-link" href="#local-users"><span class="toc-num">08</span>Local User Accounts</a>
<a class="toc-link sub" href="#create-local">↳ Create Local Users</a>
<a class="toc-link sub" href="#custom-roles">↳ Custom Roles</a>
<a class="toc-link" href="#ad-integration"><span class="toc-num">09</span>Active Directory Integration</a>
<a class="toc-link sub" href="#domain-tunnel">↳ Domain Tunnel</a>
<a class="toc-link sub" href="#ad-users">↳ AD Users & Groups</a>
<div class="toc-section-label">Wrap-Up</div>
<a class="toc-link" href="#interview-qa"><span class="toc-num">10</span>Interview Q&A</a>
<a class="toc-link" href="#about">About the Author</a>
</div>
</nav>
<!-- ── MAIN ── -->
<main class="main-content">
<div class="top-header">
<div class="header-badge">📘 Tutorial 10 · NetApp ONTAP Administration</div>
<h1 class="main-title">NFS Configuration, Export Policies,<br>User Management & AD Integration</h1>
<p class="header-desc">
A comprehensive hands-on guide covering NFS protocol setup, export policy design, volume mounting on Linux, bulk access strategies, local user administration, custom roles, and seamless Active Directory integration with NetApp ONTAP.
</p>
<div class="header-meta">
<span class="meta-chip"><span class="dot" style="background:var(--accent-blue)"></span> NFS Protocol Deep Dive</span>
<span class="meta-chip"><span class="dot" style="background:var(--accent-green)"></span> Export Policy Architecture</span>
<span class="meta-chip"><span class="dot" style="background:var(--accent-purple)"></span> AD Integration</span>
<span class="meta-chip"><span class="dot" style="background:var(--accent-yellow)"></span> RBAC & User Management</span>
</div>
<div class="progress-bar-wrap">
<span class="prog-chip">⏱ ~75 min read</span>
<span class="prog-chip">🧑💻 Hands-on Lab</span>
<span class="prog-chip">ONTAP 9.7+</span>
<span class="prog-chip">Intermediate Level</span>
</div>
</div>
<div class="content-area">
<!-- ── SECTION 0: OVERVIEW ── -->
<section class="section" id="overview">
<div class="section-header">
<div class="section-icon icon-blue">🗺️</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 00</div>
<h2>What You'll Learn</h2>
</div>
</div>
<div class="grid-3">
<div class="stat-card">
<div class="stat-num" style="color:var(--accent-blue)">NFS</div>
<div class="stat-label">Protocol Setup</div>
</div>
<div class="stat-card">
<div class="stat-num" style="color:var(--accent-green)">RBAC</div>
<div class="stat-label">Role-Based Access</div>
</div>
<div class="stat-card">
<div class="stat-num" style="color:var(--accent-purple)">AD</div>
<div class="stat-label">Directory Integration</div>
</div>
</div>
<div class="card">
<div class="card-title">📋 Tutorial Scope</div>
<p>This tutorial walks through two major areas of NetApp ONTAP administration. First, you will configure NFS storage presentation to Linux/Unix systems — from enabling the protocol to creating nuanced export policies with fine-grained access control. Second, you will explore ONTAP user account management including local users, custom RBAC roles, and integrating an Active Directory domain to centralize authentication across multi-cluster environments.</p>
</div>
<!-- Architecture Overview SVG -->
<div class="svg-diagram">
<svg viewBox="0 0 860 360" xmlns="http://www.w3.org/2000/svg" width="100%">
<defs>
<marker id="arrow" markerWidth="10" markerHeight="7" refX="10" refY="3.5" orient="auto">
<polygon points="0 0, 10 3.5, 0 7" fill="#58a6ff"/>
</marker>
<marker id="arrow-g" markerWidth="10" markerHeight="7" refX="10" refY="3.5" orient="auto">
<polygon points="0 0, 10 3.5, 0 7" fill="#3fb950"/>
</marker>
<marker id="arrow-p" markerWidth="10" markerHeight="7" refX="10" refY="3.5" orient="auto">
<polygon points="0 0, 10 3.5, 0 7" fill="#bc8cff"/>
</marker>
</defs>
<!-- Background -->
<rect width="860" height="360" fill="#1c2333" rx="10"/>
<!-- Title -->
<text x="430" y="30" text-anchor="middle" fill="#e6edf3" font-size="14" font-weight="bold" font-family="'Sora',sans-serif">NetApp ONTAP — NFS & User Management Architecture</text>
<!-- NetApp Cluster Box -->
<rect x="290" y="55" width="280" height="250" fill="#0d1117" rx="10" stroke="#30363d" stroke-width="1.5"/>
<text x="430" y="78" text-anchor="middle" fill="#58a6ff" font-size="12" font-weight="bold" font-family="sans-serif">NetApp Cluster</text>
<!-- SVM Box -->
<rect x="310" y="90" width="240" height="100" fill="#161b22" rx="8" stroke="#484f58" stroke-width="1"/>
<text x="430" y="110" text-anchor="middle" fill="#3fb950" font-size="11" font-weight="bold" font-family="sans-serif">SVM (Storage Virtual Machine)</text>
<!-- NFS License -->
<rect x="320" y="118" width="100" height="28" fill="#0a0e13" rx="5" stroke="#30363d"/>
<text x="370" y="134" text-anchor="middle" fill="#58a6ff" font-size="10" font-family="sans-serif">NFS License ✓</text>
<!-- Export Policy -->
<rect x="430" y="118" width="110" height="28" fill="#0a0e13" rx="5" stroke="#30363d"/>
<text x="485" y="134" text-anchor="middle" fill="#e3b341" font-size="10" font-family="sans-serif">Export Policies</text>
<!-- LIF -->
<rect x="320" y="155" width="100" height="28" fill="#0a0e13" rx="5" stroke="#30363d"/>
<text x="370" y="171" text-anchor="middle" fill="#bc8cff" font-size="10" font-family="sans-serif">LIF (Data IP)</text>
<!-- Volume -->
<rect x="430" y="155" width="110" height="28" fill="#0a0e13" rx="5" stroke="#30363d"/>
<text x="485" y="171" text-anchor="middle" fill="#f78166" font-size="10" font-family="sans-serif">Volumes / Qtrees</text>
<!-- AD Integration Box -->
<rect x="310" y="205" width="240" height="85" fill="#161b22" rx="8" stroke="#484f58" stroke-width="1"/>
<text x="430" y="222" text-anchor="middle" fill="#39d3c3" font-size="11" font-weight="bold" font-family="sans-serif">Authentication</text>
<rect x="320" y="230" width="100" height="28" fill="#0a0e13" rx="5" stroke="#30363d"/>
<text x="370" y="246" text-anchor="middle" fill="#e6edf3" font-size="10" font-family="sans-serif">Local Users</text>
<rect x="430" y="230" width="110" height="28" fill="#0a0e13" rx="5" stroke="#30363d"/>
<text x="485" y="246" text-anchor="middle" fill="#e6edf3" font-size="10" font-family="sans-serif">Domain Accounts</text>
<text x="430" y="280" text-anchor="middle" fill="#6e7681" font-size="10" font-family="sans-serif">Domain Tunnel Required</text>
<!-- Linux Clients -->
<rect x="30" y="90" width="140" height="200" fill="#161b22" rx="8" stroke="#3fb950" stroke-width="1.5"/>
<text x="100" y="110" text-anchor="middle" fill="#3fb950" font-size="11" font-weight="bold" font-family="sans-serif">Linux Servers</text>
<rect x="45" y="120" width="110" height="26" fill="#0a0e13" rx="5" stroke="#30363d"/>
<text x="100" y="136" text-anchor="middle" fill="#e6edf3" font-size="10" font-family="sans-serif">app-server-01 (10.1.1.21)</text>
<rect x="45" y="155" width="110" height="26" fill="#0a0e13" rx="5" stroke="#30363d"/>
<text x="100" y="171" text-anchor="middle" fill="#e6edf3" font-size="10" font-family="sans-serif">app-server-02 (10.1.1.22)</text>
<rect x="45" y="190" width="110" height="26" fill="#0a0e13" rx="5" stroke="#30363d"/>
<text x="100" y="206" text-anchor="middle" fill="#e6edf3" font-size="10" font-family="sans-serif">db-server-01 (10.1.1.31)</text>
<text x="100" y="238" text-anchor="middle" fill="#6e7681" font-size="10" font-family="sans-serif">mount /data</text>
<text x="100" y="254" text-anchor="middle" fill="#6e7681" font-size="10" font-family="sans-serif">NFS v3 / v4</text>
<text x="100" y="278" text-anchor="middle" fill="#58a6ff" font-size="9" font-family="sans-serif">sys auth (default)</text>
<!-- Active Directory -->
<rect x="690" y="90" width="145" height="120" fill="#161b22" rx="8" stroke="#bc8cff" stroke-width="1.5"/>
<text x="763" y="110" text-anchor="middle" fill="#bc8cff" font-size="11" font-weight="bold" font-family="sans-serif">Active Directory</text>
<rect x="705" y="118" width="115" height="26" fill="#0a0e13" rx="5" stroke="#30363d"/>
<text x="763" y="134" text-anchor="middle" fill="#e6edf3" font-size="10" font-family="sans-serif">corp.example.com</text>
<rect x="705" y="152" width="115" height="26" fill="#0a0e13" rx="5" stroke="#30363d"/>
<text x="763" y="168" text-anchor="middle" fill="#e6edf3" font-size="10" font-family="sans-serif">SAN-Admins Group</text>
<text x="763" y="200" text-anchor="middle" fill="#6e7681" font-size="9" font-family="sans-serif">Domain Controller</text>
<!-- Arrows: Linux → SVM (NFS) -->
<line x1="170" y1="160" x2="288" y2="155" stroke="#3fb950" stroke-width="1.5" marker-end="url(#arrow-g)" stroke-dasharray="5,3"/>
<text x="228" y="148" text-anchor="middle" fill="#3fb950" font-size="9" font-family="sans-serif">NFS Mount</text>
<!-- Arrows: AD → Cluster (Domain Tunnel) -->
<line x1="690" y1="155" x2="572" y2="220" stroke="#bc8cff" stroke-width="1.5" marker-end="url(#arrow-p)" stroke-dasharray="5,3"/>
<text x="640" y="175" text-anchor="middle" fill="#bc8cff" font-size="9" font-family="sans-serif">Domain Tunnel</text>
<!-- Admin Workstation -->
<rect x="690" y="240" width="145" height="60" fill="#161b22" rx="8" stroke="#58a6ff" stroke-width="1"/>
<text x="763" y="260" text-anchor="middle" fill="#58a6ff" font-size="11" font-weight="bold" font-family="sans-serif">Admin Workstation</text>
<text x="763" y="278" text-anchor="middle" fill="#6e7681" font-size="9" font-family="sans-serif">SSH / ONTAP Manager</text>
<text x="763" y="293" text-anchor="middle" fill="#6e7681" font-size="9" font-family="sans-serif">RBAC Controlled Access</text>
<line x1="690" y1="265" x2="572" y2="250" stroke="#58a6ff" stroke-width="1.5" marker-end="url(#arrow)" stroke-dasharray="5,3"/>
</svg>
</div>
<div class="diagram-caption">Figure 1 — High-level architecture: Linux NFS clients, ONTAP SVM, and Active Directory integration</div>
</section>
<!-- ── SECTION 1: NFS INTRO ── -->
<section class="section" id="nfs-intro">
<div class="section-header">
<div class="section-icon icon-teal">🌐</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 01</div>
<h2>NFS — Network File System</h2>
</div>
</div>
<p>In the NAS (Network Attached Storage) world, ONTAP supports two primary protocols for sharing storage over a network. <strong>SMB/CIFS</strong> caters to Windows-based systems, while <strong>NFS (Network File System)</strong> is the standard for Linux, Unix, and other POSIX-compliant operating systems. NFS allows remote file access over a standard IP network, making storage appear as locally mounted directories to client servers.</p>
<div class="card" id="nfs-versions">
<div class="card-title">📌 NFS Protocol Versions</div>
<p>Multiple NFS versions are available in ONTAP. Choosing the right version depends on your client operating system capabilities and organizational requirements.</p>
<table class="spec-table">
<thead><tr><th>Version</th><th>Status</th><th>Key Features</th><th>Usage in Practice</th></tr></thead>
<tbody>
<tr><td><span class="badge badge-orange">NFSv2</span></td><td>Legacy</td><td>Basic file access, UDP only</td><td>Rarely used, considered obsolete</td></tr>
<tr><td><span class="badge badge-green">NFSv3</span></td><td>Dominant</td><td>TCP + UDP, async writes, large file support</td><td>~95% of enterprise deployments</td></tr>
<tr><td><span class="badge badge-blue">NFSv4</span></td><td>Modern</td><td>ACLs, stateful protocol, improved security</td><td>POC/testing, growing adoption</td></tr>
<tr><td><span class="badge badge-purple">NFSv4.1</span></td><td>Modern+</td><td>pNFS, session trunking, delegation</td><td>Select high-performance environments</td></tr>
</tbody>
</table>
</div>
<div class="callout warning">
<div class="callout-icon">⚠️</div>
<div class="callout-content">
<div class="callout-title">Version Selection Guidance</div>
<div class="callout-text">NFSv3 remains the industry standard due to its proven stability. NFSv4/4.1 introduces ACL-level permissions (multiple owners/groups per resource) which NFSv3 lacks, but the operational complexity means most organizations stick with v3 unless there's a specific business requirement. Always align version selection with the capabilities of your client OS — RHEL 7.x pairs well with NFSv3; RHEL 8+ supports both v3 and v4.</div>
</div>
</div>
<!-- NFS Version Comparison Mermaid -->
<div class="mermaid">
flowchart LR
A[Client OS] --> B{OS Version Check}
B -->|RHEL 7.x / CentOS 7| C[NFSv3 Recommended]
B -->|RHEL 8+ / Ubuntu 20+| D{Business Need?}
D -->|Standard Access| C
D -->|ACLs / Multi-Owner| E[NFSv4 / NFSv4.1]
C --> F[Stable · Widely Tested · Default sys auth]
E --> G[ACL Support · Stateful · Complex Config]
style C fill:#1a3a2a,stroke:#3fb950,color:#e6edf3
style E fill:#1a2a3a,stroke:#58a6ff,color:#e6edf3
style F fill:#0d1117,stroke:#30363d,color:#8b949e
style G fill:#0d1117,stroke:#30363d,color:#8b949e
</div>
<div class="diagram-caption">Figure 2 — Decision flow for NFS version selection</div>
<div id="nfs-setup">
<h3>⚙️ NFS Configuration — Step-by-Step Workflow</h3>
<!-- Setup Workflow Mermaid -->
<div class="mermaid">
sequenceDiagram
participant Admin
participant ONTAP
participant LinuxServer
Admin->>ONTAP: 1. Verify NFS License (license show)
ONTAP-->>Admin: License confirmed on all nodes
Admin->>ONTAP: 2. Enable NFS on SVM (vserver nfs create)
ONTAP-->>Admin: NFS service active
Admin->>ONTAP: 3. Create Export Policy + Rules
ONTAP-->>Admin: Policy applied to volume
Admin->>ONTAP: 4. Create Volume with junction path
ONTAP-->>Admin: Volume mounted at /vol/data01
Admin->>LinuxServer: 5. Provide mount path (LIF IP or DNS)
LinuxServer->>ONTAP: 6. mount svm1:/vol/data01 /mnt/data
ONTAP-->>LinuxServer: Access granted (policy matched)
</div>
<div class="diagram-caption">Figure 3 — NFS provisioning sequence diagram</div>
<h4>Step 1 — Verify NFS License</h4>
<div class="code-block">
<div class="code-header"><span class="code-lang">ONTAP CLI</span><div class="code-dots"><span class="dot-red"></span><span class="dot-yellow-c"></span><span class="dot-green-c"></span></div></div>
<div class="code-body"><span class="comment"># Check installed licenses across all nodes</span>
<span class="cmd">cluster01::> license show</span>
<span class="output">Package Type Description
--------- ------ -------------------------
NFS license NFS Protocol License
CIFS license CIFS Protocol License
...</span>
<span class="comment"># Add a new license if not present</span>
<span class="cmd">cluster01::> license add -license-code</span> <span class="param">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</span></div>
</div>
<div class="callout info">
<div class="callout-icon">💡</div>
<div class="callout-content">
<div class="callout-title">Pro Tip</div>
<div class="callout-text">In a multi-node cluster, the NFS license must be present on every node from which you intend to serve NFS traffic. Installing a license requires no reboot — it takes effect immediately.</div>
</div>
</div>
<h4>Step 2 — Configure NFS on the SVM</h4>
<div class="code-block">
<div class="code-header"><span class="code-lang">ONTAP CLI</span><div class="code-dots"><span class="dot-red"></span><span class="dot-yellow-c"></span><span class="dot-green-c"></span></div></div>
<div class="code-body"><span class="comment"># Check if NFS is already enabled on an SVM</span>
<span class="cmd">cluster01::> vserver nfs show -vserver</span> <span class="param">svm-prod</span>
<span class="comment"># Create/enable NFS service (enable specific versions)</span>
<span class="cmd">cluster01::> vserver nfs create -vserver</span> <span class="param">svm-prod</span> <span class="cmd">-v3 enabled -v4.0 disabled -v4.1 disabled</span>
<span class="comment"># Verify NFS service status</span>
<span class="cmd">cluster01::> vserver nfs show -vserver</span> <span class="param">svm-prod</span></div>
</div>
</div>
</section>
<!-- ── SECTION 2: EXPORT POLICY CONCEPTS ── -->
<section class="section" id="export-policy-concepts">
<div class="section-header">
<div class="section-icon icon-yellow">🔐</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 02</div>
<h2>Export Policy Architecture</h2>
</div>
</div>
<p>Export policies are ONTAP's mechanism for controlling which NFS clients can access which volumes, and what level of access they receive. Think of export policies as gatekeepers — each volume has exactly one export policy assigned to it, and that policy contains one or more rules defining allowed clients and access types.</p>
<div class="svg-diagram" id="default-policy">
<svg viewBox="0 0 820 310" xmlns="http://www.w3.org/2000/svg" width="100%">
<defs>
<marker id="arr2" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto">
<polygon points="0 0, 8 3, 0 6" fill="#58a6ff"/>
</marker>
<marker id="arr-y" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto">
<polygon points="0 0, 8 3, 0 6" fill="#e3b341"/>
</marker>
<marker id="arr-g2" markerWidth="8" markerHeight="6" refX="8" refY="3" orient="auto">
<polygon points="0 0, 8 3, 0 6" fill="#3fb950"/>
</marker>
</defs>
<rect width="820" height="310" fill="#1c2333" rx="10"/>
<text x="410" y="26" text-anchor="middle" fill="#e6edf3" font-size="13" font-weight="bold" font-family="sans-serif">Export Policy — Junction Point & Volume Layered Access</text>
<!-- Clients -->
<rect x="15" y="50" width="120" height="220" fill="#0d1117" rx="8" stroke="#30363d"/>
<text x="75" y="68" text-anchor="middle" fill="#58a6ff" font-size="10" font-weight="bold" font-family="sans-serif">Client Servers</text>
<rect x="25" y="75" width="100" height="22" fill="#161b22" rx="4"/>
<text x="75" y="89" text-anchor="middle" fill="#e6edf3" font-size="9" font-family="sans-serif">10.1.1.21</text>
<rect x="25" y="101" width="100" height="22" fill="#161b22" rx="4"/>
<text x="75" y="115" text-anchor="middle" fill="#e6edf3" font-size="9" font-family="sans-serif">10.1.1.22</text>
<rect x="25" y="127" width="100" height="22" fill="#161b22" rx="4"/>
<text x="75" y="141" text-anchor="middle" fill="#e6edf3" font-size="9" font-family="sans-serif">10.1.1.23</text>
<rect x="25" y="153" width="100" height="22" fill="#161b22" rx="4"/>
<text x="75" y="167" text-anchor="middle" fill="#e6edf3" font-size="9" font-family="sans-serif">10.1.1.24</text>
<rect x="25" y="179" width="100" height="22" fill="#161b22" rx="4"/>
<text x="75" y="193" text-anchor="middle" fill="#e6edf3" font-size="9" font-family="sans-serif">10.1.1.25</text>
<rect x="25" y="205" width="100" height="22" fill="#161b22" rx="4"/>
<text x="75" y="219" text-anchor="middle" fill="#e6edf3" font-size="9" font-family="sans-serif">10.1.1.26</text>
<!-- Arrow to junction -->
<line x1="135" y1="160" x2="200" y2="160" stroke="#58a6ff" stroke-width="1.5" marker-end="url(#arr2)"/>
<!-- Junction Point Box -->
<rect x="200" y="110" width="140" height="100" fill="#0d1117" rx="8" stroke="#e3b341" stroke-width="2"/>
<text x="270" y="133" text-anchor="middle" fill="#e3b341" font-size="10" font-weight="bold" font-family="sans-serif">Junction Point</text>
<text x="270" y="152" text-anchor="middle" fill="#8b949e" font-size="9" font-family="sans-serif">Default Export Policy</text>
<text x="270" y="168" text-anchor="middle" fill="#3fb950" font-size="9" font-family="sans-serif">0.0.0.0/0 → RO · sys</text>
<text x="270" y="184" text-anchor="middle" fill="#f78166" font-size="9" font-family="sans-serif">No SuperUser = No Mount</text>
<text x="270" y="200" text-anchor="middle" fill="#8b949e" font-size="9" font-family="sans-serif">(Read-Only Gateway)</text>
<!-- Arrows to volumes -->
<line x1="340" y1="150" x2="410" y2="100" stroke="#3fb950" stroke-width="1.5" marker-end="url(#arr-g2)"/>
<line x1="340" y1="160" x2="410" y2="180" stroke="#e3b341" stroke-width="1.5" marker-end="url(#arr-y)"/>
<line x1="340" y1="170" x2="410" y2="255" stroke="#bc8cff" stroke-width="1.5" marker-end="url(#arr2)"/>
<!-- Vol 1 -->
<rect x="410" y="58" width="180" height="80" fill="#0d1117" rx="8" stroke="#3fb950" stroke-width="1.5"/>
<text x="500" y="78" text-anchor="middle" fill="#3fb950" font-size="10" font-weight="bold" font-family="sans-serif">vol-app01</text>
<text x="500" y="95" text-anchor="middle" fill="#8b949e" font-size="9" font-family="sans-serif">Policy: app01_policy</text>
<text x="500" y="111" text-anchor="middle" fill="#e6edf3" font-size="9" font-family="sans-serif">10.1.1.21, 10.1.1.22</text>
<text x="500" y="128" text-anchor="middle" fill="#3fb950" font-size="9" font-family="sans-serif">RW + RO + Superuser</text>
<!-- Vol 2 -->
<rect x="410" y="145" width="180" height="75" fill="#0d1117" rx="8" stroke="#e3b341" stroke-width="1.5"/>
<text x="500" y="164" text-anchor="middle" fill="#e3b341" font-size="10" font-weight="bold" font-family="sans-serif">vol-db01</text>
<text x="500" y="181" text-anchor="middle" fill="#8b949e" font-size="9" font-family="sans-serif">Policy: db01_policy</text>
<text x="500" y="198" text-anchor="middle" fill="#e6edf3" font-size="9" font-family="sans-serif">10.1.1.23, 10.1.1.24</text>
<text x="500" y="211" text-anchor="middle" fill="#e3b341" font-size="9" font-family="sans-serif">RO only + Superuser</text>
<!-- Vol 3 -->
<rect x="410" y="228" width="180" height="65" fill="#0d1117" rx="8" stroke="#bc8cff" stroke-width="1.5"/>
<text x="500" y="247" text-anchor="middle" fill="#bc8cff" font-size="10" font-weight="bold" font-family="sans-serif">vol-backup01</text>
<text x="500" y="264" text-anchor="middle" fill="#8b949e" font-size="9" font-family="sans-serif">Policy: backup_policy</text>
<text x="500" y="281" text-anchor="middle" fill="#e6edf3" font-size="9" font-family="sans-serif">10.1.1.25, 10.1.1.26</text>
<!-- Legend -->
<rect x="610" y="65" width="195" height="115" fill="#0d1117" rx="6" stroke="#30363d"/>
<text x="708" y="82" text-anchor="middle" fill="#8b949e" font-size="9" font-weight="bold" font-family="sans-serif">KEY CONCEPT</text>
<text x="618" y="100" fill="#58a6ff" font-size="9" font-family="sans-serif">• All servers reach Junction Point</text>
<text x="618" y="116" fill="#3fb950" font-size="9" font-family="sans-serif">• Each volume has its own policy</text>
<text x="618" y="132" fill="#e3b341" font-size="9" font-family="sans-serif">• Rules define IP + access level</text>
<text x="618" y="148" fill="#f78166" font-size="9" font-family="sans-serif">• Superuser required to mount</text>
<text x="618" y="164" fill="#bc8cff" font-size="9" font-family="sans-serif">• Unlisted IPs = access denied</text>
</svg>
</div>
<div class="diagram-caption">Figure 4 — Layered export policy model: default policy at junction, custom policies per volume</div>
<div class="callout success">
<div class="callout-icon">🏡</div>
<div class="callout-content">
<div class="callout-title">Analogy: Colony Gate vs Individual Houses</div>
<div class="callout-text">The default export policy at the junction point is like the entry gate of a housing colony — all residents (servers) can enter the colony. But to access a specific house (volume), they need that house's own key (custom export policy with their IP). A server not listed in the volume's policy simply cannot enter that house, even though it passed the gate.</div>
</div>
</div>
<div class="card" id="auth-mechanisms">
<div class="card-title">🔑 Authentication Mechanisms in Export Rules</div>
<table class="spec-table">
<thead><tr><th>Mechanism</th><th>Description</th><th>Use Case</th></tr></thead>
<tbody>
<tr><td><span class="badge badge-green">sys</span></td><td>Unix UID/GID based authentication</td><td>Default for all Linux/Unix systems — use this in 99% of cases</td></tr>
<tr><td><span class="badge badge-blue">any</span></td><td>Accepts all authentication methods</td><td>Flexible mixed environments</td></tr>
<tr><td><span class="badge badge-orange">krb5</span></td><td>Kerberos v5 — basic</td><td>High-security environments requiring Kerberos</td></tr>
<tr><td><span class="badge badge-orange">krb5i</span></td><td>Kerberos v5 with data integrity</td><td>Kerberos + checksum verification</td></tr>
<tr><td><span class="badge badge-orange">krb5p</span></td><td>Kerberos v5 with full privacy</td><td>Kerberos + full encryption</td></tr>
<tr><td><span class="badge badge-purple">ntlm</span></td><td>Windows NTLM authentication</td><td>Windows-initiated NFS access</td></tr>
<tr><td><span class="badge badge-yellow">none / never</span></td><td>Deny access</td><td>Explicitly block certain access levels</td></tr>
</tbody>
</table>
</div>
<div class="callout warning">
<div class="callout-icon">⚠️</div>
<div class="callout-content">
<div class="callout-title">Superuser is Mandatory</div>
<div class="callout-text">Every export policy rule that should allow mounting <strong>must include superuser</strong> (typically set to <code>sys</code>). Without superuser access, Linux clients will be unable to mount the volume, even if RO/RW access is granted. A rule combination of <code>-superuser sys -rw sys -ro sys</code> is the most common configuration.</div>
</div>
</div>
</section>
<!-- ── SECTION 3: CREATING RULES ── -->
<section class="section" id="creating-rules">
<div class="section-header">
<div class="section-icon icon-green">📝</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 03</div>
<h2>Creating Export Policies & Rules</h2>
</div>
</div>
<p>Let's walk through the complete workflow of creating an export policy, defining rules, and associating the policy with a volume. We'll use a realistic lab scenario with two Linux application servers requiring different access levels.</p>
<h3>Lab Scenario</h3>
<div class="card">
<div class="card-title">🧪 Lab Setup</div>
<ul>
<li><strong>SVM Name:</strong> svm-prod</li>
<li><strong>Linux Server A:</strong> app-server-01 — IP: 10.1.1.21 — needs Read-Write access</li>
<li><strong>Linux Server B:</strong> app-server-02 — IP: 10.1.1.22 — needs Read-Only access</li>
<li><strong>Volume:</strong> vol-app01 (10 GB, junction path: /vol-app01)</li>
<li><strong>Protocol:</strong> NFSv3</li>
</ul>
</div>
<div id="rule-parameters">
<h4>Step 1 — Create the Default Export Policy Rule (Junction Point)</h4>
<div class="code-block">
<div class="code-header"><span class="code-lang">ONTAP CLI — Default Policy (Junction Point)</span><div class="code-dots"><span class="dot-red"></span><span class="dot-yellow-c"></span><span class="dot-green-c"></span></div></div>
<div class="code-body"><span class="comment"># Check existing export policies on SVM</span>
<span class="cmd">cluster01::> vserver export-policy show -vserver</span> <span class="param">svm-prod</span>
<span class="comment"># Check rules in the default policy (should be empty initially)</span>
<span class="cmd">cluster01::> vserver export-policy rule show -vserver</span> <span class="param">svm-prod</span> <span class="cmd">-policyname</span> <span class="param">default</span>
<span class="comment"># Create a default rule — allows all IPs, Read-Only, no superuser</span>
<span class="comment"># This acts as the gateway rule at the junction point</span>
<span class="cmd">cluster01::> vserver export-policy rule create \
-vserver</span> <span class="param">svm-prod</span> <span class="cmd">\
-policyname</span> <span class="param">default</span> <span class="cmd">\
-clientmatch</span> <span class="param">0.0.0.0/0</span> <span class="cmd">\
-rorule</span> <span class="param">sys</span> <span class="cmd">\
-rwrule</span> <span class="param">never</span> <span class="cmd">\
-superuser</span> <span class="param">none</span> <span class="cmd">\
-protocol</span> <span class="param">nfs3</span> <span class="cmd">\
-anon</span> <span class="param">65534</span> <span class="cmd">\
-ruleindex</span> <span class="param">1</span></div>
</div>
<h4>Step 2 — Create a Custom Export Policy for the Volume</h4>
<div class="code-block">
<div class="code-header"><span class="code-lang">ONTAP CLI — Custom Policy</span><div class="code-dots"><span class="dot-red"></span><span class="dot-yellow-c"></span><span class="dot-green-c"></span></div></div>
<div class="code-body"><span class="comment"># Create new export policy</span>
<span class="cmd">cluster01::> vserver export-policy create -vserver</span> <span class="param">svm-prod</span> <span class="cmd">-policyname</span> <span class="param">app01_policy</span>
<span class="comment"># Rule 1: app-server-01 gets Read-Write access</span>
<span class="cmd">cluster01::> vserver export-policy rule create \
-vserver</span> <span class="param">svm-prod</span> <span class="cmd">\
-policyname</span> <span class="param">app01_policy</span> <span class="cmd">\
-clientmatch</span> <span class="param">10.1.1.21</span> <span class="cmd">\
-rorule</span> <span class="param">sys</span> <span class="cmd">\
-rwrule</span> <span class="param">sys</span> <span class="cmd">\
-superuser</span> <span class="param">sys</span> <span class="cmd">\
-protocol</span> <span class="param">nfs3</span> <span class="cmd">\
-anon</span> <span class="param">65534</span> <span class="cmd">\
-ruleindex</span> <span class="param">1</span>
<span class="comment"># Rule 2: app-server-02 gets Read-Only access</span>
<span class="cmd">cluster01::> vserver export-policy rule create \
-vserver</span> <span class="param">svm-prod</span> <span class="cmd">\
-policyname</span> <span class="param">app01_policy</span> <span class="cmd">\
-clientmatch</span> <span class="param">10.1.1.22</span> <span class="cmd">\
-rorule</span> <span class="param">sys</span> <span class="cmd">\
-rwrule</span> <span class="param">never</span> <span class="cmd">\
-superuser</span> <span class="param">sys</span> <span class="cmd">\
-protocol</span> <span class="param">nfs3</span> <span class="cmd">\
-anon</span> <span class="param">65534</span> <span class="cmd">\
-ruleindex</span> <span class="param">2</span>
<span class="comment"># Verify the rules</span>
<span class="cmd">cluster01::> vserver export-policy rule show -vserver</span> <span class="param">svm-prod</span> <span class="cmd">-policyname</span> <span class="param">app01_policy</span></div>
</div>
<h4 id="applying-policy">Step 3 — Create Volume and Apply Export Policy</h4>
<div class="code-block">
<div class="code-header"><span class="code-lang">ONTAP CLI — Volume Create with Policy</span><div class="code-dots"><span class="dot-red"></span><span class="dot-yellow-c"></span><span class="dot-green-c"></span></div></div>
<div class="code-body"><span class="comment"># Create volume — apply export policy at creation time</span>
<span class="cmd">cluster01::> volume create \
-vserver</span> <span class="param">svm-prod</span> <span class="cmd">\
-volume</span> <span class="param">vol_app01</span> <span class="cmd">\
-aggregate</span> <span class="param">aggr_data_01</span> <span class="cmd">\
-size</span> <span class="param">50g</span> <span class="cmd">\
-security-style</span> <span class="param">unix</span> <span class="cmd">\
-space-guarantee</span> <span class="param">none</span> <span class="cmd">\
-junction-path</span> <span class="param">/vol_app01</span> <span class="cmd">\
-policy</span> <span class="param">app01_policy</span>
<span class="comment"># Or modify an existing volume to use a specific policy</span>
<span class="cmd">cluster01::> volume modify -vserver</span> <span class="param">svm-prod</span> <span class="cmd">-volume</span> <span class="param">vol_app01</span> <span class="cmd">-policy</span> <span class="param">app01_policy</span>
<span class="comment"># Verify the policy applied to volumes</span>
<span class="cmd">cluster01::> volume show -vserver</span> <span class="param">svm-prod</span> <span class="cmd">-fields policy</span></div>
</div>
</div>
<div class="callout tip">
<div class="callout-icon">💡</div>
<div class="callout-content">
<div class="callout-title">Reuse Policies Across Multiple Volumes</div>
<div class="callout-text">A single export policy can be applied to multiple volumes. If two volumes share the same access requirements — same list of servers, same access types — assign the same policy to both. No need to create duplicate policies. This keeps your configuration clean and maintainable.</div>
</div>
</div>
</section>
<!-- ── SECTION 4: LINUX MOUNTING ── -->
<section class="section" id="linux-mount">
<div class="section-header">
<div class="section-icon icon-green">🐧</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 04</div>
<h2>Mounting NFS Volumes on Linux</h2>
</div>
</div>
<p>Once the export policy is correctly configured on the ONTAP side, Linux administrators can mount the storage volume. The mount path follows the format: <code>SVM-DNS-or-LIF-IP:/junction-path</code>. In production, this work is handled by the Linux/Unix team — as a storage engineer you provide them the mount path.</p>
<div id="mount-commands">
<h3>📂 Mount Path Formats</h3>
<div class="grid-2">
<div class="card">
<div class="card-title">🔵 Using DNS Name (Recommended)</div>
<div class="code-block">
<div class="code-header"><span class="code-lang">Linux Shell</span><div class="code-dots"><span class="dot-red"></span><span class="dot-yellow-c"></span><span class="dot-green-c"></span></div></div>
<div class="code-body"><span class="comment"># Create local mount point</span>
<span class="cmd">mkdir -p /mnt/app-data</span>
<span class="comment"># Mount using SVM DNS name</span>
<span class="cmd">mount svm-prod.corp.local:/vol_app01 /mnt/app-data</span>
<span class="comment"># Verify the mount</span>
<span class="cmd">df -h</span>
<span class="comment"># List contents</span>
<span class="cmd">ls /mnt/app-data</span></div>
</div>
</div>
<div class="card">
<div class="card-title">🟡 Using LIF IP (Direct)</div>
<div class="code-block">
<div class="code-header"><span class="code-lang">Linux Shell</span><div class="code-dots"><span class="dot-red"></span><span class="dot-yellow-c"></span><span class="dot-green-c"></span></div></div>
<div class="code-body"><span class="comment"># Find data LIF IPs on ONTAP</span>
<span class="cmd">cluster01::> network interface show \
-vserver svm-prod -role data</span>
<span class="comment"># Mount using LIF IP directly</span>
<span class="cmd">mount 10.1.1.100:/vol_app01 /mnt/app-data</span>
<span class="output"># 10.1.1.100 = data LIF IP</span></div>
</div>
</div>
</div>
</div>
<div class="card" id="lif-vs-dns">
<div class="card-title">⚖️ LIF IP vs DNS Name — Which to Use?</div>
<table class="spec-table">
<thead><tr><th>Aspect</th><th>LIF IP</th><th>DNS Name</th></tr></thead>
<tbody>
<tr><td>High Availability</td><td><span class="badge badge-orange">Single point of failure</span></td><td><span class="badge badge-green">Multiple LIFs → HA</span></td></tr>
<tr><td>LIF Failover</td><td>Connection drops if LIF fails</td><td>DNS resolves to surviving LIF</td></tr>
<tr><td>Simplicity</td><td>Simple, no DNS needed</td><td>Requires DNS configuration</td></tr>
<tr><td>Best For</td><td>Testing / troubleshooting</td><td>Production environments</td></tr>
</tbody>
</table>
</div>
<div class="callout warning">
<div class="callout-icon">🚨</div>
<div class="callout-content">
<div class="callout-title">Production Best Practice</div>
<div class="callout-text">Always use the DNS name (SVM name) for production NFS mounts. Multiple data LIFs are typically bound to the same DNS entry — if one LIF goes down, the DNS still resolves to the other LIF, keeping the mount active. Hardcoding a LIF IP creates an unnecessary single point of failure.</div>
</div>
</div>
<!-- Showmount feature -->
<h3>🔍 Auto-Discover Volumes with showmount</h3>
<p>ONTAP includes a handy feature where, if enabled, Linux clients can query the SVM and see all volumes they have access to — without needing to know the exact junction path.</p>
<div class="code-block">
<div class="code-header"><span class="code-lang">ONTAP CLI + Linux Shell</span><div class="code-dots"><span class="dot-red"></span><span class="dot-yellow-c"></span><span class="dot-green-c"></span></div></div>
<div class="code-body"><span class="comment"># Enable showmount on SVM (ONTAP side)</span>
<span class="cmd">cluster01::> vserver nfs modify -vserver</span> <span class="param">svm-prod</span> <span class="cmd">-showmount</span> <span class="param">enabled</span>
<span class="comment"># From Linux server — discover all accessible volumes</span>
<span class="cmd">showmount -e svm-prod.corp.local</span>
<span class="output">Export list for svm-prod.corp.local:
/vol_app01 10.1.1.21,10.1.1.22
/vol_db01 10.1.1.31
/vol_backup01 10.1.1.25,10.1.1.26</span></div>
</div>
</section>
<!-- ── SECTION 5: MANAGING RULES ── -->
<section class="section" id="managing-rules">
<div class="section-header">
<div class="section-icon icon-orange">🛠️</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 05</div>
<h2>Managing Export Policy Rules</h2>
</div>
</div>
<p>As your environment evolves, you'll frequently need to add new clients, remove decommissioned servers, modify access levels, or reorganize policies. ONTAP provides granular commands for all of these operations.</p>
<div id="add-remove-client">
<h3>➕ Add / Remove Clients from an Existing Rule</h3>
<div class="code-block">
<div class="code-header"><span class="code-lang">ONTAP CLI — Client Management</span><div class="code-dots"><span class="dot-red"></span><span class="dot-yellow-c"></span><span class="dot-green-c"></span></div></div>
<div class="code-body"><span class="comment"># Add a new server to an existing rule (same access level)</span>
<span class="cmd">cluster01::> vserver export-policy rule add-clientmatch \
-vserver</span> <span class="param">svm-prod</span> <span class="cmd">\
-policyname</span> <span class="param">app01_policy</span> <span class="cmd">\
-ruleindex</span> <span class="param">1</span> <span class="cmd">\
-clientmatch</span> <span class="param">10.1.1.23</span>
<span class="comment"># Remove a specific server from a rule</span>
<span class="cmd">cluster01::> vserver export-policy rule remove-clientmatch \
-vserver</span> <span class="param">svm-prod</span> <span class="cmd">\
-policyname</span> <span class="param">app01_policy</span> <span class="cmd">\
-ruleindex</span> <span class="param">1</span> <span class="cmd">\
-clientmatch</span> <span class="param">10.1.1.23</span>
<span class="comment"># Modify an existing rule (e.g., change access level)</span>
<span class="cmd">cluster01::> vserver export-policy rule modify \
-vserver</span> <span class="param">svm-prod</span> <span class="cmd">\
-policyname</span> <span class="param">app01_policy</span> <span class="cmd">\
-ruleindex</span> <span class="param">2</span> <span class="cmd">\
-rwrule</span> <span class="param">sys</span>
<span class="comment"># Change the rule index number</span>
<span class="cmd">cluster01::> vserver export-policy rule setindex \
-vserver</span> <span class="param">svm-prod</span> <span class="cmd">\
-policyname</span> <span class="param">app01_policy</span> <span class="cmd">\
-ruleindex</span> <span class="param">2</span> <span class="cmd">\
-newruleindex</span> <span class="param">5</span>
<span class="comment"># Delete a specific rule</span>
<span class="cmd">cluster01::> vserver export-policy rule delete \
-vserver</span> <span class="param">svm-prod</span> <span class="cmd">\
-policyname</span> <span class="param">app01_policy</span> <span class="cmd">\
-ruleindex</span> <span class="param">2</span></div>
</div>
<div class="callout info">
<div class="callout-icon">🧠</div>
<div class="callout-content">
<div class="callout-title">When to Add vs Create New Rule</div>
<div class="callout-text"><strong>Add to existing rule</strong> when the new server needs the exact same access type (same RO/RW/superuser settings) as an existing rule's clients. <strong>Create a new rule</strong> when the server requires different access levels — adding it to an existing rule would inadvertently grant it the wrong permissions.</div>
</div>
</div>
</div>
<div id="policy-ops">
<h3>📋 Policy-Level Operations</h3>
<div class="code-block">
<div class="code-header"><span class="code-lang">ONTAP CLI — Policy Operations</span><div class="code-dots"><span class="dot-red"></span><span class="dot-yellow-c"></span><span class="dot-green-c"></span></div></div>
<div class="code-body"><span class="comment"># Copy an existing policy to a new policy (great for slight variations)</span>
<span class="cmd">cluster01::> vserver export-policy copy \
-vserver</span> <span class="param">svm-prod</span> <span class="cmd">\
-policyname</span> <span class="param">app01_policy</span> <span class="cmd">\
-destination-vserver</span> <span class="param">svm-prod</span> <span class="cmd">\
-destination-policyname</span> <span class="param">app01_policy_v2</span>
<span class="comment"># Rename a policy</span>
<span class="cmd">cluster01::> vserver export-policy rename \
-vserver</span> <span class="param">svm-prod</span> <span class="cmd">\
-policyname</span> <span class="param">app01_policy_v2</span> <span class="cmd">\
-newpolicyname</span> <span class="param">app01_policy_dr</span>
<span class="comment"># Delete a policy (ensure it's unassigned first)</span>
<span class="cmd">cluster01::> vserver export-policy delete \
-vserver</span> <span class="param">svm-prod</span> <span class="cmd">\
-policyname</span> <span class="param">app01_policy_dr</span>
<span class="comment"># Verify all policies</span>
<span class="cmd">cluster01::> vserver export-policy show -vserver</span> <span class="param">svm-prod</span></div>
</div>
<div class="callout success">
<div class="callout-icon">🚀</div>
<div class="callout-content">
<div class="callout-title">Power Feature: Policy Copy</div>
<div class="callout-text">The <strong>copy</strong> command is a massive time-saver. If you have a policy with 80 rules and a new requirement needs 75 of those same rules, copy the original policy and remove the 5 rules you don't need — rather than building 75 rules from scratch. This is standard practice in large enterprise deployments.</div>
</div>
</div>
</div>