Repository navigation
Expand file tree
/
Copy pathnetapp-tutorial7.html
More file actions
1528 lines (1351 loc) · 102 KB
/
Copy pathnetapp-tutorial7.html
File metadata and controls
1528 lines (1351 loc) · 102 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: SVM Creation, LIF Architecture & Volume Management</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;
}
/* ── SIDEBAR ── */
.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 ── */
.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%; }
.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; }
.step-list { list-style: none; margin: 12px 0; }
.step-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(48,54,61,0.5); font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; align-items: flex-start; }
.step-list li:last-child { border-bottom: none; }
.step-num { width: 22px; height: 22px; border-radius: 6px; background: rgba(88,166,255,0.15); border: 1px solid rgba(88,166,255,0.3); color: var(--accent-blue); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; font-family: 'JetBrains Mono', monospace; }
.bullet-list { list-style: none; margin: 10px 0; }
.bullet-list li { padding: 6px 0 6px 20px; position: relative; font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }
.bullet-list li::before { content: '▸'; position: absolute; left: 0; color: var(--accent-blue); font-size: 11px; top: 8px; }
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-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 28px 20px 16px; margin: 20px 0; overflow-x: auto; }
.diagram-caption { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 10px; font-style: italic; }
.svg-diagram { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin: 20px 0; overflow-x: auto; }
.qa-block { background: var(--bg-card); border: 1px solid rgba(188,140,255,0.3); border-radius: 12px; padding: 20px 24px; margin: 16px 0; }
.qa-q { font-size: 14px; font-weight: 600; color: var(--accent-purple); margin-bottom: 10px; display: flex; gap: 10px; }
.qa-a { font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; padding-left: 26px; }
.qa-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; }
.divider { height: 1px; background: var(--border); margin: 40px 0; }
.hl { background: rgba(88,166,255,0.12); color: var(--accent-blue); padding: 1px 6px; border-radius: 4px; font-size: 13.5px; font-family: 'JetBrains Mono', monospace; }
.hl-green { background: rgba(63,185,80,0.12); color: var(--accent-green); padding: 1px 6px; border-radius: 4px; font-size: 13.5px; font-family: 'JetBrains Mono', monospace; }
.hl-orange { background: rgba(247,129,102,0.12); color: var(--accent-orange); padding: 1px 6px; border-radius: 4px; font-size: 13.5px; font-family: 'JetBrains Mono', monospace; }
.hl-purple { background: rgba(188,140,255,0.12); color: var(--accent-purple); padding: 1px 6px; border-radius: 4px; font-size: 13.5px; font-family: 'JetBrains Mono', monospace; }
/* SVM type cards */
.svm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0; }
.svm-card { border-radius: 12px; padding: 20px; border: 1px solid; }
.svm-admin { border-color: rgba(88,166,255,0.4); background: rgba(88,166,255,0.05); }
.svm-node { border-color: rgba(63,185,80,0.4); background: rgba(63,185,80,0.05); }
.svm-data { border-color: rgba(188,140,255,0.4); background: rgba(188,140,255,0.05); }
.svm-system { border-color: rgba(227,179,65,0.4); background: rgba(227,179,65,0.05); }
.svm-icon { font-size: 24px; margin-bottom: 10px; }
.svm-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.svm-admin .svm-name { color: var(--accent-blue); }
.svm-node .svm-name { color: var(--accent-green); }
.svm-data .svm-name { color: var(--accent-purple); }
.svm-system .svm-name { color: var(--accent-yellow); }
.svm-desc { font-size: 12.5px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 8px; }
.svm-count { font-size: 11px; font-family: 'JetBrains Mono', monospace; padding: 2px 8px; border-radius: 4px; display: inline-block; }
.svm-admin .svm-count { background: rgba(88,166,255,0.15); color: var(--accent-blue); }
.svm-node .svm-count { background: rgba(63,185,80,0.15); color: var(--accent-green); }
.svm-data .svm-count { background: rgba(188,140,255,0.15); color: var(--accent-purple); }
.svm-system .svm-count { background: rgba(227,179,65,0.15); color: var(--accent-yellow); }
/* LIF type cards */
.lif-grid { display: grid; grid-template-columns: repeat(1,1fr); gap: 12px; margin: 20px 0; }
.lif-card { border-radius: 10px; padding: 16px 20px; border: 1px solid var(--border); background: var(--bg-card); display: flex; gap: 16px; align-items: flex-start; }
.lif-badge-wrap { min-width: 130px; }
.lif-detail { flex: 1; }
.lif-title { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 14px; color: var(--text-primary); margin-bottom: 4px; }
.lif-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
/* Volume type visual */
.vol-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.vol-thick { border: 2px solid rgba(247,129,102,0.5); background: rgba(247,129,102,0.04); border-radius: 12px; padding: 20px; }
.vol-thin { border: 2px solid rgba(63,185,80,0.5); background: rgba(63,185,80,0.04); border-radius: 12px; padding: 20px; }
.vol-type-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.vol-thick .vol-type-title { color: var(--accent-orange); }
.vol-thin .vol-type-title { color: var(--accent-green); }
/* namespace viz */
.ns-tree { margin: 20px 0; font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.ns-root { background: rgba(88,166,255,0.12); border: 1px solid rgba(88,166,255,0.4); border-radius: 8px; padding: 10px 16px; margin-bottom: 6px; color: var(--accent-blue); font-weight: 700; display: inline-block; }
.ns-vol { background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 7px 14px; margin: 4px 0 4px 28px; color: var(--accent-green); display: inline-block; }
.ns-subvol { background: rgba(188,140,255,0.08); border: 1px solid rgba(188,140,255,0.3); border-radius: 6px; padding: 6px 14px; margin: 4px 0 4px 56px; color: var(--accent-purple); display: inline-block; }
.ns-line { color: var(--text-muted); padding-left: 14px; display: block; }
.author-section { background: linear-gradient(135deg, #161b22, #1c2333); border: 1px solid var(--border); border-radius: 16px; padding: 36px; margin-top: 60px; }
.author-avatar { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple)); display: flex; align-items: center; justify-content: center; font-size: 26px; border: 3px solid rgba(88,166,255,0.3); margin-bottom: 14px; }
.author-name { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.author-title { font-size: 13px; color: var(--accent-blue); margin-bottom: 12px; font-weight: 500; }
.author-bio { font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; }
.tech-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.contact-card { background: rgba(88,166,255,0.06); border: 1px solid rgba(88,166,255,0.25); border-radius: 10px; padding: 14px 20px; margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.contact-icon { font-size: 20px; }
.contact-text { font-size: 13.5px; color: var(--text-secondary); }
.contact-text a { color: var(--accent-blue); text-decoration: none; font-weight: 500; }
.contact-text a:hover { text-decoration: underline; }
/* interactive quiz */
.quiz-container { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin: 20px 0; }
.quiz-q { font-size: 14.5px; font-weight: 600; color: var(--text-primary); margin-bottom: 14px; }
.quiz-options { display: flex; flex-direction: column; gap: 8px; }
.quiz-option { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 8px; padding: 10px 16px; cursor: pointer; font-size: 13.5px; color: var(--text-secondary); transition: all 0.2s; text-align: left; }
.quiz-option:hover { border-color: var(--accent-blue); color: var(--text-primary); background: rgba(88,166,255,0.05); }
.quiz-option.correct { border-color: var(--accent-green); background: rgba(63,185,80,0.08); color: var(--accent-green); }
.quiz-option.wrong { border-color: var(--accent-orange); background: rgba(247,129,102,0.08); color: var(--accent-orange); }
.quiz-feedback { margin-top: 12px; font-size: 13px; line-height: 1.6; display: none; padding: 10px 16px; border-radius: 8px; }
.quiz-feedback.show { display: block; }
.quiz-feedback.correct-fb { background: rgba(63,185,80,0.08); border: 1px solid rgba(63,185,80,0.3); color: var(--accent-green); }
.quiz-feedback.wrong-fb { background: rgba(247,129,102,0.08); border: 1px solid rgba(247,129,102,0.3); color: var(--accent-orange); }
.quiz-reset { margin-top: 10px; background: rgba(88,166,255,0.1); border: 1px solid rgba(88,166,255,0.3); border-radius: 6px; padding: 6px 14px; font-size: 12px; color: var(--accent-blue); cursor: pointer; }
/* progress bar */
#reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple)); z-index: 9999; width: 0%; transition: width 0.1s; }
/* port diagram */
.port-viz { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin: 20px 0; overflow-x: auto; }
@media (max-width: 900px) {
.sidebar { display: none; }
.main-content { margin-left: 0; max-width: 100vw; }
.top-header { padding: 30px 20px; }
.content-area { padding: 20px; }
.grid-2, .grid-3, .svm-grid, .vol-compare { grid-template-columns: 1fr; }
.main-title { font-size: 26px; }
}
</style>
</head>
<body>
<!-- Reading progress bar -->
<div id="reading-progress"></div>
<!-- SIDEBAR -->
<aside class="sidebar">
<div class="sidebar-header">
<div class="sidebar-logo">
<div class="logo-icon">🗄️</div>
<span>ONTAP Tutorial</span>
</div>
<div class="sidebar-subtitle">SVM · LIF · Volumes</div>
</div>
<nav class="toc-nav">
<div class="toc-section-label">Module Overview</div>
<a href="#overview" class="toc-link active">
<span class="toc-num">00</span> Overview & Objectives
</a>
<div class="toc-section-label">SVM / VServer</div>
<a href="#svm-intro" class="toc-link">
<span class="toc-num">01</span> What Is a VServer (SVM)?
</a>
<a href="#svm-types" class="toc-link sub">
<span class="toc-num">↳</span> SVM Types
</a>
<a href="#svm-create" class="toc-link sub">
<span class="toc-num">↳</span> Creating a Data SVM
</a>
<a href="#svm-protocols" class="toc-link sub">
<span class="toc-num">↳</span> Protocol Management
</a>
<a href="#svm-aggregates" class="toc-link sub">
<span class="toc-num">↳</span> Aggregate Restrictions
</a>
<div class="toc-section-label">LIF Architecture</div>
<a href="#lif-intro" class="toc-link">
<span class="toc-num">02</span> LIF Fundamentals
</a>
<a href="#lif-types" class="toc-link sub">
<span class="toc-num">↳</span> Five Types of LIFs
</a>
<a href="#lif-create" class="toc-link sub">
<span class="toc-num">↳</span> Creating Data LIFs
</a>
<a href="#lif-ports" class="toc-link sub">
<span class="toc-num">↳</span> Port Planning
</a>
<div class="toc-section-label">Volume Management</div>
<a href="#vol-types" class="toc-link">
<span class="toc-num">03</span> Volume Types
</a>
<a href="#vol-thick-thin" class="toc-link sub">
<span class="toc-num">↳</span> Thick vs Thin Provisioning
</a>
<a href="#vol-create" class="toc-link sub">
<span class="toc-num">↳</span> Volume Operations
</a>
<div class="toc-section-label">Namespace</div>
<a href="#junction" class="toc-link">
<span class="toc-num">04</span> Junction Points & Paths
</a>
<a href="#namespace" class="toc-link sub">
<span class="toc-num">↳</span> Namespace Concept
</a>
<div class="toc-section-label">Reference</div>
<a href="#cli-reference" class="toc-link">
<span class="toc-num">05</span> CLI Quick Reference
</a>
<a href="#interview" class="toc-link">
<span class="toc-num">06</span> Interview Q&A
</a>
<a href="#quiz" class="toc-link">
<span class="toc-num">07</span> Self-Assessment Quiz
</a>
<a href="#author" class="toc-link">
<span class="toc-num">08</span> About the Author
</a>
</nav>
</aside>
<!-- MAIN -->
<main class="main-content">
<header class="top-header">
<div class="header-badge">📘 ONTAP Module 13 & 14</div>
<h1 class="main-title">SVM Architecture, LIF Design<br>& Volume Management in ONTAP</h1>
<p class="header-desc">
A comprehensive, self-paced technical guide covering Storage Virtual Machines (SVMs), Logical Interface (LIF) architecture, and flexible volume provisioning in NetApp ONTAP cluster mode — the backbone of modern enterprise NAS/SAN storage delivery.
</p>
<div class="header-meta">
<div class="meta-chip"><span class="dot" style="background:var(--accent-blue)"></span> Intermediate Level</div>
<div class="meta-chip"><span class="dot" style="background:var(--accent-green)"></span> ~60 min read</div>
<div class="meta-chip"><span class="dot" style="background:var(--accent-purple)"></span> ONTAP 9.5+</div>
<div class="meta-chip"><span class="dot" style="background:var(--accent-yellow)"></span> NAS & SAN Concepts</div>
</div>
</header>
<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>Overview & Learning Objectives</h2>
</div>
</div>
<p>This module covers three core building blocks that every ONTAP storage administrator must master: <strong>Storage Virtual Machines (SVMs)</strong>, <strong>Logical Interfaces (LIFs)</strong>, and <strong>Volumes</strong>. These components work in concert to present storage to clients in a multi-tenant, non-disruptive, and protocol-agnostic manner.</p>
<div class="grid-3">
<div class="stat-card">
<div class="stat-num" style="color:var(--accent-blue)">SVM</div>
<div class="stat-label">Virtual Storage Server</div>
</div>
<div class="stat-card">
<div class="stat-num" style="color:var(--accent-green)">LIF</div>
<div class="stat-label">Logical Interface</div>
</div>
<div class="stat-card">
<div class="stat-num" style="color:var(--accent-purple)">VOL</div>
<div class="stat-label">Flexible Volume</div>
</div>
</div>
<div class="callout info">
<div class="callout-icon">💡</div>
<div class="callout-content">
<div class="callout-title">Key Learning Path</div>
<div class="callout-text">You must understand SVMs before LIFs, and both before volumes. Each concept builds directly on the previous one — they are not independent components.</div>
</div>
</div>
<div class="mermaid-wrap">
<div class="mermaid">
flowchart TD
A["🗄️ ONTAP Cluster"] --> B["Physical Nodes"]
A --> C["Aggregates (Storage Pools)"]
C --> D["SVM / VServer"]
D --> E["LIFs (Logical Interfaces)"]
D --> F["Volumes (Logical Partitions)"]
E --> G["Physical NIC Ports"]
F --> H["Junction Points / Namespace"]
H --> I["NFS / CIFS Clients"]
E --> I
style A fill:#1c2333,stroke:#58a6ff,color:#e6edf3
style D fill:#1c2333,stroke:#bc8cff,color:#bc8cff
style E fill:#1c2333,stroke:#3fb950,color:#3fb950
style F fill:#1c2333,stroke:#e3b341,color:#e3b341
style I fill:#1c2333,stroke:#39d3c3,color:#39d3c3
</div>
<div class="diagram-caption">Figure 1 — High-level architecture: How SVMs, LIFs, and Volumes relate within an ONTAP cluster</div>
</div>
</section>
<div class="divider"></div>
<!-- ═══ SECTION 1: SVM ═══ -->
<section class="section" id="svm-intro">
<div class="section-header">
<div class="section-icon icon-purple">🖥️</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 01</div>
<h2>Storage Virtual Machines (SVMs)</h2>
</div>
</div>
<p>A <strong>Storage Virtual Machine (SVM)</strong> — also referred to as a VServer in older ONTAP documentation — is a logical, isolated storage entity that runs on top of an ONTAP cluster. It acts as a virtualization layer between the physical cluster infrastructure and the end clients consuming storage.</p>
<p>Think of an SVM as a dedicated virtual storage server that owns its own IP addresses, protocols, volumes, and security policies — yet shares the underlying physical hardware with other SVMs on the same cluster.</p>
<div class="callout tip">
<div class="callout-icon">🔑</div>
<div class="callout-content">
<div class="callout-title">Core Concept</div>
<div class="callout-text">Clients never interact with physical nodes directly. All storage access flows through an SVM. This abstraction enables non-disruptive operations, multi-tenancy, and protocol flexibility.</div>
</div>
</div>
<h3 id="svm-types">🔷 Four Types of SVMs</h3>
<div class="svm-grid">
<div class="svm-card svm-admin">
<div class="svm-icon">⚙️</div>
<div class="svm-name">Admin SVM</div>
<div class="svm-desc">Represents the entire cluster for management purposes. Cluster management LIFs are hosted here. Only one per cluster.</div>
<span class="svm-count">1 per cluster · Auto-created</span>
</div>
<div class="svm-card svm-node">
<div class="svm-icon">🖥️</div>
<div class="svm-name">Node SVM</div>
<div class="svm-desc">Represents individual nodes. Node management LIFs are associated here. Created automatically per node during cluster setup.</div>
<span class="svm-count">1 per node · Auto-created</span>
</div>
<div class="svm-card svm-data">
<div class="svm-icon">📦</div>
<div class="svm-name">Data SVM</div>
<div class="svm-desc">The only type a storage admin creates and manages. Used to serve data to clients via NFS, CIFS, iSCSI, FC, and other protocols.</div>
<span class="svm-count">Multiple allowed · Admin-created</span>
</div>
<div class="svm-card svm-system">
<div class="svm-icon">🔧</div>
<div class="svm-name">System SVM</div>
<div class="svm-desc">Internal ONTAP use only. Cluster LIFs for inter-node communication (169.254.x.x range) reside here. Not accessible by admins.</div>
<span class="svm-count">Auto-created · Internal only</span>
</div>
</div>
<div class="callout warning">
<div class="callout-icon">⚠️</div>
<div class="callout-content">
<div class="callout-title">Important Distinction</div>
<div class="callout-text">Only the <strong>Data SVM</strong> is administrator-managed. Admin, Node, and System SVMs are created automatically by ONTAP during cluster setup and cannot be manually provisioned.</div>
</div>
</div>
<h3 id="svm-create">⚙️ Creating a Data SVM</h3>
<p>When creating a Data SVM, you define its identity, root volume location, and security style. The root volume stores SVM-level configuration metadata — not actual user data.</p>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — Create Data SVM</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 a standard data SVM</span>
<span class="cmd">vserver create</span> <span class="param">-vserver</span> <span class="value">prod-svm01</span> \
<span class="param">-subtype</span> <span class="value">default</span> \
<span class="param">-rootvolume</span> <span class="value">prod_svm01_root</span> \
<span class="param">-rootvolume-security-style</span> <span class="value">unix</span> \
<span class="param">-aggregate</span> <span class="value">aggr_node01_data01</span>
<span class="comment"># Verify the SVM was created successfully</span>
<span class="cmd">vserver show</span>
<span class="output"> Admin Operational Root
Vserver Type Subtype State State Volume Aggregate
----------- ------- ---------- -------- ----------- ---------- ----------
prod-svm01 data default running running prod_svm01_root aggr_node01_data01</span></div>
</div>
<div class="card">
<div class="card-title">📌 SVM Subtype Options</div>
<table class="spec-table">
<thead><tr><th>Subtype</th><th>Purpose</th><th>When to Use</th></tr></thead>
<tbody>
<tr><td><span class="badge badge-green">default</span></td><td>Standard data serving SVM</td><td>Normal NAS/SAN workloads</td></tr>
<tr><td><span class="badge badge-blue">dp-destination</span></td><td>Disaster recovery target</td><td>SnapVault / SnapMirror destinations</td></tr>
<tr><td><span class="badge badge-purple">sync-source</span></td><td>MetroCluster active site</td><td>MetroCluster licensed clusters only</td></tr>
<tr><td><span class="badge badge-yellow">sync-destination</span></td><td>MetroCluster passive site</td><td>MetroCluster licensed clusters only</td></tr>
</tbody>
</table>
</div>
<div class="callout success">
<div class="callout-icon">✅</div>
<div class="callout-content">
<div class="callout-title">Best Practice</div>
<div class="callout-text">Always host the SVM root volume on a <strong>data aggregate</strong>, never on a root aggregate. Root aggregates are reserved for controller configuration data only.</div>
</div>
</div>
<h3 id="svm-protocols">🔌 Protocol Management on SVMs</h3>
<p>By default, all protocols (NFS, CIFS, iSCSI, FCP, NVMe, NDMP) are enabled on a newly created SVM. In enterprise environments, it is a best practice to restrict protocols to only those actually used — this prevents accidental misconfiguration and documents intent clearly.</p>
<div class="code-block">
<div class="code-header">
<span class="code-lang">Protocol Allow/Remove</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 currently allowed protocols</span>
<span class="cmd">vserver show</span> <span class="param">-fields</span> <span class="value">allowed-protocols</span>
<span class="comment"># Remove unwanted protocols (e.g., keep only NAS protocols)</span>
<span class="cmd">vserver remove-protocols</span> <span class="param">-vserver</span> <span class="value">prod-svm01</span> \
<span class="param">-protocols</span> <span class="value">fcp,iscsi,nvme,ndmp</span>
<span class="comment"># Add a protocol back if needed</span>
<span class="cmd">vserver add-protocols</span> <span class="param">-vserver</span> <span class="value">prod-svm01</span> \
<span class="param">-protocols</span> <span class="value">iscsi</span>
<span class="comment"># Verify</span>
<span class="cmd">vserver show</span> <span class="param">-fields</span> <span class="value">allowed-protocols</span>
<span class="output">vserver allowed-protocols
------------ -----------------
prod-svm01 nfs,cifs</span></div>
</div>
<h3 id="svm-aggregates">🗂️ Controlling Aggregate Access</h3>
<p>By default, an SVM has access to all aggregates in the cluster for volume creation. You can restrict this to specific aggregates — useful for workload isolation or compliance requirements.</p>
<div class="code-block">
<div class="code-header">
<span class="code-lang">Aggregate Restriction</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 specific aggregates to an SVM (restricts to these only)</span>
<span class="cmd">vserver add-aggregates</span> <span class="param">-vserver</span> <span class="value">prod-svm01</span> \
<span class="param">-aggregates</span> <span class="value">aggr_node01_data01,aggr_node02_data01</span>
<span class="comment"># Remove an aggregate from SVM access</span>
<span class="cmd">vserver remove-aggregates</span> <span class="param">-vserver</span> <span class="value">prod-svm01</span> \
<span class="param">-aggregates</span> <span class="value">aggr_node03_data01</span></div>
</div>
</section>
<div class="divider"></div>
<!-- ═══ SECTION 2: LIF ═══ -->
<section class="section" id="lif-intro">
<div class="section-header">
<div class="section-icon icon-green">🔗</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 02</div>
<h2>Logical Interfaces (LIFs)</h2>
</div>
</div>
<p>A <strong>Logical Interface (LIF)</strong> is a software-defined network endpoint created on top of a physical NIC port. It provides an IP address (for NAS/management) or a WWPN (for Fibre Channel SAN) that clients use to communicate with an SVM.</p>
<p>The core challenge LIFs solve: an SVM is a <em>logical</em> construct — it has no physical presence. Physical ports exist on nodes. LIFs bridge this gap by binding a logical, SVM-owned network identity to a specific physical port on a specific node.</p>
<!-- Why LIFs Architecture Diagram -->
<div class="svg-diagram">
<svg viewBox="0 0 780 320" xmlns="http://www.w3.org/2000/svg" style="width:100%;height:auto;">
<defs>
<marker id="arr" markerWidth="8" markerHeight="6" refX="6" refY="3" orient="auto">
<polygon points="0 0, 8 3, 0 6" fill="#58a6ff" opacity="0.8"/>
</marker>
<marker id="arr2" markerWidth="8" markerHeight="6" refX="6" refY="3" orient="auto">
<polygon points="0 0, 8 3, 0 6" fill="#3fb950" opacity="0.8"/>
</marker>
</defs>
<!-- Client -->
<rect x="20" y="120" width="110" height="60" rx="8" fill="#1c2333" stroke="#39d3c3" stroke-width="1.5"/>
<text x="75" y="145" text-anchor="middle" font-family="monospace" font-size="12" fill="#39d3c3">🖥️ Client</text>
<text x="75" y="162" text-anchor="middle" font-family="monospace" font-size="10" fill="#8b949e">Server / App</text>
<!-- LAN -->
<rect x="170" y="110" width="100" height="80" rx="8" fill="#1c2333" stroke="#58a6ff" stroke-width="1.5" stroke-dasharray="4,2"/>
<text x="220" y="145" text-anchor="middle" font-family="monospace" font-size="11" fill="#58a6ff">LAN / Switch</text>
<!-- Node 1 -->
<rect x="320" y="40" width="160" height="110" rx="10" fill="#1c2333" stroke="#30363d" stroke-width="1.5"/>
<text x="400" y="60" text-anchor="middle" font-family="sans-serif" font-size="11" font-weight="700" fill="#e6edf3">Node 01</text>
<!-- Physical Port -->
<rect x="340" y="70" width="120" height="28" rx="5" fill="#161b22" stroke="#484f58"/>
<text x="400" y="89" text-anchor="middle" font-family="monospace" font-size="10" fill="#8b949e">e0d (Physical Port)</text>
<!-- LIF -->
<rect x="340" y="106" width="120" height="28" rx="5" fill="rgba(88,166,255,0.1)" stroke="rgba(88,166,255,0.5)"/>
<text x="400" y="120" text-anchor="middle" font-family="monospace" font-size="10" fill="#58a6ff">data-lif-01</text>
<text x="400" y="130" text-anchor="middle" font-family="monospace" font-size="9" fill="#8b949e">10.20.30.101</text>
<!-- Node 2 -->
<rect x="320" y="180" width="160" height="110" rx="10" fill="#1c2333" stroke="#30363d" stroke-width="1.5"/>
<text x="400" y="200" text-anchor="middle" font-family="sans-serif" font-size="11" font-weight="700" fill="#e6edf3">Node 02</text>
<rect x="340" y="210" width="120" height="28" rx="5" fill="#161b22" stroke="#484f58"/>
<text x="400" y="229" text-anchor="middle" font-family="monospace" font-size="10" fill="#8b949e">e0d (Physical Port)</text>
<rect x="340" y="246" width="120" height="28" rx="5" fill="rgba(63,185,80,0.1)" stroke="rgba(63,185,80,0.5)"/>
<text x="400" y="260" text-anchor="middle" font-family="monospace" font-size="10" fill="#3fb950">data-lif-02</text>
<text x="400" y="270" text-anchor="middle" font-family="monospace" font-size="9" fill="#8b949e">10.20.30.102</text>
<!-- SVM -->
<rect x="540" y="120" width="180" height="80" rx="12" fill="rgba(188,140,255,0.05)" stroke="rgba(188,140,255,0.5)" stroke-width="2"/>
<text x="630" y="148" text-anchor="middle" font-family="sans-serif" font-size="13" font-weight="700" fill="#bc8cff">SVM: prod-svm01</text>
<text x="630" y="168" text-anchor="middle" font-family="monospace" font-size="10" fill="#8b949e">Logical · Owns both LIFs</text>
<text x="630" y="183" text-anchor="middle" font-family="monospace" font-size="9" fill="#6e7681">NFS · CIFS · Volumes</text>
<!-- Arrows -->
<line x1="130" y1="150" x2="170" y2="150" stroke="#39d3c3" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="270" y1="130" x2="320" y2="100" stroke="#58a6ff" stroke-width="1.5" marker-end="url(#arr)"/>
<line x1="270" y1="165" x2="320" y2="225" stroke="#3fb950" stroke-width="1.5" marker-end="url(#arr2)"/>
<line x1="480" y1="115" x2="540" y2="148" stroke="#bc8cff" stroke-width="1.5" stroke-dasharray="4,2" marker-end="url(#arr)"/>
<line x1="480" y1="260" x2="540" y2="185" stroke="#bc8cff" stroke-width="1.5" stroke-dasharray="4,2" marker-end="url(#arr)"/>
<!-- Labels -->
<text x="390" y="320" text-anchor="middle" font-family="sans-serif" font-size="10" fill="#6e7681">LIFs bridge the logical SVM to physical node ports — enabling client connectivity</text>
</svg>
<div class="diagram-caption">Figure 2 — LIF Architecture: Logical interfaces bind SVM identity to physical node ports</div>
</div>
<h3 id="lif-types">📋 Five Types of LIFs</h3>
<div class="lif-grid">
<div class="lif-card">
<div class="lif-badge-wrap">
<span class="badge badge-yellow">Cluster LIF</span><br><br>
<span style="font-size:11px;color:var(--text-muted);font-family:monospace">System SVM</span><br>
<span style="font-size:11px;color:var(--text-muted);font-family:monospace">169.254.x.x</span>
</div>
<div class="lif-detail">
<div class="lif-title">Cluster LIF (Cluster Interconnect)</div>
<div class="lif-desc">Created automatically during cluster setup on dedicated 10/25GbE interconnect ports. Used exclusively for inter-node communication within the cluster (heartbeat, data replication, cache coherency). Cannot be created manually. Hosted on the System SVM.</div>
</div>
</div>
<div class="lif-card">
<div class="lif-badge-wrap">
<span class="badge badge-blue">Cluster Mgmt LIF</span><br><br>
<span style="font-size:11px;color:var(--text-muted);font-family:monospace">Admin SVM</span><br>
<span style="font-size:11px;color:var(--text-muted);font-family:monospace">1 per cluster</span>
</div>
<div class="lif-detail">
<div class="lif-title">Cluster Management LIF</div>
<div class="lif-desc">Created once during cluster initialization. Provides the cluster-wide management IP address used by administrators to remotely manage the entire cluster via SSH, System Manager, or REST API. Hosted on the Admin SVM. Additional ones can be created manually if needed.</div>
</div>
</div>
<div class="lif-card">
<div class="lif-badge-wrap">
<span class="badge badge-green">Node Mgmt LIF</span><br><br>
<span style="font-size:11px;color:var(--text-muted);font-family:monospace">Admin SVM</span><br>
<span style="font-size:11px;color:var(--text-muted);font-family:monospace">1 per node</span>
</div>
<div class="lif-detail">
<div class="lif-title">Node Management LIF</div>
<div class="lif-desc">Automatically created per node. Used for node-specific management operations and AutoSupport (vendor telemetry / dial-home). Allows direct node access for troubleshooting independent of other nodes. Hosted on the Admin SVM. Cannot be created manually.</div>
</div>
</div>
<div class="lif-card">
<div class="lif-badge-wrap">
<span class="badge badge-purple">Data LIF</span><br><br>
<span style="font-size:11px;color:var(--text-muted);font-family:monospace">Data SVM</span><br>
<span style="font-size:11px;color:var(--text-muted);font-family:monospace">Admin-created</span>
</div>
<div class="lif-detail">
<div class="lif-title">Data LIF ⭐ (Most Important)</div>
<div class="lif-desc">Created manually by the storage administrator. This is the primary LIF type for production use — it carries all client data traffic (NFS mounts, SMB/CIFS shares, iSCSI sessions). Multiple data LIFs per SVM are recommended — at minimum one per node — for high availability and throughput. Bound to a Data SVM.</div>
</div>
</div>
<div class="lif-card">
<div class="lif-badge-wrap">
<span class="badge badge-teal">Intercluster LIF</span><br><br>
<span style="font-size:11px;color:var(--text-muted);font-family:monospace">Admin SVM</span><br>
<span style="font-size:11px;color:var(--text-muted);font-family:monospace">Admin-created</span>
</div>
<div class="lif-detail">
<div class="lif-title">Intercluster LIF</div>
<div class="lif-desc">Created manually to establish connectivity between two separate ONTAP clusters — for example, between a primary datacenter and a DR site. Required for SnapMirror replication, SnapVault backup, and cluster peering relationships. Hosted on the Admin SVM.</div>
</div>
</div>
</div>
<div class="mermaid-wrap">
<div class="mermaid">
graph LR
SYS["🔧 System SVM"]
ADM["⚙️ Admin SVM"]
DAT["📦 Data SVM"]
SYS --> CL["Cluster LIFs\n(169.254.x.x)\nAuto-created"]
ADM --> CM["Cluster Mgmt LIF\nAuto-created"]
ADM --> NM["Node Mgmt LIFs\n1 per node\nAuto-created"]
ADM --> IC["Intercluster LIFs\nManual"]
DAT --> DL["Data LIFs\nNAS / SAN\nManual ⭐"]
style DAT fill:#1c2333,stroke:#bc8cff,color:#bc8cff
style DL fill:#1c2333,stroke:#bc8cff,color:#bc8cff
style SYS fill:#1c2333,stroke:#e3b341,color:#e3b341
style ADM fill:#1c2333,stroke:#58a6ff,color:#58a6ff
</div>
<div class="diagram-caption">Figure 3 — LIF to SVM ownership mapping</div>
</div>
<h3 id="lif-create">🛠️ Creating Data LIFs</h3>
<p>Before creating LIFs, identify available network ports using <span class="hl">network port show</span>. Ports prefixed with <span class="hl">e</span> are Ethernet ports. Avoid cluster interconnect ports and reusing management ports in production.</p>
<div class="code-block">
<div class="code-header">
<span class="code-lang">Check Available Ports</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="cmd">network port show</span>
<span class="output">Node: node01
Speed(Mbps) Health
Port IPspace Broadcast Domain Link MTU Admin/Oper Status
--------- ------------ ---------------- ----- ---- ----------- ------
e0a Cluster Cluster up 9000 auto/10000 healthy ← Cluster port
e0b Cluster Cluster up 9000 auto/10000 healthy ← Cluster port
e0c Default Default up 1500 auto/1000 healthy ← Mgmt port
e0d Default Default up 1500 auto/1000 healthy ← Available ✓
e0e Default Default up 1500 auto/1000 healthy ← Available ✓</span></div>
</div>
<div class="callout danger">
<div class="callout-icon">🚫</div>
<div class="callout-content">
<div class="callout-title">Do Not Use Cluster Ports for Data LIFs</div>
<div class="callout-text">Ports <strong>e0a</strong> and <strong>e0b</strong> (cluster interconnect) must never host data LIFs. ONTAP will prevent this. Always use dedicated data ports (<strong>e0d</strong>, <strong>e0e</strong>, etc.) or dedicated management ports for their respective roles.</div>
</div>
</div>
<div class="code-block">
<div class="code-header">
<span class="code-lang">Create Data LIF — NAS (Node 01)</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 NAS data LIF on Node 01</span>
<span class="cmd">network interface create</span> \
<span class="param">-vserver</span> <span class="value">prod-svm01</span> \
<span class="param">-lif</span> <span class="value">nas-data-lif01</span> \
<span class="param">-service-policy</span> <span class="value">default-data-files</span>\
<span class="param">-role</span> <span class="value">data</span> \
<span class="param">-home-node</span> <span class="value">node01</span> \
<span class="param">-home-port</span> <span class="value">e0d</span> \
<span class="param">-address</span> <span class="value">10.20.30.101</span> \
<span class="param">-netmask</span> <span class="value">255.255.255.0</span> \
<span class="param">-status-admin</span> <span class="value">up</span>
<span class="comment"># Create NAS data LIF on Node 02 (HA redundancy)</span>
<span class="cmd">network interface create</span> \
<span class="param">-vserver</span> <span class="value">prod-svm01</span> \
<span class="param">-lif</span> <span class="value">nas-data-lif02</span> \
<span class="param">-service-policy</span> <span class="value">default-data-files</span>\
<span class="param">-role</span> <span class="value">data</span> \
<span class="param">-home-node</span> <span class="value">node02</span> \
<span class="param">-home-port</span> <span class="value">e0d</span> \
<span class="param">-address</span> <span class="value">10.20.30.102</span> \
<span class="param">-netmask</span> <span class="value">255.255.255.0</span> \
<span class="param">-status-admin</span> <span class="value">up</span>
<span class="comment"># Verify all LIFs</span>
<span class="cmd">network interface show</span>
<span class="output"> Logical Status Network Current Current Is
Vserver Interface Admin/Oper Address/Mask Node Port Home
----------- ---------- ---------- ------------------ ------------- ------- ----
prod-svm01 nas-data-lif01 up/up 10.20.30.101/24 node01 e0d true
nas-data-lif02 up/up 10.20.30.102/24 node02 e0d true</span></div>
</div>
<div class="card">
<div class="card-title">📋 Service Policy Quick Reference</div>
<table class="spec-table">
<thead><tr><th>Service Policy</th><th>Protocol Type</th><th>Use Case</th></tr></thead>
<tbody>
<tr><td><span class="hl">default-data-files</span></td><td>NAS (NFS, CIFS/SMB)</td><td>File-based storage — NFS exports, SMB shares</td></tr>
<tr><td><span class="hl">default-data-blocks</span></td><td>SAN (iSCSI, FCP)</td><td>Block-based storage — LUNs, iSCSI targets</td></tr>
<tr><td><span class="hl">default-management</span></td><td>Management</td><td>SVM-level remote management access</td></tr>
</tbody>
</table>
<p style="margin-top:10px;font-size:13px;color:var(--text-muted)">NAS = Files | SAN = Blocks — remember this distinction, it drives LIF service policy selection.</p>
</div>
<h3 id="lif-ports">📡 Port Planning Best Practices</h3>
<!-- Network Port Diagram SVG -->
<div class="port-viz">
<svg viewBox="0 0 700 200" xmlns="http://www.w3.org/2000/svg" style="width:100%;height:auto;">
<text x="350" y="20" text-anchor="middle" font-family="sans-serif" font-size="13" font-weight="700" fill="#e6edf3">Node Port Allocation Diagram</text>
<!-- Node box -->
<rect x="40" y="35" width="620" height="150" rx="10" fill="#161b22" stroke="#30363d" stroke-width="1.5"/>
<text x="350" y="54" text-anchor="middle" font-family="monospace" font-size="11" fill="#8b949e">Node (e.g., node01)</text>
<!-- Port blocks -->
<!-- e0a -->
<rect x="60" y="65" width="90" height="55" rx="6" fill="rgba(247,129,102,0.1)" stroke="rgba(247,129,102,0.5)"/>
<text x="105" y="88" text-anchor="middle" font-family="monospace" font-size="11" font-weight="700" fill="#f78166">e0a</text>
<text x="105" y="103" text-anchor="middle" font-family="monospace" font-size="9" fill="#8b949e">Cluster</text>
<text x="105" y="114" text-anchor="middle" font-family="monospace" font-size="9" fill="#f78166">🚫 Reserved</text>
<!-- e0b -->
<rect x="160" y="65" width="90" height="55" rx="6" fill="rgba(247,129,102,0.1)" stroke="rgba(247,129,102,0.5)"/>
<text x="205" y="88" text-anchor="middle" font-family="monospace" font-size="11" font-weight="700" fill="#f78166">e0b</text>
<text x="205" y="103" text-anchor="middle" font-family="monospace" font-size="9" fill="#8b949e">Cluster</text>
<text x="205" y="114" text-anchor="middle" font-family="monospace" font-size="9" fill="#f78166">🚫 Reserved</text>
<!-- e0c -->
<rect x="265" y="65" width="90" height="55" rx="6" fill="rgba(227,179,65,0.1)" stroke="rgba(227,179,65,0.4)"/>
<text x="310" y="88" text-anchor="middle" font-family="monospace" font-size="11" font-weight="700" fill="#e3b341">e0c / e0m</text>
<text x="310" y="103" text-anchor="middle" font-family="monospace" font-size="9" fill="#8b949e">Management</text>
<text x="310" y="114" text-anchor="middle" font-family="monospace" font-size="9" fill="#e3b341">⚙️ Mgmt LIF</text>
<!-- e0d -->
<rect x="368" y="65" width="90" height="55" rx="6" fill="rgba(88,166,255,0.1)" stroke="rgba(88,166,255,0.5)"/>
<text x="413" y="88" text-anchor="middle" font-family="monospace" font-size="11" font-weight="700" fill="#58a6ff">e0d</text>
<text x="413" y="103" text-anchor="middle" font-family="monospace" font-size="9" fill="#8b949e">Data Network</text>
<text x="413" y="114" text-anchor="middle" font-family="monospace" font-size="9" fill="#58a6ff">✅ Data LIFs</text>
<!-- e0e -->
<rect x="468" y="65" width="90" height="55" rx="6" fill="rgba(88,166,255,0.1)" stroke="rgba(88,166,255,0.5)"/>
<text x="513" y="88" text-anchor="middle" font-family="monospace" font-size="11" font-weight="700" fill="#58a6ff">e0e</text>
<text x="513" y="103" text-anchor="middle" font-family="monospace" font-size="9" fill="#8b949e">Data Network</text>
<text x="513" y="114" text-anchor="middle" font-family="monospace" font-size="9" fill="#58a6ff">✅ Data LIFs</text>
<!-- legend -->
<rect x="60" y="135" width="12" height="10" fill="rgba(247,129,102,0.4)"/>
<text x="78" y="144" font-family="sans-serif" font-size="10" fill="#8b949e">Cluster (do not touch)</text>
<rect x="200" y="135" width="12" height="10" fill="rgba(227,179,65,0.4)"/>
<text x="218" y="144" font-family="sans-serif" font-size="10" fill="#8b949e">Management</text>
<rect x="320" y="135" width="12" height="10" fill="rgba(88,166,255,0.4)"/>
<text x="338" y="144" font-family="sans-serif" font-size="10" fill="#8b949e">Data LIFs (recommended)</text>
</svg>
<div class="diagram-caption">Figure 4 — Recommended port allocation for a typical ONTAP node</div>
</div>
<div class="callout success">
<div class="callout-icon">✅</div>
<div class="callout-content">
<div class="callout-title">Best Practice — LIF Redundancy</div>
<div class="callout-text">Always create at least <strong>one data LIF per node</strong> for each SVM. This ensures that if one node fails, the SVM can still serve data through LIFs on surviving nodes. In AFF/ASA environments with 4+ nodes, plan LIF counts based on port speed and bandwidth requirements.</div>
</div>
</div>
</section>
<div class="divider"></div>
<!-- ═══ SECTION 3: VOLUMES ═══ -->
<section class="section" id="vol-types">
<div class="section-header">
<div class="section-icon icon-yellow">📁</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 03</div>
<h2>Volume Types in ONTAP</h2>
</div>
</div>
<p>Volumes in ONTAP are <strong>logical partitions carved from aggregates</strong>. They are the primary unit of storage provisioning. Before creating volumes for clients, you must understand the three volume types available and their respective use cases.</p>
<div class="card">
<div class="card-title">📊 Volume Type Comparison</div>
<table class="spec-table">
<thead><tr><th>Type</th><th>Where Created</th><th>Max Size</th><th>Status</th></tr></thead>
<tbody>
<tr>
<td><span class="badge badge-orange">Traditional Volume</span></td>
<td>Directly on disks (bypasses aggregates)</td>
<td>Disk capacity</td>
<td><span class="badge badge-orange">Deprecated — ONTAP 9.0+</span></td>
</tr>
<tr>
<td><span class="badge badge-blue">FlexVol (Flexible)</span></td>
<td>On top of a single aggregate</td>
<td>~300 TB (model-dependent)</td>
<td><span class="badge badge-green">Current Standard</span></td>
</tr>
<tr>
<td><span class="badge badge-purple">FlexGroup</span></td>
<td>Spans multiple aggregates</td>
<td>Up to 21 PB</td>
<td><span class="badge badge-blue">Advanced / High-Scale</span></td>
</tr>
</tbody>
</table>
</div>
<div class="mermaid-wrap">
<div class="mermaid">
flowchart TD
AGG1["Aggregate 01\n(Node 01)"] -- "100 GB" --> FG
AGG2["Aggregate 02\n(Node 02)"] -- "100 GB" --> FG
AGG3["Aggregate 03\n(Node 03)"] -- "100 GB" --> FG
AGG4["Aggregate 04\n(Node 04)"] -- "100 GB" --> FG
FG["📦 FlexGroup Volume\n400 GB combined\nMax: 21 PB"]
AGG5["Aggregate 01"] -- "10 GB\n(from single aggr)" --> FV["📄 FlexVol\n10 GB\nMax: ~300 TB"]
style FG fill:#1c2333,stroke:#bc8cff,color:#bc8cff
style FV fill:#1c2333,stroke:#58a6ff,color:#58a6ff
</div>
<div class="diagram-caption">Figure 5 — FlexVol vs FlexGroup: storage layout differences</div>
</div>
<div class="callout info">
<div class="callout-icon">📘</div>
<div class="callout-content">
<div class="callout-title">Focus of This Module</div>
<div class="callout-text">This module covers <strong>FlexVol</strong> — the standard volume type for everyday provisioning. FlexGroup is covered in advanced topics.</div>
</div>
</div>
<h3 id="vol-thick-thin">⚖️ Thick vs Thin Provisioning</h3>
<p>FlexVols come in two provisioning modes that differ in how and when space is reserved from the parent aggregate:</p>
<div class="vol-compare">
<div class="vol-thick">
<div class="vol-type-title">🔒 Thick Provisioning (Space Guarantee: volume)</div>
<ul class="bullet-list">
<li>Space is immediately reserved from the aggregate at volume creation time</li>
<li>Aggregate available space decreases right away, regardless of actual data written</li>
<li>Guarantees storage will always be available for this volume</li>
<li>Simpler capacity management — what you see is what you get</li>
<li>Default for FAS (spinning disk) controllers</li>
</ul>
</div>
<div class="vol-thin">
<div class="vol-type-title">💧 Thin Provisioning (Space Guarantee: none)</div>
<ul class="bullet-list">
<li>No space reserved at creation — aggregate shows full available capacity</li>
<li>Space is consumed from aggregate only as data is written</li>
<li>Enables overprovisioning — allocate more than physically available</li>
<li>Requires active aggregate monitoring to prevent out-of-space conditions</li>
<li>Default for AFF (all-flash) controllers</li>
</ul>
</div>
</div>
<!-- Thin provisioning visual -->
<div class="svg-diagram">
<svg viewBox="0 0 700 220" xmlns="http://www.w3.org/2000/svg" style="width:100%;height:auto;">
<text x="350" y="20" text-anchor="middle" font-family="sans-serif" font-size="13" font-weight="700" fill="#e6edf3">Thick vs Thin Provisioning — Aggregate Space Impact</text>