Repository navigation
Expand file tree
/
Copy pathnetapp-tutorial4.html
More file actions
1186 lines (1075 loc) · 75.1 KB
/
Copy pathnetapp-tutorial4.html
File metadata and controls
1186 lines (1075 loc) · 75.1 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: CLI Modes, Disk Shelves, Disk IDs & ADP — Tutorial 4</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;
}
/* ── 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; }
/* ── 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); }
.badge-gray { background: rgba(139,148,158,0.15); color: var(--text-secondary); border: 1px solid var(--border); }
.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; }
/* Shell cards */
.shell-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
/* Mode cards */
.mode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.mode-card { border-radius: 12px; padding: 20px; border: 1px solid; }
.mode-admin { border-color: rgba(63,185,80,0.4); background: rgba(63,185,80,0.05); }
.mode-advanced { border-color: rgba(227,179,65,0.4); background: rgba(227,179,65,0.05); }
.mode-diag { border-color: rgba(247,129,102,0.4); background: rgba(247,129,102,0.05); }
.mode-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.mode-admin .mode-title { color: var(--accent-green); }
.mode-advanced .mode-title { color: var(--accent-yellow); }
.mode-diag .mode-title { color: var(--accent-orange); }
.mode-indicator { font-family: 'JetBrains Mono', monospace; font-size: 11px; padding: 3px 8px; border-radius: 4px; background: rgba(0,0,0,0.3); display: inline-block; margin-bottom: 10px; color: var(--text-muted); }
.mode-desc { font-size: 12.5px; color: var(--text-secondary); line-height: 1.6; }
/* Connectivity cards */
.conn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.conn-card { border-radius: 12px; padding: 18px; border: 1px solid var(--border); background: var(--bg-card); }
.conn-icon { font-size: 22px; margin-bottom: 8px; }
.conn-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16px; color: var(--text-primary); margin-bottom: 8px; }
/* IOM cards */
.iom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.iom-card { border-radius: 12px; padding: 18px; border: 1px solid var(--border); background: var(--bg-card); text-align: center; }
.iom-speed { font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.iom-name { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.iom-shelves { font-size: 11.5px; color: var(--text-muted); }
/* Disk ID formula */
.diskid-formula { display: flex; align-items: center; gap: 8px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin: 20px 0; flex-wrap: wrap; justify-content: center; }
.diskid-part { border: 1px solid var(--border); border-radius: 10px; padding: 14px 20px; text-align: center; min-width: 100px; }
.diskid-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; font-family: 'JetBrains Mono', monospace; }
.diskid-value { font-family: 'Sora', sans-serif; font-size: 32px; font-weight: 800; }
.diskid-sep { font-family: 'Sora', sans-serif; font-size: 32px; font-weight: 800; color: var(--text-muted); }
.diskid-example { font-family: 'JetBrains Mono', monospace; font-size: 24px; font-weight: 700; color: var(--accent-blue); }
/* ADP partition visual */
.partition-visual { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin: 20px 0; }
.disk-label { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; font-family: 'JetBrains Mono', monospace; }
.disk-bar { display: flex; border-radius: 6px; overflow: hidden; height: 48px; }
.disk-root { background: rgba(247,129,102,0.3); border-right: 2px solid var(--bg-primary); display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--accent-orange); font-family: 'JetBrains Mono', monospace; text-align: center; line-height: 1.3; padding: 4px; }
.disk-data { background: rgba(88,166,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--accent-blue); font-family: 'JetBrains Mono', monospace; text-align: center; padding: 4px; }
.disk-data2 { background: rgba(63,185,80,0.15); display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--accent-green); font-family: 'JetBrains Mono', monospace; text-align: center; padding: 4px; }
/* Author */
.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; }
.author-email { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-blue); font-size: 13px; text-decoration: none; margin-top: 8px; }
.author-email:hover { text-decoration: underline; }
/* Interactive quiz (from Tutorial 7) */
.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; }
@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, .shell-grid, .mode-grid, .conn-grid, .iom-grid { grid-template-columns: 1fr; }
.main-title { font-size: 26px; }
}
</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 4 — Condensed</div>
</div>
<div class="toc-nav">
<div class="toc-section-label">Overview</div>
<a href="#intro" class="toc-link"><span class="toc-num">00</span> What This Covers</a>
<div class="toc-section-label">Part I — CLI Shells & Modes</div>
<a href="#shells" class="toc-link"><span class="toc-num">01</span> ONTAP CLI Shells</a>
<a href="#modes" class="toc-link"><span class="toc-num">02</span> Privilege Modes</a>
<div class="toc-section-label">Part II — Disk Shelf Architecture</div>
<a href="#connectivity" class="toc-link"><span class="toc-num">03</span> Connectivity Types</a>
<a href="#iom" class="toc-link"><span class="toc-num">04</span> IOM Modules & ACP</a>
<a href="#daisy" class="toc-link"><span class="toc-num">05</span> Daisy-Chain Topology</a>
<a href="#shelfid" class="toc-link"><span class="toc-num">06</span> Setting Shelf IDs</a>
<div class="toc-section-label">Part III — Disk Identity & Ownership</div>
<a href="#diskid" class="toc-link"><span class="toc-num">07</span> Disk IDs</a>
<a href="#ownership" class="toc-link"><span class="toc-num">08</span> Disk Ownership</a>
<div class="toc-section-label">Part IV — Advanced Partitioning</div>
<a href="#adp" class="toc-link"><span class="toc-num">09</span> ADP</a>
<a href="#firmware" class="toc-link"><span class="toc-num">10</span> Firmware Management</a>
<div class="toc-section-label">Exam Prep</div>
<a href="#quiz" class="toc-link"><span class="toc-num">11</span> Quick Quiz</a>
<a href="#interview" class="toc-link"><span class="toc-num">12</span> Interview Q&A</a>
<a href="#about" class="toc-link"><span class="toc-num">—</span> About the Author</a>
</div>
</nav>
<!-- ════════ MAIN CONTENT ════════ -->
<div class="main-content">
<header class="top-header">
<div class="header-badge">📚 Tutorial 04</div>
<h1 class="main-title">CLI Modes, Disk Shelves,<br>Disk IDs & ADP</h1>
<p class="header-desc">A condensed guide to ONTAP CLI privilege levels, physical shelf connectivity, disk addressing, and Advanced Disk Partitioning — from first principles to exam-ready.</p>
<div class="header-meta">
<div class="meta-chip"><div class="dot" style="background:var(--accent-blue)"></div> 10 Core Sections</div>
<div class="meta-chip"><div class="dot" style="background:var(--accent-green)"></div> 7 Figures</div>
<div class="meta-chip"><div class="dot" style="background:var(--accent-purple)"></div> ADP v1 & v2</div>
<div class="meta-chip"><div class="dot" style="background:var(--accent-yellow)"></div> Interview Q&A</div>
</div>
</header>
<div class="content-area">
<!-- ════════ SECTION 00 — OVERVIEW ════════ -->
<section class="section" id="intro">
<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 This Tutorial Covers</h2>
</div>
</div>
<p>This tutorial bridges three foundational ONTAP areas end-to-end: CLI navigation and privilege modes, physical shelf topology and connectivity, and disk ownership including Advanced Disk Partitioning (ADP).</p>
<div class="grid-3">
<div class="stat-card"><div class="stat-num" style="color:var(--accent-blue)">3</div><div class="stat-label">CLI Privilege Modes</div></div>
<div class="stat-card"><div class="stat-num" style="color:var(--accent-green)">3</div><div class="stat-label">Disk ID Components</div></div>
<div class="stat-card"><div class="stat-num" style="color:var(--accent-purple)">2</div><div class="stat-label">ADP Versions</div></div>
</div>
</section>
<!-- ════════ SECTION 01 — SHELLS ════════ -->
<section class="section" id="shells">
<div class="section-header">
<div class="section-icon icon-teal">🖥️</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 01</div>
<h2>ONTAP CLI Shells</h2>
</div>
</div>
<p>ONTAP provides three shell environments. <strong style="color:var(--text-primary)">Shells</strong> are separate entry points into different administrative layers — distinct from <strong style="color:var(--text-primary)">modes</strong>, which are privilege levels <em>within</em> the Cluster Shell.</p>
<div class="shell-grid">
<div class="card">
<div class="card-title">🟢 Cluster Shell</div>
<p style="margin:0;font-size:13px;">Primary environment for all day-to-day operations. Cluster-wide scope — where 95% of your work happens.</p>
<div style="margin-top:12px;"><span class="badge badge-green">Default Entry Point</span> <span class="badge badge-blue">Cluster-Scoped</span></div>
</div>
<div class="card">
<div class="card-title">🔵 Node Shell</div>
<p style="margin:0;font-size:13px;">Legacy 7-Mode compatibility layer. Node-specific scope. Certain disk-level commands still require a visit here. No tab completion.</p>
<div style="margin-top:12px;"><span class="badge badge-orange">Node-Scoped</span> <span class="badge badge-gray">Limited Commands</span></div>
</div>
<div class="card">
<div class="card-title">🔴 System Shell</div>
<p style="margin:0;font-size:13px;">Linux-based OS layer for deep diagnostic log collection only. No configuration changes. Invoked under vendor support guidance.</p>
<div style="margin-top:12px;"><span class="badge badge-orange">Node-Specific</span> <span class="badge badge-gray">Diagnostics Only</span></div>
</div>
</div>
<div class="mermaid-wrap">
<div class="mermaid">
graph TD
A["🖥️ ONTAP Node"] --> B["Cluster Shell\n(ontap CLI)"]
A --> C["Node Shell\n(system node run)"]
A --> D["System Shell\n(diag/Linux layer)"]
B --> E["Admin Mode\n★ Default"]
B --> F["Advanced Mode\n★ set adv"]
B --> G["Diagnostic Mode\n★ set diag"]
C --> H["Node-specific\nlegacy commands"]
D --> I["Linux-level\nlog gathering"]
style A fill:#1c2333,stroke:#30363d,color:#e6edf3
style B fill:#0d2035,stroke:#58a6ff,color:#58a6ff
style C fill:#1a1a2e,stroke:#f78166,color:#f78166
style D fill:#1a1a2e,stroke:#e3b341,color:#e3b341
style E fill:#0d2e1a,stroke:#3fb950,color:#3fb950
style F fill:#2e2a0d,stroke:#e3b341,color:#e3b341
style G fill:#2e150d,stroke:#f78166,color:#f78166
style H fill:#1c2333,stroke:#30363d,color:#8b949e
style I fill:#1c2333,stroke:#30363d,color:#8b949e
</div>
<div class="diagram-caption">Fig 1.1 — ONTAP Shell and Mode Hierarchy</div>
</div>
<div class="callout info">
<div class="callout-icon">💡</div>
<div class="callout-content">
<div class="callout-title">Accessing Node Shell</div>
<div class="callout-text">Use <span class="hl">system node run -node <nodename></span> to enter node shell. Type <span class="hl">exit</span> to return to cluster shell.</div>
</div>
</div>
</section>
<!-- ════════ SECTION 02 — MODES ════════ -->
<section class="section" id="modes">
<div class="section-header">
<div class="section-icon icon-yellow">🔐</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 02</div>
<h2>Privilege Modes in ONTAP</h2>
</div>
</div>
<p>Within the Cluster Shell, three privilege modes control which commands are accessible. Each level unlocks additional capabilities while increasing configuration risk.</p>
<div class="mode-grid">
<div class="mode-card mode-admin">
<div class="mode-title">Admin Mode</div>
<div class="mode-indicator">ontap-cluster::></div>
<div class="mode-desc">Default on login. Handles ~80% of routine tasks — volumes, LIFs, health checks, statistics.</div>
<div style="margin-top:10px;"><span class="badge badge-green">Default</span></div>
</div>
<div class="mode-card mode-advanced">
<div class="mode-title">Advanced Mode</div>
<div class="mode-indicator">ontap-cluster::*></div>
<div class="mode-desc">Unlocks additional parameters and tuning options. The <span style="color:#e3b341">★</span> in the prompt confirms elevated privileges.</div>
<div style="margin-top:10px;"><span class="badge badge-yellow">★ Prompt</span></div>
</div>
<div class="mode-card mode-diag">
<div class="mode-title">Diagnostic Mode</div>
<div class="mode-indicator">ontap-cluster::*></div>
<div class="mode-desc">Most privileged. Can affect cluster stability. Only use under vendor-guided troubleshooting.</div>
<div style="margin-top:10px;"><span class="badge badge-orange">Expert Only</span></div>
</div>
</div>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — Mode Navigation</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"># Enter Advanced mode</span>
<span class="prompt">ontap-cluster::></span> <span class="cmd">set</span> <span class="value">advanced</span>
<span class="prompt">ontap-cluster::*></span> <span class="comment"># Star (*) confirms advanced/diag mode</span>
<span class="comment"># Enter Diagnostic mode</span>
<span class="prompt">ontap-cluster::*></span> <span class="cmd">set</span> <span class="value">diag</span>
<span class="comment"># Return to Admin mode</span>
<span class="prompt">ontap-cluster::*></span> <span class="cmd">set</span> <span class="value">admin</span>
<span class="prompt">ontap-cluster::></span> <span class="comment"># Star disappears</span>
<span class="comment"># Shortcuts</span>
<span class="cmd">set adm</span> <span class="comment"># → Admin</span>
<span class="cmd">set adv</span> <span class="comment"># → Advanced</span>
<span class="cmd">set diag</span> <span class="comment"># → Diagnostic</span></div>
</div>
<div class="callout danger">
<div class="callout-icon">🚨</div>
<div class="callout-content">
<div class="callout-title">Diagnostic Mode Risk</div>
<div class="callout-text">Commands in diagnostic mode can disrupt data access or corrupt configuration. Never enter without a specific known reason. Always return to admin mode when done — the <strong style="color:#e3b341">★</strong> in the prompt is your reminder.</div>
</div>
</div>
</section>
<!-- ════════ SECTION 03 — CONNECTIVITY ════════ -->
<section class="section" id="connectivity">
<div class="section-header">
<div class="section-icon icon-green">🔗</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 03</div>
<h2>Disk Shelf Connectivity Types</h2>
</div>
</div>
<p>Disk shelves connect to controllers via one of three interface technologies, determining supported disk types, bandwidth, and compatible shelf models.</p>
<div class="conn-grid">
<div class="conn-card">
<div class="conn-icon">🔵</div>
<div class="conn-name">FC-AL</div>
<div class="conn-detail" style="color:var(--text-muted);font-size:13px;">Fibre Channel Arbitrated Loop — legacy. Supports FC and ATA disks. Found in older DS14 series. Largely phased out.</div>
<div style="margin-top:8px;"><span class="badge badge-gray">Legacy</span></div>
</div>
<div class="conn-card" style="border-color:rgba(88,166,255,0.3);">
<div class="conn-icon">🟢</div>
<div class="conn-name">SAS</div>
<div class="conn-detail" style="color:var(--text-secondary);font-size:13px;">Serial Attached SCSI — dominant in current deployments. Supports SAS, NL-SAS, SSD. Daisy-chain capable. Available in 3, 6, 12 Gbps.</div>
<div style="margin-top:8px;"><span class="badge badge-green">Current Standard</span></div>
</div>
<div class="conn-card" style="border-color:rgba(188,140,255,0.3);">
<div class="conn-icon">🟣</div>
<div class="conn-name">NVMe</div>
<div class="conn-detail" style="color:var(--text-secondary);font-size:13px;">Newest protocol — dramatically higher throughput for all-flash AFF configurations. Used in latest shelf generations.</div>
<div style="margin-top:8px;"><span class="badge badge-purple">Latest Generation</span></div>
</div>
</div>
<table class="spec-table">
<thead>
<tr><th>Interface</th><th>Disk Types Supported</th><th>Representative Shelf Models</th><th>Status</th></tr>
</thead>
<tbody>
<tr>
<td><span class="badge badge-gray">FC-AL</span></td>
<td>FC, ATA</td>
<td>DS14Mk-FC2, DS14Mk-FC4, DS14Mk-ATA2</td>
<td><span class="badge badge-orange">Deprecated</span></td>
</tr>
<tr>
<td><span class="badge badge-green">SAS</span></td>
<td>SAS, NL-SAS, SSD</td>
<td>DS212C, DS224C, DS460C, DS2246</td>
<td><span class="badge badge-green">Current</span></td>
</tr>
<tr>
<td><span class="badge badge-purple">NVMe</span></td>
<td>NVMe SSD</td>
<td>NS224 (NVMe-oF)</td>
<td><span class="badge badge-teal">Latest Gen</span></td>
</tr>
</tbody>
</table>
</section>
<!-- ════════ SECTION 04 — IOM ════════ -->
<section class="section" id="iom">
<div class="section-header">
<div class="section-icon icon-purple">⚙️</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 04</div>
<h2>IOM Modules & ACP</h2>
</div>
</div>
<p>Every SAS disk shelf contains exactly <strong style="color:var(--text-primary)">two IOM (Input/Output Module)</strong> modules — IOM-A and IOM-B — operating simultaneously in active-active. If one IOM or SAS path fails, the other continues without interruption. The IOM model determines the shelf's maximum throughput.</p>
<div class="iom-grid">
<div class="iom-card" style="border-color:rgba(88,166,255,0.3);">
<div class="iom-speed" style="color:var(--accent-blue);">3 Gb/s</div>
<div class="iom-name">IOM3</div>
<div class="iom-shelves">DS40-43 series</div>
</div>
<div class="iom-card" style="border-color:rgba(63,185,80,0.3);">
<div class="iom-speed" style="color:var(--accent-green);">6 Gb/s</div>
<div class="iom-name">IOM6</div>
<div class="iom-shelves">DS2246, DS4246 series</div>
</div>
<div class="iom-card" style="border-color:rgba(188,140,255,0.3);">
<div class="iom-speed" style="color:var(--accent-purple);">12 Gb/s</div>
<div class="iom-name">IOM12</div>
<div class="iom-shelves">DS212C, DS224C series</div>
</div>
</div>
<div class="callout warning">
<div class="callout-icon">⚠️</div>
<div class="callout-content">
<div class="callout-title">Never Mix IOM Types in a Single Loop</div>
<div class="callout-text">Mixing IOM generations on one daisy-chain loop degrades the entire loop to the slowest IOM's speed. Always create separate SAS loops per IOM generation.</div>
</div>
</div>
<h3 id="acp">ACP — Alternate Control Path</h3>
<p>On older shelves, shelf health monitoring and data traffic use separate connections. ACP is a dedicated Ethernet management path (via controller ports <span class="hl">e0P</span> / <span class="hl">e0I</span>). On current shelves (DS212C, DS224C+), ACP monitoring is embedded within the SAS connection — no separate cabling needed.</p>
<div class="grid-2">
<div class="card">
<div class="card-title">🔴 Older Shelves — ACP Required</div>
<ul class="bullet-list">
<li>DS2246, DS4243 and legacy models</li>
<li>Separate Ethernet to e0P/e0I on controllers</li>
<li>SAS = data; Ethernet = monitoring</li>
<li>Must configure ACP for shelf health alerts</li>
</ul>
</div>
<div class="card">
<div class="card-title">🟢 Newer Shelves — ACP Embedded</div>
<ul class="bullet-list">
<li>DS212C, DS224C, DS460C and current models</li>
<li>ACP monitoring embedded within SAS protocol</li>
<li>Single SAS cable carries data + management</li>
<li>No separate ACP configuration required</li>
</ul>
</div>
</div>
</section>
<!-- ════════ SECTION 05 — DAISY CHAIN ════════ -->
<section class="section" id="daisy">
<div class="section-header">
<div class="section-icon icon-orange">🔄</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 05</div>
<h2>Daisy-Chain (Multi-Path) Shelf Topology</h2>
</div>
</div>
<p>ONTAP uses a <strong>daisy-chain topology</strong> where controller SAS ports connect to the first shelf, each subsequent shelf chains port-to-port, and the last shelf loops back to the second controller — creating a single redundant loop reachable by both controllers simultaneously.</p>
<div class="svg-diagram">
<svg viewBox="0 0 860 400" xmlns="http://www.w3.org/2000/svg" width="100%" style="max-width:860px;">
<rect width="860" height="400" fill="#0d1117"/>
<text x="430" y="28" text-anchor="middle" font-family="Sora,sans-serif" font-size="13" fill="#8b949e" font-weight="600">DAISY-CHAIN (MULTI-PATH) SHELF TOPOLOGY — DUAL CONTROLLER HA PAIR</text>
<!-- Controller 1 -->
<rect x="30" y="55" width="130" height="290" rx="10" fill="#1c2333" stroke="#58a6ff" stroke-width="2"/>
<text x="95" y="82" text-anchor="middle" font-family="Sora,sans-serif" font-size="11" fill="#58a6ff" font-weight="700">CONTROLLER 1</text>
<text x="95" y="97" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="9" fill="#6e7681">node-a01</text>
<rect x="140" y="120" width="20" height="16" rx="3" fill="#3fb950" stroke="#3fb950" stroke-width="1"/>
<text x="150" y="132" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="8" fill="#0d1117">P0</text>
<rect x="140" y="165" width="20" height="16" rx="3" fill="#58a6ff" stroke="#58a6ff" stroke-width="1"/>
<text x="150" y="177" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="8" fill="#0d1117">P1</text>
<rect x="140" y="240" width="20" height="16" rx="3" fill="#3fb950" stroke="#3fb950" stroke-width="1"/>
<text x="150" y="252" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="8" fill="#0d1117">P2</text>
<rect x="140" y="285" width="20" height="16" rx="3" fill="#58a6ff" stroke="#58a6ff" stroke-width="1"/>
<text x="150" y="297" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="8" fill="#0d1117">P3</text>
<!-- Shelf 1 -->
<rect x="220" y="80" width="140" height="100" rx="8" fill="#1c2333" stroke="#30363d" stroke-width="1.5"/>
<text x="290" y="103" text-anchor="middle" font-family="Sora,sans-serif" font-size="11" fill="#e6edf3" font-weight="600">SHELF 01</text>
<text x="290" y="117" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="9" fill="#6e7681">Shelf-ID: 1</text>
<rect x="230" y="125" width="50" height="36" rx="5" fill="#0d2e1a" stroke="#3fb950" stroke-width="1.2"/>
<text x="255" y="140" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="9" fill="#3fb950" font-weight="700">IOM-A</text>
<text x="255" y="154" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="8" fill="#3fb950">12Gb/s</text>
<rect x="300" y="125" width="50" height="36" rx="5" fill="#0d1e30" stroke="#58a6ff" stroke-width="1.2"/>
<text x="325" y="140" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="9" fill="#58a6ff" font-weight="700">IOM-B</text>
<text x="325" y="154" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="8" fill="#58a6ff">12Gb/s</text>
<rect x="218" y="134" width="12" height="12" rx="2" fill="#3fb950" stroke="#3fb950"/>
<rect x="360" y="134" width="12" height="12" rx="2" fill="#58a6ff" stroke="#58a6ff"/>
<!-- Shelf 2 -->
<rect x="420" y="80" width="140" height="100" rx="8" fill="#1c2333" stroke="#30363d" stroke-width="1.5"/>
<text x="490" y="103" text-anchor="middle" font-family="Sora,sans-serif" font-size="11" fill="#e6edf3" font-weight="600">SHELF 02</text>
<text x="490" y="117" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="9" fill="#6e7681">Shelf-ID: 2</text>
<rect x="430" y="125" width="50" height="36" rx="5" fill="#0d2e1a" stroke="#3fb950" stroke-width="1.2"/>
<text x="455" y="140" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="9" fill="#3fb950" font-weight="700">IOM-A</text>
<text x="455" y="154" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="8" fill="#3fb950">12Gb/s</text>
<rect x="500" y="125" width="50" height="36" rx="5" fill="#0d1e30" stroke="#58a6ff" stroke-width="1.2"/>
<text x="525" y="140" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="9" fill="#58a6ff" font-weight="700">IOM-B</text>
<text x="525" y="154" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="8" fill="#58a6ff">12Gb/s</text>
<rect x="418" y="134" width="12" height="12" rx="2" fill="#3fb950" stroke="#3fb950"/>
<rect x="560" y="134" width="12" height="12" rx="2" fill="#58a6ff" stroke="#58a6ff"/>
<!-- Shelf 3 -->
<rect x="620" y="80" width="140" height="100" rx="8" fill="#1c2333" stroke="#30363d" stroke-width="1.5"/>
<text x="690" y="103" text-anchor="middle" font-family="Sora,sans-serif" font-size="11" fill="#e6edf3" font-weight="600">SHELF 03</text>
<text x="690" y="117" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="9" fill="#6e7681">Shelf-ID: 3</text>
<rect x="630" y="125" width="50" height="36" rx="5" fill="#0d2e1a" stroke="#3fb950" stroke-width="1.2"/>
<text x="655" y="140" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="9" fill="#3fb950" font-weight="700">IOM-A</text>
<text x="655" y="154" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="8" fill="#3fb950">12Gb/s</text>
<rect x="700" y="125" width="50" height="36" rx="5" fill="#0d1e30" stroke="#58a6ff" stroke-width="1.2"/>
<text x="725" y="140" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="9" fill="#58a6ff" font-weight="700">IOM-B</text>
<text x="725" y="154" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="8" fill="#58a6ff">12Gb/s</text>
<rect x="618" y="134" width="12" height="12" rx="2" fill="#3fb950" stroke="#3fb950"/>
<rect x="760" y="134" width="12" height="12" rx="2" fill="#58a6ff" stroke="#58a6ff"/>
<!-- Controller 2 -->
<rect x="700" y="240" width="130" height="130" rx="10" fill="#1c2333" stroke="#bc8cff" stroke-width="2"/>
<text x="765" y="267" text-anchor="middle" font-family="Sora,sans-serif" font-size="11" fill="#bc8cff" font-weight="700">CONTROLLER 2</text>
<text x="765" y="282" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="9" fill="#6e7681">node-a02</text>
<rect x="690" y="290" width="20" height="16" rx="3" fill="#3fb950" stroke="#3fb950" stroke-width="1"/>
<text x="700" y="302" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="8" fill="#0d1117">P0</text>
<rect x="690" y="320" width="20" height="16" rx="3" fill="#58a6ff" stroke="#58a6ff" stroke-width="1"/>
<text x="700" y="332" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="8" fill="#0d1117">P1</text>
<!-- PATH A (green) -->
<line x1="160" y1="128" x2="218" y2="140" stroke="#3fb950" stroke-width="2" stroke-dasharray="5,3"/>
<line x1="280" y1="140" x2="418" y2="140" stroke="#3fb950" stroke-width="2" stroke-dasharray="5,3"/>
<line x1="480" y1="140" x2="618" y2="140" stroke="#3fb950" stroke-width="2" stroke-dasharray="5,3"/>
<line x1="655" y1="161" x2="655" y2="295" stroke="#3fb950" stroke-width="2" stroke-dasharray="5,3"/>
<line x1="655" y1="295" x2="710" y2="295" stroke="#3fb950" stroke-width="2" stroke-dasharray="5,3"/>
<!-- PATH B (blue) -->
<path d="M160,173 Q190,320 325,320 Q430,320 525,320 Q630,320 725,320 Q760,320 760,161" stroke="#58a6ff" stroke-width="2" fill="none" stroke-dasharray="5,3"/>
<line x1="710" y1="327" x2="760" y2="327" stroke="#58a6ff" stroke-width="1.5" stroke-dasharray="3,2"/>
<!-- Labels -->
<text x="280" y="110" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="9" fill="#3fb950">── PATH A (IOM-A Loop)</text>
<text x="430" y="360" text-anchor="middle" font-family="JetBrains Mono,monospace" font-size="9" fill="#58a6ff">─ ─ PATH B (IOM-B Loop)</text>
<!-- Disk icons -->
<text x="260" y="112" text-anchor="middle" font-size="8" fill="#6e7681">💿💿💿</text>
<text x="460" y="112" text-anchor="middle" font-size="8" fill="#6e7681">💿💿💿</text>
<text x="660" y="112" text-anchor="middle" font-size="8" fill="#6e7681">💿💿💿</text>
</svg>
<div class="diagram-caption">Fig 5.1 — Dual-Path Daisy-Chain SAS Shelf Topology with IOM-A and IOM-B Loops</div>
</div>
<div class="callout success">
<div class="callout-icon">✅</div>
<div class="callout-content">
<div class="callout-title">Adding Shelves — Non-Disruptive</div>
<div class="callout-text">Disconnect the last shelf's outbound SAS port from the controller, insert the new shelf, reconnect — one path at a time to maintain continuous data access throughout.</div>
</div>
</div>
</section>
<!-- ════════ SECTION 06 — SHELF ID ════════ -->
<section class="section" id="shelfid">
<div class="section-header">
<div class="section-icon icon-blue">🏷️</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 06</div>
<h2>Setting Shelf IDs</h2>
</div>
</div>
<p>Each shelf must have a unique numeric ID before connecting to a controller. This ID becomes part of every disk's permanent address and is essential for fault isolation.</p>
<ul class="step-list">
<li><span class="step-num">1</span>Locate the LCD display panel and button on the front or back of the shelf.</li>
<li><span class="step-num">2</span>Press and hold the button — the display cycles through 0–32.</li>
<li><span class="step-num">3</span>Release at your desired number. The shelf ID is set immediately — no ONTAP command needed.</li>
<li><span class="step-num">4</span>IDs must be unique within the same SAS loop. IDs can be reused across separate loops.</li>
</ul>
<div class="callout warning">
<div class="callout-icon">⚠️</div>
<div class="callout-content">
<div class="callout-title">Shelf ID Changes Are Disruptive in Production</div>
<div class="callout-text">Once a shelf is in service with live data, changing its shelf ID requires taking the shelf offline. Plan shelf IDs carefully before deployment — changes are free only on shelves with no assigned disks.</div>
</div>
</div>
</section>
<!-- ════════ SECTION 07 — DISK ID ════════ -->
<section class="section" id="diskid">
<div class="section-header">
<div class="section-icon icon-purple">🔢</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 07</div>
<h2>Understanding Disk IDs</h2>
</div>
</div>
<p>Every physical disk is assigned a three-part <strong>Disk ID</strong>. When a disk fails and an alert fires, the disk ID tells you exactly where to go physically.</p>
<div class="diskid-formula">
<div class="diskid-part">
<div class="diskid-label">Channel / Loop</div>
<div class="diskid-value" style="color:var(--accent-teal);">1</div>
</div>
<div class="diskid-sep">.</div>
<div class="diskid-part">
<div class="diskid-label">Shelf ID</div>
<div class="diskid-value" style="color:var(--accent-blue);">2</div>
</div>
<div class="diskid-sep">.</div>
<div class="diskid-part">
<div class="diskid-label">Disk Slot</div>
<div class="diskid-value" style="color:var(--accent-purple);">7</div>
</div>
<div style="padding:0 16px;color:var(--text-muted);font-size:18px;">→</div>
<div class="diskid-part" style="border-color:var(--accent-blue);">
<div class="diskid-label">Full Disk ID</div>
<div class="diskid-example">1.2.7</div>
</div>
</div>
<table class="spec-table">
<thead>
<tr><th>Component</th><th>Description</th><th>Assigned By</th></tr>
</thead>
<tbody>
<tr>
<td><span class="badge badge-teal">Channel</span></td>
<td>Identifies the SAS loop / HBA port group connecting the shelf set to the controller.</td>
<td>ONTAP (auto)</td>
</tr>
<tr>
<td><span class="badge badge-blue">Shelf ID</span></td>
<td>Numeric ID physically set on the shelf LCD panel.</td>
<td>Administrator (manual)</td>
</tr>
<tr>
<td><span class="badge badge-purple">Disk Slot</span></td>
<td>Slot position within the shelf. Starts at 0. A 24-slot shelf = slots 0–23.</td>
<td>ONTAP (positional)</td>
</tr>
</tbody>
</table>
<div class="mermaid-wrap">
<div class="mermaid">
graph LR
A["SAS Port Group\n(Channel 2)"] --> B["Shelf ID: 4"]
B --> C["Disk Slot 11"]
C --> D["Disk ID: 2.4.11"]
style A fill:#0d2333,stroke:#39d3c3,color:#39d3c3
style B fill:#0d1e30,stroke:#58a6ff,color:#58a6ff
style C fill:#1a1232,stroke:#bc8cff,color:#bc8cff
style D fill:#0a0e13,stroke:#e3b341,color:#e3b341,font-weight:bold
</div>
<div class="diagram-caption">Fig 7.1 — Disk ID Address Resolution: Channel.Shelf.Slot → Final Disk ID</div>
</div>
<div class="callout info">
<div class="callout-icon">ℹ️</div>
<div class="callout-content">
<div class="callout-title">Practical Example</div>
<div class="callout-text">Disk <strong style="color:var(--accent-blue)">2.4.11</strong> = SAS channel 2, Shelf-ID 4, slot 11 (12th physical slot from zero). Walk to the shelf labeled "4" on the cable loop connected to channel 2, count to slot 11.</div>
</div>
</div>
</section>
<!-- ════════ SECTION 08 — OWNERSHIP ════════ -->
<section class="section" id="ownership">
<div class="section-header">
<div class="section-icon icon-green">👤</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 08</div>
<h2>Disk Ownership in ONTAP</h2>
</div>
</div>
<p>Both controllers in an HA pair see all attached disks, but each disk can only be <em>owned</em> by one controller at a time. Ownership determines which controller manages the disk and can use it in an aggregate. Unassigned disks sit in an effective spare pool visible to both controllers.</p>
<div class="mermaid-wrap">
<div class="mermaid">
graph TD
SH1["Shelf 1 — 24 Disks"] --> CTL1["Controller 1\nnode-a01"]
SH1 --> CTL2["Controller 2\nnode-a02"]
SH2["Shelf 2 — 24 Disks"] --> CTL1
SH2 --> CTL2
SH3["Shelf 3 — 12 Disks"] --> CTL1
SH3 --> CTL2
CTL1 --> OWN1["Owns: 30 Disks\n(Root Aggr + Data Aggr)"]
CTL2 --> OWN2["Owns: 30 Disks\n(Root Aggr + Data Aggr)"]
SH3 --> SPARE["6 Disks → Spare Pool\n(Unassigned)"]
style CTL1 fill:#0d2035,stroke:#58a6ff,color:#58a6ff
style CTL2 fill:#0d2035,stroke:#bc8cff,color:#bc8cff
style OWN1 fill:#0d2e1a,stroke:#3fb950,color:#3fb950
style OWN2 fill:#0d2e1a,stroke:#3fb950,color:#3fb950
style SPARE fill:#2e1e0d,stroke:#e3b341,color:#e3b341
style SH1 fill:#1c2333,stroke:#30363d,color:#e6edf3
style SH2 fill:#1c2333,stroke:#30363d,color:#e6edf3
style SH3 fill:#1c2333,stroke:#30363d,color:#e6edf3
</div>
<div class="diagram-caption">Fig 8.1 — Disk Ownership Distribution Across HA Controllers and Spare Pool</div>
</div>
<h3>Key Disk Ownership Commands</h3>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — Disk Ownership</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"># View all disks and ownership status</span>
<span class="prompt">ontap-cluster::></span> <span class="cmd">storage disk show</span>
<span class="comment"># Manually assign a disk</span>
<span class="prompt">ontap-cluster::></span> <span class="cmd">storage disk assign</span> <span class="param">-disk</span> <span class="value">1.1.23</span> <span class="param">-owner</span> <span class="value">node-a01</span>
<span class="comment"># Remove disk ownership</span>
<span class="prompt">ontap-cluster::></span> <span class="cmd">storage disk removeowner</span> <span class="param">-disk</span> <span class="value">1.1.23</span>
<span class="comment"># Enable/disable auto-assign</span>
<span class="prompt">ontap-cluster::></span> <span class="cmd">storage disk option modify</span> <span class="param">-node</span> <span class="value">node-a01</span> <span class="param">-autoassign</span> <span class="value">on</span>
<span class="comment"># View spare disks</span>
<span class="prompt">ontap-cluster::></span> <span class="cmd">storage aggregate show-spare-disks</span></div>
</div>
<div class="callout info">
<div class="callout-icon">ℹ️</div>
<div class="callout-content">
<div class="callout-title">Root Aggregate Disk Reservation</div>
<div class="callout-text">Without ADP: 3 full disks reserved per controller for root aggregates (6 total for HA pair). With ADP: only the root partition is used, leaving data partitions available for user aggregates.</div>
</div>
</div>
</section>
<!-- ════════ SECTION 09 — ADP ════════ -->
<section class="section" id="adp">
<div class="section-header">
<div class="section-icon icon-purple">✂️</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 09</div>
<h2>Advanced Disk Partitioning (ADP)</h2>
</div>
</div>
<p>ADP logically divides a physical drive into separate root and data partitions. Without ADP, ONTAP reserves entire disks for root aggregates — wasting significant capacity, especially on expensive flash drives.</p>
<div class="partition-visual">
<div class="disk-label">Without ADP — 3 full 8TB drives consumed per controller (root aggregate)</div>
<div class="disk-bar">
<div class="disk-root" style="width:50%;">ROOT AGGR<br>3 × 8TB = 24TB<br>used ≈ 400GB</div>
<div class="disk-data" style="width:50%;">WASTED<br>23.6TB unused forever</div>
</div>
<div class="disk-label" style="margin-top:20px;">With ADP v1 — only root partition reserved, data partition available</div>
<div class="disk-bar">
<div class="disk-root" style="width:6%;">ROOT<br>≈400GB</div>
<div class="disk-data" style="width:94%;">DATA PARTITION — 7.6TB available for user aggregates per drive</div>
</div>
<div class="disk-label" style="margin-top:20px;">With ADP v2 (AFF) — three partitions per drive</div>
<div class="disk-bar">
<div class="disk-root" style="width:5%;">ROOT</div>
<div class="disk-data" style="width:47.5%;">DATA-1 Partition</div>
<div class="disk-data2" style="width:47.5%;">DATA-2 Partition</div>
</div>
</div>
<div class="grid-2">
<div class="card" style="border-color:rgba(63,185,80,0.3);">
<div class="card-title" style="color:var(--accent-green);">✂️ ADP v1 — FAS Mid-Range</div>
<ul class="bullet-list">
<li><strong style="color:var(--text-primary)">2 partitions</strong> per drive: 1 root + 1 data</li>
<li>Applied only to shelves at initial cluster configuration</li>
<li>ADP and non-ADP disks cannot mix in the same aggregate</li>
<li>Optional for FAS 8000/9000; factory-set for FAS 2500/2600/2700</li>
<li>Conversion requires a full cluster reset — destructive</li>
</ul>
</div>
<div class="card" style="border-color:rgba(188,140,255,0.3);">
<div class="card-title" style="color:var(--accent-purple);">✂️ ADP v2 — AFF All-Flash</div>
<ul class="bullet-list">
<li><strong style="color:var(--text-primary)">3 partitions</strong> per drive: 1 root + 2 equal data</li>
<li>Mandatory on all AFF systems — cannot be disabled</li>
<li>All shelves including future expansions are automatically ADP v2</li>
<li>Data partitions equal in size — capacity split evenly</li>
<li>Enables flexible aggregate design with independent partition assignment</li>
</ul>
</div>
</div>
<div class="mermaid-wrap">
<div class="mermaid">
graph LR
subgraph ADP_V1["ADP v1 — 2 Partitions (FAS)"]
D1["Physical Drive\n8TB"] --> RP1["Root Partition\n~400GB\n(for root aggr)"]
D1 --> DP1["Data Partition\n~7.6TB\n(for user data)"]
end
subgraph ADP_V2["ADP v2 — 3 Partitions (AFF)"]
D2["Physical Drive\n8TB"] --> RP2["Root Partition\n~400GB"]
D2 --> DP2A["Data Partition-1\n~3.8TB"]
D2 --> DP2B["Data Partition-2\n~3.8TB"]
end
style ADP_V1 fill:#1c2333,stroke:#3fb950,color:#3fb950
style ADP_V2 fill:#1c2333,stroke:#bc8cff,color:#bc8cff
style D1 fill:#0d1e30,stroke:#58a6ff,color:#58a6ff
style D2 fill:#0d1e30,stroke:#58a6ff,color:#58a6ff
style RP1 fill:#2e150d,stroke:#f78166,color:#f78166
style RP2 fill:#2e150d,stroke:#f78166,color:#f78166
style DP1 fill:#0d2035,stroke:#58a6ff,color:#58a6ff
style DP2A fill:#0d2035,stroke:#58a6ff,color:#58a6ff
style DP2B fill:#0d2e1a,stroke:#3fb950,color:#3fb950
</div>
<div class="diagram-caption">Fig 9.1 — ADP v1 vs ADP v2 Partition Layout Comparison</div>
</div>
<h3>Verifying ADP Configuration</h3>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — ADP Verification</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"># Enter Diagnostic mode (required for partition commands)</span>
<span class="prompt">ontap-cluster::></span> <span class="cmd">set diag</span>
<span class="comment"># Show disk partitions</span>
<span class="prompt">ontap-cluster::*></span> <span class="cmd">disk partition show</span>
<span class="output">Disk Part Type Owner Pool Size</span>
<span class="output">1.1.0P1 P1 root node-a01 Pool0 400.0GB</span>
<span class="output">1.1.0P2 P2 data node-a01 Pool0 3.58TB</span>
<span class="output">1.1.0P3 P3 data node-a01 Pool0 3.58TB</span>
<span class="comment"># 3 partitions = ADP v2 (AFF) | 2 partitions = ADP v1 (FAS) | Empty = no ADP</span>
<span class="comment"># Return to Admin mode</span>
<span class="prompt">ontap-cluster::*></span> <span class="cmd">set admin</span></div>
</div>
</section>
<!-- ════════ SECTION 10 — FIRMWARE ════════ -->
<section class="section" id="firmware">
<div class="section-header">
<div class="section-icon icon-teal">🔄</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 10</div>
<h2>Shelf & Disk Firmware Management</h2>
</div>
</div>
<p>In ONTAP 9+, shelf and disk firmware are bundled inside the ONTAP image and upgraded automatically — non-disruptively — during an ONTAP upgrade. Individual firmware updates are now the exception, not the rule.</p>
<div class="grid-2">
<div class="card">
<div class="card-title">🕒 Legacy (Pre-ONTAP 9)</div>
<ul class="bullet-list">
<li>ONTAP OS, shelf firmware, and disk firmware each required separate manual upgrade processes</li>
<li>Individual planning, scheduling, and validation for each</li>
</ul>
</div>
<div class="card" style="border-color:rgba(63,185,80,0.3);">
<div class="card-title">✅ Modern (ONTAP 9+)</div>
<ul class="bullet-list">
<li>Shelf and disk firmware bundled inside ONTAP image</li>
<li>All components upgraded automatically — background, non-disruptive</li>
<li>Individual firmware update only needed for specific out-of-cycle patches</li>
</ul>
</div>
</div>
</section>
<div class="divider"></div>
<!-- ════════ SECTION 11 — QUIZ ════════ -->
<section class="section" id="quiz">
<div class="section-header">
<div class="section-icon icon-teal">🧠</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 11</div>
<h2>Quick Quiz</h2>
</div>
</div>