Repository navigation
Expand file tree
/
Copy pathnetapp-tutorial5.html
More file actions
1161 lines (1026 loc) · 76 KB
/
Copy pathnetapp-tutorial5.html
File metadata and controls
1161 lines (1026 loc) · 76 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: Partition Ownership, RDB, Cluster Quorum, Epsilon & Aggregates</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 {
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::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border-bright); border-radius: 2px; }
.sidebar-header {
padding: 20px 16px;
border-bottom: 1px solid var(--border);
background: var(--bg-secondary);
position: sticky; top: 0; z-index: 10;
}
.sidebar-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.sidebar-logo .logo-icon {
width: 32px; height: 32px;
background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
border-radius: 8px;
display: flex; align-items: center; justify-content: center;
font-size: 16px;
}
.sidebar-logo span { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px; color: var(--text-primary); letter-spacing: 0.5px; }
.sidebar-subtitle { font-size: 11px; color: var(--text-muted); padding-left: 42px; }
.toc-nav { padding: 12px 0; flex: 1; }
.toc-section-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-muted); padding: 12px 16px 6px; }
.toc-link {
display: flex; align-items: center; gap: 8px;
padding: 7px 16px; font-size: 12.5px;
color: var(--text-secondary); text-decoration: none;
transition: all 0.2s ease;
border-left: 2px solid transparent; line-height: 1.4;
}
.toc-link:hover { background: var(--bg-card); color: var(--text-primary); border-left-color: var(--accent-blue); }
.toc-link.active { background: rgba(88,166,255,0.1); color: var(--accent-blue); border-left-color: var(--accent-blue); font-weight: 500; }
.toc-link .toc-num { font-size: 10px; font-weight: 700; color: var(--text-muted); min-width: 18px; font-family: 'JetBrains Mono', monospace; }
.toc-link.sub { padding-left: 32px; font-size: 12px; }
.main-content { margin-left: var(--sidebar-width); flex: 1; max-width: calc(100vw - var(--sidebar-width)); }
.top-header {
background: linear-gradient(135deg, #0d1117 0%, #1a2744 50%, #0d2035 100%);
border-bottom: 1px solid var(--border);
padding: 60px 60px 50px;
position: relative; overflow: hidden;
}
.top-header::before {
content: ''; position: absolute; inset: 0;
background: radial-gradient(ellipse at 70% 50%, rgba(88,166,255,0.08) 0%, transparent 60%),
radial-gradient(ellipse at 20% 80%, rgba(63,185,80,0.06) 0%, transparent 50%);
}
.header-badge {
display: inline-flex; align-items: center; gap: 6px;
background: rgba(88,166,255,0.12); border: 1px solid rgba(88,166,255,0.3);
border-radius: 20px; padding: 4px 14px;
font-size: 12px; color: var(--accent-blue); font-weight: 500;
margin-bottom: 18px; font-family: 'JetBrains Mono', monospace;
}
.main-title {
font-family: 'Sora', sans-serif; font-size: 36px; 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: 700px; 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.9; color: #79c0ff; overflow-x: auto; }
.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-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; }
ul.topic-list { list-style: none; padding: 0; margin: 12px 0; }
ul.topic-list li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 14px; color: var(--text-secondary); line-height: 1.6; border-bottom: 1px solid rgba(48,54,61,0.5); }
ul.topic-list li:last-child { border-bottom: none; }
ul.topic-list li::before { content: '▸'; color: var(--accent-blue); font-size: 11px; margin-top: 4px; flex-shrink: 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-yellow { background: rgba(227,179,65,0.12); color: var(--accent-yellow); padding: 1px 6px; border-radius: 4px; font-size: 13.5px; font-family: 'JetBrains Mono', monospace; }
.diagram-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin: 20px 0; overflow-x: auto; }
.diagram-caption { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 12px; font-style: italic; }
.svg-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin: 20px 0; display: flex; flex-direction: column; align-items: center; }
.svg-wrap svg { max-width: 100%; height: auto; }
.disk-bar-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin: 20px 0; }
.disk-bar-label { font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; font-weight: 500; }
.disk-bar { display: flex; height: 52px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-bright); margin-bottom: 10px; }
.part-root { flex: 1; background: linear-gradient(90deg, rgba(247,129,102,0.4), rgba(247,129,102,0.25)); display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: var(--accent-orange); flex-direction: column; gap: 2px; border-right: 2px solid rgba(247,129,102,0.5); }
.part-data1 { flex: 2; background: linear-gradient(90deg, rgba(88,166,255,0.25), rgba(88,166,255,0.4)); display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: var(--accent-blue); flex-direction: column; gap: 2px; border-right: 2px solid rgba(88,166,255,0.5); }
.part-data2 { flex: 2; background: linear-gradient(90deg, rgba(63,185,80,0.25), rgba(63,185,80,0.4)); display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: var(--accent-green); flex-direction: column; gap: 2px; }
.qa-block { background: var(--bg-card); border: 1px solid rgba(57,211,195,0.3); border-radius: 12px; padding: 20px; margin: 12px 0; }
.qa-q { font-size: 14px; font-weight: 600; color: var(--accent-teal); margin-bottom: 10px; display: flex; gap: 8px; }
.qa-a { font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; padding-left: 24px; }
.rdb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0; }
.rdb-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.rdb-name { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.rdb-full { font-size: 11px; color: var(--text-muted); margin-bottom: 10px; }
.rdb-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.rdb-card.vldb { border-left: 3px solid var(--accent-blue); } .rdb-card.vldb .rdb-name { color: var(--accent-blue); }
.rdb-card.vif { border-left: 3px solid var(--accent-teal); } .rdb-card.vif .rdb-name { color: var(--accent-teal); }
.rdb-card.bcom { border-left: 3px solid var(--accent-orange); } .rdb-card.bcom .rdb-name { color: var(--accent-orange); }
.rdb-card.mgmt { border-left: 3px solid var(--accent-green); } .rdb-card.mgmt .rdb-name { color: var(--accent-green); }
.rdb-card.crs { border-left: 3px solid var(--accent-purple); } .rdb-card.crs .rdb-name { color: var(--accent-purple); }
.quorum-visual { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin: 20px 0; }
.quorum-bar-wrap { margin: 16px 0; }
.quorum-bar { height: 36px; border-radius: 6px; background: var(--bg-secondary); border: 1px solid var(--border); overflow: hidden; }
.quorum-fill { height: 100%; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; }
.fill-ok { background: linear-gradient(90deg, rgba(63,185,80,0.4), rgba(63,185,80,0.6)); color: var(--accent-green); }
.fill-warn { background: linear-gradient(90deg, rgba(227,179,65,0.4), rgba(227,179,65,0.6)); color: var(--accent-yellow); }
.fill-fail { background: linear-gradient(90deg, rgba(247,129,102,0.4), rgba(247,129,102,0.6)); color: var(--accent-orange); }
.quorum-label { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.aggr-visual { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin: 20px 0; }
.rg-box { border: 1px solid var(--border-bright); border-radius: 8px; padding: 14px; margin-bottom: 12px; }
.rg-title { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent-yellow); margin-bottom: 10px; font-weight: 700; }
.disk-row { display: flex; gap: 6px; flex-wrap: wrap; }
.disk-cell { width: 52px; height: 52px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 700; flex-direction: column; gap: 1px; }
.disk-data-cell { background: rgba(88,166,255,0.15); border: 1px solid rgba(88,166,255,0.4); color: var(--accent-blue); }
.disk-p-cell { background: rgba(247,129,102,0.15); border: 1px solid rgba(247,129,102,0.4); color: var(--accent-orange); }
.disk-dp-cell { background: rgba(188,140,255,0.15); border: 1px solid rgba(188,140,255,0.4); color: var(--accent-purple); }
.raid-type-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 16px 0; }
.rt-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 16px; text-align: center; }
.rt-name { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.rt-desc { font-size: 11.5px; color: var(--text-muted); line-height: 1.5; }
.mermaid-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin: 20px 0; overflow-x: auto; }
.mermaid { text-align: center; }
h3 { font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 600; color: var(--text-primary); margin: 28px 0 14px; }
.divider { height: 1px; background: var(--border); margin: 40px 0; }
#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; }
@media (max-width: 900px) {
.sidebar { transform: translateX(-100%); }
.main-content { margin-left: 0; max-width: 100vw; }
.content-area { padding: 24px 20px 60px; }
.top-header { padding: 40px 20px 30px; }
.main-title { font-size: 26px; }
.grid-2, .rdb-grid, .raid-type-grid { grid-template-columns: 1fr; }
}
</style>
</head>
<body>
<div id="reading-progress"></div>
<!-- SIDEBAR -->
<aside class="sidebar">
<div class="sidebar-header">
<div class="sidebar-logo">
<div class="logo-icon">💾</div>
<span>ONTAP Deep Dive</span>
</div>
<div class="sidebar-subtitle">Part 5 · Ownership, RDB, Quorum & Aggregates</div>
</div>
<nav class="toc-nav">
<div class="toc-section-label">Part I — Partition Ownership</div>
<a href="#adp-ownership" class="toc-link"><span class="toc-num">01</span> Partitioned Disk Ownership</a>
<a href="#auto-assign" class="toc-link"><span class="toc-num">02</span> Auto-Assign & CLI Commands</a>
<a href="#convert-partition" class="toc-link"><span class="toc-num">03</span> Converting Non-Partitioned Disks</a>
<div class="toc-section-label">Part II — Configuration Architecture</div>
<a href="#seven-vs-cmode" class="toc-link"><span class="toc-num">04</span> 7-Mode vs Cluster Mode</a>
<a href="#rdb" class="toc-link"><span class="toc-num">05</span> Replication Database (RDB)</a>
<div class="toc-section-label">Part III — Cluster Resilience</div>
<a href="#quorum" class="toc-link"><span class="toc-num">06</span> Cluster Quorum</a>
<a href="#epsilon" class="toc-link"><span class="toc-num">07</span> Epsilon — Tiebreaker</a>
<div class="toc-section-label">Part IV — Aggregates</div>
<a href="#aggr-intro" class="toc-link"><span class="toc-num">08</span> What Is an Aggregate?</a>
<a href="#raid-types" class="toc-link"><span class="toc-num">09</span> RAID Types & Group Sizing</a>
<a href="#aggr-create" class="toc-link"><span class="toc-num">10</span> Creating & Managing Aggregates</a>
<a href="#disk-zeroing" class="toc-link"><span class="toc-num">11</span> Disk Zeroing</a>
<div class="toc-section-label">Review</div>
<a href="#interview" class="toc-link"><span class="toc-num">12</span> Interview Q&A</a>
<div class="toc-section-label">Author</div>
<a href="#about-author" class="toc-link"><span class="toc-num">✦</span> About the Author</a>
</nav>
</aside>
<!-- MAIN CONTENT -->
<main class="main-content">
<div class="top-header">
<div class="header-badge">📘 ONTAP Deep Dive · Part 5</div>
<h1 class="main-title">Partition Ownership, RDB, Cluster Quorum, Epsilon & Aggregates</h1>
<p class="header-desc">
Advanced Drive Partitioning ownership mechanics, the Replication Database architecture, cluster quorum and tiebreaker fundamentals, and aggregate creation with RAID group design.
</p>
<div class="header-meta">
<div class="meta-chip"><div class="dot" style="background:var(--accent-blue)"></div>Disk Partitioning</div>
<div class="meta-chip"><div class="dot" style="background:var(--accent-green)"></div>RDB Architecture</div>
<div class="meta-chip"><div class="dot" style="background:var(--accent-purple)"></div>Quorum & Epsilon</div>
<div class="meta-chip"><div class="dot" style="background:var(--accent-yellow)"></div>Aggregate Design</div>
</div>
</div>
<div class="content-area">
<!-- ══ SECTION 01 — PARTITION OWNERSHIP ══ -->
<section class="section" id="adp-ownership">
<div class="section-header">
<div class="section-icon icon-orange">🔑</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 01</div>
<h2>Partitioned Disk Ownership</h2>
</div>
</div>
<p>With <strong>Advanced Drive Partitioning (ADP)</strong>, each physical disk is sliced into logical partitions independently assigned to different controllers. Run <span class="hl">disk show</span> — if Type shows <span class="hl-orange">shared</span>, disks are partitioned. Use <span class="hl">disk partition show</span> (advanced privilege) for confirmation.</p>
<h3>ADP v1 vs ADP v2 Partition Layouts</h3>
<div class="disk-bar-wrap">
<div class="disk-bar-label">📀 ADP v1 — Two partitions per disk</div>
<div class="disk-bar">
<div class="part-root" style="flex:1;">ROOT<span style="font-size:9px;font-weight:400;">~25%</span></div>
<div class="part-data1" style="flex:3;">DATA<span style="font-size:9px;font-weight:400;">~75%</span></div>
</div>
<div class="disk-bar-label" style="margin-top:16px;">📀 ADP v2 — Three partitions per disk</div>
<div class="disk-bar">
<div class="part-root" style="flex:1;">ROOT<span style="font-size:9px;font-weight:400;">~10%</span></div>
<div class="part-data1" style="flex:2;">DATA 1<span style="font-size:9px;font-weight:400;">~45%</span></div>
<div class="part-data2" style="flex:2;">DATA 2<span style="font-size:9px;font-weight:400;">~45%</span></div>
</div>
<div style="font-size:12px;color:var(--text-muted);margin-top:12px;font-style:italic;">Figure 1 — ADP partition layouts. ADP v2 (3-partition) is most common on modern AFF/FAS platforms.</div>
</div>
<h3>Ownership Distribution Strategy</h3>
<p>With ADP v2, a 24-drive shelf generates 24× Root, 24× Data-1, and 24× Data-2 partitions. The default balanced HA split:</p>
<div class="svg-wrap">
<svg viewBox="0 0 760 320" xmlns="http://www.w3.org/2000/svg" style="width:100%;max-height:320px;">
<defs>
<marker id="arr" markerWidth="8" markerHeight="6" refX="7" refY="3" orient="auto">
<polygon points="0 0, 8 3, 0 6" fill="#8b949e"/>
</marker>
</defs>
<rect width="760" height="320" fill="#1c2333" rx="10"/>
<rect x="290" y="20" width="180" height="44" rx="8" fill="#161b22" stroke="#484f58" stroke-width="1.2"/>
<text x="380" y="38" text-anchor="middle" fill="#8b949e" font-size="10" font-family="monospace">24-Drive Disk Shelf</text>
<text x="380" y="55" text-anchor="middle" fill="#e6edf3" font-size="12" font-family="monospace" font-weight="700">SHELF-01</text>
<line x1="380" y1="64" x2="380" y2="100" stroke="#8b949e" stroke-width="1.5" marker-end="url(#arr)"/>
<rect x="220" y="100" width="320" height="50" rx="8" fill="#21283a" stroke="#30363d" stroke-width="1"/>
<text x="260" y="122" text-anchor="middle" fill="#f78166" font-size="11" font-family="monospace" font-weight="700">24× ROOT</text>
<text x="380" y="122" text-anchor="middle" fill="#58a6ff" font-size="11" font-family="monospace" font-weight="700">24× DATA-1</text>
<text x="500" y="122" text-anchor="middle" fill="#3fb950" font-size="11" font-family="monospace" font-weight="700">24× DATA-2</text>
<text x="260" y="138" text-anchor="middle" fill="#6e7681" font-size="9" font-family="monospace">partitions</text>
<text x="380" y="138" text-anchor="middle" fill="#6e7681" font-size="9" font-family="monospace">partitions</text>
<text x="500" y="138" text-anchor="middle" fill="#6e7681" font-size="9" font-family="monospace">partitions</text>
<line x1="280" y1="150" x2="180" y2="200" stroke="#8b949e" stroke-width="1.2" marker-end="url(#arr)" stroke-dasharray="4,3"/>
<line x1="380" y1="150" x2="180" y2="200" stroke="#8b949e" stroke-width="1.2" marker-end="url(#arr)" stroke-dasharray="4,3"/>
<line x1="390" y1="150" x2="580" y2="200" stroke="#8b949e" stroke-width="1.2" marker-end="url(#arr)" stroke-dasharray="4,3"/>
<line x1="490" y1="150" x2="580" y2="200" stroke="#8b949e" stroke-width="1.2" marker-end="url(#arr)" stroke-dasharray="4,3"/>
<line x1="260" y1="150" x2="150" y2="200" stroke="#f78166" stroke-width="1.2" marker-end="url(#arr)"/>
<line x1="270" y1="150" x2="580" y2="200" stroke="#f78166" stroke-width="1.2" marker-end="url(#arr)" stroke-dasharray="3,3"/>
<rect x="60" y="200" width="220" height="90" rx="10" fill="#161b22" stroke="#58a6ff" stroke-width="1.8"/>
<text x="170" y="222" text-anchor="middle" fill="#58a6ff" font-size="13" font-family="monospace" font-weight="700">Controller-A</text>
<text x="170" y="243" text-anchor="middle" fill="#f78166" font-size="11" font-family="monospace">12× Root Partitions</text>
<text x="170" y="262" text-anchor="middle" fill="#58a6ff" font-size="11" font-family="monospace">24× Data-1 Partitions</text>
<text x="170" y="278" text-anchor="middle" fill="#6e7681" font-size="10" font-family="monospace">(more storage = more Data-1)</text>
<rect x="480" y="200" width="220" height="90" rx="10" fill="#161b22" stroke="#3fb950" stroke-width="1.8"/>
<text x="590" y="222" text-anchor="middle" fill="#3fb950" font-size="13" font-family="monospace" font-weight="700">Controller-B</text>
<text x="590" y="243" text-anchor="middle" fill="#f78166" font-size="11" font-family="monospace">12× Root Partitions</text>
<text x="590" y="262" text-anchor="middle" fill="#3fb950" font-size="11" font-family="monospace">24× Data-2 Partitions</text>
<text x="590" y="278" text-anchor="middle" fill="#6e7681" font-size="10" font-family="monospace">(balanced HA pair)</text>
<text x="40" y="310" fill="#6e7681" font-size="9" font-family="monospace">Default balanced split: Root partitions shared 50/50 · Data-1 → Ctrl-A · Data-2 → Ctrl-B</text>
</svg>
<div class="diagram-caption">Figure 2 — Default ownership distribution for ADP v2 across an HA pair. Root partitions split 12/12; data partitions go to respective controllers.</div>
</div>
<div class="callout success">
<div class="callout-icon">✅</div>
<div class="callout-content">
<div class="callout-title">Flexible Ownership</div>
<div class="callout-text">Ownership is fully flexible. If Controller-A needs more capacity, assign both Data-1 and Data-2 partitions to it — ONTAP's software-based ownership model imposes no hard constraints.</div>
</div>
</div>
</section>
<div class="divider"></div>
<!-- ══ SECTION 02 — AUTO-ASSIGN ══ -->
<section class="section" id="auto-assign">
<div class="section-header">
<div class="section-icon icon-teal">🤖</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 02</div>
<h2>Auto-Assign & Key CLI Commands</h2>
</div>
</div>
<p>ONTAP's <strong>auto-assign</strong> feature automatically allocates ownership to unowned or newly added disks using internal load-balancing. Removing ownership immediately triggers re-assignment when enabled.</p>
<div class="mermaid-wrap">
<div class="mermaid">
flowchart TD
A[New Disk Added / Ownership Removed] --> B{Auto-Assign Enabled?}
B -->|Yes| C[ONTAP Evaluates Controller Load]
C --> D[Calculates Balanced Distribution]
D --> E[Assigns Ownership Automatically]
E --> F[Disk Appears in Spare Pool]
B -->|No| G[Disk Remains Unowned]
G --> H[Admin Manually Assigns via disk assign]
H --> F
style A fill:#21283a,stroke:#484f58,color:#e6edf3
style B fill:#21283a,stroke:#e3b341,color:#e3b341
style E fill:#21283a,stroke:#3fb950,color:#3fb950
style F fill:#21283a,stroke:#3fb950,color:#3fb950
style G fill:#21283a,stroke:#f78166,color:#f78166
</div>
<div class="diagram-caption">Figure 3 — Auto-assign decision flow. Best practice is to leave auto-assign enabled unless custom ownership is required.</div>
</div>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — Partition 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"># Check disk type — 'shared' indicates partitioned disk</span>
<span class="prompt">cluster::></span> <span class="cmd">disk show</span>
<span class="comment"># Confirm partition layout (ADP v1 or v2)</span>
<span class="prompt">cluster::></span> <span class="cmd">disk partition show</span>
<span class="comment"># Check auto-assign status across all nodes</span>
<span class="prompt">cluster::></span> <span class="cmd">disk option show</span>
<span class="comment"># Disable auto-assign on all nodes</span>
<span class="prompt">cluster::*></span> <span class="cmd">disk option modify</span> <span class="param">-node</span> <span class="value">*</span> <span class="param">-autoassign</span> <span class="value">off</span>
<span class="comment"># View spare drives (shows partitions separately)</span>
<span class="prompt">cluster::></span> <span class="cmd">storage aggregate show-spare-disks</span>
<span class="comment"># Remove ownership of a specific partition (advanced mode required)</span>
<span class="prompt">cluster::*></span> <span class="cmd">disk remove-ownership</span> <span class="param">-disk</span> <span class="value">2.1.15</span> <span class="param">-data2</span> <span class="value">true</span>
<span class="comment"># Manually assign Data-2 partition to a specific controller</span>
<span class="prompt">cluster::*></span> <span class="cmd">disk assign</span> <span class="param">-disk</span> <span class="value">2.1.15</span> <span class="param">-partition-type</span> <span class="value">data2</span> <span class="param">-owner</span> <span class="value">storage-ctrl-01</span>
</div>
</div>
<div class="callout warning">
<div class="callout-icon">⚠️</div>
<div class="callout-content">
<div class="callout-title">Advanced Mode Required</div>
<div class="callout-text">The <span class="hl">-partition-type</span> option in <span class="hl">disk remove-ownership</span> and <span class="hl">disk assign</span> is only visible at <span class="hl-yellow">advanced</span> or diagnostic privilege levels.</div>
</div>
</div>
</section>
<div class="divider"></div>
<!-- ══ SECTION 03 — CONVERT ══ -->
<section class="section" id="convert-partition">
<div class="section-header">
<div class="section-icon icon-purple">🔄</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 03</div>
<h2>Converting Non-Partitioned Disks</h2>
</div>
</div>
<div class="callout danger">
<div class="callout-icon">🚫</div>
<div class="callout-content">
<div class="callout-title">No Mixing in Aggregates</div>
<div class="callout-text">Partitioned (ADP) and non-partitioned disks <strong>cannot be mixed inside a single aggregate</strong>. They may exist on the same controller, but must be in separate aggregates.</div>
</div>
</div>
<p>To convert, enter <span class="hl-orange">diagnostic</span> privilege, identify an existing partitioned disk of the same model as a reference, then run:</p>
<p><span class="hl">disk create-partition -disk <target> -reference-disk <source></span></p>
<p>ONTAP displays the layout and prompts for confirmation. After conversion, the disk appears as partitions within the spare pool.</p>
</section>
<div class="divider"></div>
<!-- ══ SECTION 04 — 7-MODE VS CMODE ══ -->
<section class="section" id="seven-vs-cmode">
<div class="section-header">
<div class="section-icon icon-yellow">📁</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 04</div>
<h2>Configuration Storage: 7-Mode vs Cluster Mode</h2>
</div>
</div>
<div class="grid-2">
<div class="card" style="border-color:rgba(247,129,102,0.3);">
<div class="card-title" style="color:var(--accent-orange);">⚠️ 7-Mode — File-Based Config</div>
<p>Configuration stored in plain text files under <span class="hl-orange">/etc/</span> in root volume (<span class="hl">vol0</span>). Every change required both a CLI command <em>and</em> a manual file edit — forgetting the file edit caused settings to be lost on reboot. No built-in replication to partner nodes.</p>
</div>
<div class="card" style="border-color:rgba(63,185,80,0.3);">
<div class="card-title" style="color:var(--accent-green);">✅ Cluster Mode — Database-Driven Config</div>
<p>All configuration managed via the <strong>Replication Database (RDB)</strong> stored inside <span class="hl-green">/mroot/</span>. A single command updates the database automatically; files are written by the database. RDB replicates to all nodes via the cluster private network.</p>
</div>
</div>
</section>
<div class="divider"></div>
<!-- ══ SECTION 05 — RDB ══ -->
<section class="section" id="rdb">
<div class="section-header">
<div class="section-icon icon-blue">🗄️</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 05</div>
<h2>Replication Database (RDB)</h2>
</div>
</div>
<p>The <strong>RDB</strong> is the configuration backbone of ONTAP Cluster Mode. Every node maintains its own local RDB instance, continuously synchronized through the cluster private network. One node's RDB is elected <strong>Master</strong> — it coordinates propagation to all others. When the master reboots, another node is elected; the original node does <em>not</em> reclaim master role on return.</p>
<div class="mermaid-wrap">
<div class="mermaid">
flowchart LR
subgraph CPN["🌐 Cluster Private Network"]
direction TB
N1["Node-01\nRDB (Master)"]
N2["Node-02\nRDB (Secondary)"]
N3["Node-03\nRDB (Secondary)"]
N4["Node-04\nRDB (Secondary)"]
N1 <-->|sync| N2
N1 <-->|sync| N3
N1 <-->|sync| N4
N2 <-->|sync| N3
N2 <-->|sync| N4
end
CMD["CLI Command\nor API Call"] --> N1
N1 --> CFG["Config Written to\n/mroot/ Files"]
style N1 fill:#21283a,stroke:#58a6ff,color:#58a6ff
style N2 fill:#21283a,stroke:#3fb950,color:#3fb950
style N3 fill:#21283a,stroke:#3fb950,color:#3fb950
style N4 fill:#21283a,stroke:#3fb950,color:#3fb950
style CMD fill:#21283a,stroke:#e3b341,color:#e3b341
style CPN fill:#161b22,stroke:#484f58,color:#8b949e
</div>
<div class="diagram-caption">Figure 4 — RDB synchronization model. Master RDB ensures all node databases stay in sync via the cluster private interconnect.</div>
</div>
<h3>RDB Sub-Databases</h3>
<div class="rdb-grid">
<div class="rdb-card vldb">
<div class="rdb-name">VLDB</div>
<div class="rdb-full">Volume Location Database</div>
<div class="rdb-desc">Tracks the location and metadata of all aggregates and volumes across the cluster. Updated and replicated whenever a volume is created on any node.</div>
</div>
<div class="rdb-card vif">
<div class="rdb-name">VIFMGR</div>
<div class="rdb-full">Virtual Interface Manager</div>
<div class="rdb-desc">Stores all network configuration — LIFs, port groups, VLANs, and interface failover policies. All NAS/SAN networking definitions live here.</div>
</div>
<div class="rdb-card bcom">
<div class="rdb-name">BComDB</div>
<div class="rdb-full">Block Communication & Operational Manager</div>
<div class="rdb-desc">Manages SAN protocol configurations: iSCSI targets, FC initiator groups, LUN mappings, and block access operational data.</div>
</div>
<div class="rdb-card mgmt">
<div class="rdb-name">MGMTD</div>
<div class="rdb-full">Management Daemon</div>
<div class="rdb-desc">Handles cluster internal operations — node health monitoring, storage failover coordination, background processes, and event-driven automation.</div>
</div>
<div class="rdb-card crs" style="grid-column:span 2;">
<div class="rdb-name">CRS <span class="badge badge-purple">MetroCluster Only</span></div>
<div class="rdb-full">Cluster Replication Service</div>
<div class="rdb-desc">Active only when configured as <strong>MetroCluster</strong>. In standard clusters, CRS exists but remains dormant. Introduced in ONTAP 8.3 — this was one of the most significant architectural changes in ONTAP history, enabling synchronous replication across geographically separated sites. <br><br><strong>Version note:</strong> ONTAP ≤8.2 has 4 RDB sub-databases. ONTAP 8.3+ adds CRS as the 5th.</div>
</div>
</div>
<div class="mermaid-wrap">
<div class="mermaid">
sequenceDiagram
participant Admin as Admin CLI
participant Master as Node-01 (Master RDB)
participant Sec1 as Node-02 (Secondary)
participant Sec2 as Node-03 (Secondary)
Admin->>Master: Configuration change
Master->>Master: Update local RDB
Master->>Sec1: Replicate config change
Master->>Sec2: Replicate config change
Sec1-->>Master: Acknowledge
Sec2-->>Master: Acknowledge
Note over Master: Node-01 goes offline
Sec1->>Sec2: Election via cluster network
Note over Sec1: Node-02 elected as new Master
Sec1->>Sec1: Assumes Master responsibility
</div>
<div class="diagram-caption">Figure 5 — RDB master election sequence. The previous master does NOT reclaim its role when it returns.</div>
</div>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — RDB Status</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"># Must be in advanced mode to view RDB ring status</span>
<span class="prompt">cluster::></span> <span class="cmd">set advanced</span>
<span class="comment"># Show all RDB sub-databases across all nodes</span>
<span class="prompt">cluster::*></span> <span class="cmd">cluster ring show</span>
<span class="output">Node Unit Name DB Type Master Node Ring Status
--------- ------------ ---------- -------------- -----------
node-01 VLDB RDB node-01 master
node-01 VIFMGR RDB node-01 master
node-01 BComDB RDB node-01 master
node-01 MGMTD RDB node-01 master
node-01 CRS RDB node-01 master
node-02 VLDB RDB node-01 secondary
...</span>
</div>
</div>
</section>
<div class="divider"></div>
<!-- ══ SECTION 06 — QUORUM ══ -->
<section class="section" id="quorum">
<div class="section-header">
<div class="section-icon icon-yellow">⚖️</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 06</div>
<h2>Cluster Quorum</h2>
</div>
</div>
<div class="card" style="border-color:rgba(227,179,65,0.4);background:rgba(227,179,65,0.05);">
<div class="card-title" style="color:var(--accent-yellow);font-size:18px;">The Quorum Condition</div>
<p style="font-size:16px;color:var(--text-primary);text-align:center;padding:16px 0;">More than <strong style="color:var(--accent-yellow);font-size:22px;">50%</strong> of cluster nodes must be operational</p>
<p style="text-align:center;font-size:13.5px;">Failing quorum causes ONTAP to forcibly shut down surviving nodes to prevent data corruption from split-brain scenarios.</p>
</div>
<h3>Quorum Scenarios — 6-Node Cluster</h3>
<div class="quorum-visual">
<div class="quorum-bar-wrap">
<div class="quorum-label">✅ Scenario A: 2 nodes down, 4 nodes up (67% healthy)</div>
<div class="quorum-bar"><div class="quorum-fill fill-ok" style="width:67%;">QUORUM SATISFIED — Cluster operational</div></div>
</div>
<div class="quorum-bar-wrap">
<div class="quorum-label">⚠️ Scenario B: 3 nodes down, 3 nodes up (50% healthy) — Tie condition</div>
<div class="quorum-bar"><div class="quorum-fill fill-warn" style="width:50%;">QUORUM INDETERMINATE — Epsilon decides</div></div>
</div>
<div class="quorum-bar-wrap">
<div class="quorum-label">🚨 Scenario C: 4 nodes down, 2 nodes up (33% healthy)</div>
<div class="quorum-bar"><div class="quorum-fill fill-fail" style="width:33%;">QUORUM FAILED — ONTAP shuts down surviving nodes</div></div>
</div>
<div style="font-size:11.5px;color:var(--text-muted);margin-top:10px;">Figure 6 — Quorum scenarios for a 6-node cluster. Only 50/50 ties require Epsilon intervention.</div>
</div>
<div class="mermaid-wrap">
<div class="mermaid">
flowchart TD
A[Node failure detected] --> B{Count surviving nodes}
B --> C{More than 50% up?}
C -->|Yes| D[Quorum satisfied — Cluster continues serving data]
C -->|Exactly 50%| E{Is Epsilon on a surviving node?}
E -->|Yes| F[Epsilon adds virtual vote — Quorum satisfied]
E -->|No| G[Quorum failed — ONTAP shuts down remaining nodes]
C -->|Less than 50%| G
style D fill:#21283a,stroke:#3fb950,color:#3fb950
style E fill:#21283a,stroke:#bc8cff,color:#bc8cff
style F fill:#21283a,stroke:#3fb950,color:#3fb950
style G fill:#21283a,stroke:#f78166,color:#f78166
</div>
<div class="diagram-caption">Figure 7 — Quorum decision tree. Epsilon is the decisive factor only in exact 50/50 tie scenarios.</div>
</div>
</section>
<div class="divider"></div>
<!-- ══ SECTION 07 — EPSILON ══ -->
<section class="section" id="epsilon">
<div class="section-header">
<div class="section-icon icon-purple">🎯</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 07</div>
<h2>Epsilon — The Cluster Tiebreaker</h2>
</div>
</div>
<p>Epsilon is a <strong>logical software token</strong> residing on exactly one node. It functions as a tie-breaking vote when exactly half the cluster nodes are down. Think of it as a casting vote in a tied parliamentary vote.</p>
<div class="svg-wrap">
<svg viewBox="0 0 740 380" xmlns="http://www.w3.org/2000/svg" style="width:100%;max-height:380px;">
<rect width="740" height="380" fill="#1c2333" rx="10"/>
<text x="370" y="30" text-anchor="middle" fill="#8b949e" font-size="12" font-family="monospace">4-Node Cluster — 2 nodes down scenario</text>
<!-- Node 1 - UP with Epsilon -->
<rect x="40" y="50" width="140" height="100" rx="10" fill="#161b22" stroke="#3fb950" stroke-width="2"/>
<circle cx="110" cy="80" r="18" fill="rgba(63,185,80,0.2)" stroke="#3fb950" stroke-width="2"/>
<text x="110" y="85" text-anchor="middle" fill="#3fb950" font-size="11" font-family="monospace" font-weight="700">NODE-1</text>
<rect x="60" y="110" width="80" height="22" rx="5" fill="rgba(188,140,255,0.2)" stroke="#bc8cff" stroke-width="1.5"/>
<text x="100" y="125" text-anchor="middle" fill="#bc8cff" font-size="10" font-family="monospace" font-weight="700">ε EPSILON</text>
<text x="110" y="148" text-anchor="middle" fill="#3fb950" font-size="9" font-family="monospace">● UP (votes: 2)</text>
<!-- Node 2 - UP -->
<rect x="220" y="50" width="140" height="100" rx="10" fill="#161b22" stroke="#3fb950" stroke-width="2"/>
<circle cx="290" cy="80" r="18" fill="rgba(63,185,80,0.2)" stroke="#3fb950" stroke-width="2"/>
<text x="290" y="85" text-anchor="middle" fill="#3fb950" font-size="11" font-family="monospace" font-weight="700">NODE-2</text>
<text x="290" y="148" text-anchor="middle" fill="#3fb950" font-size="9" font-family="monospace">● UP (votes: 1)</text>
<!-- Node 3 - DOWN -->
<rect x="400" y="50" width="140" height="100" rx="10" fill="#161b22" stroke="#f78166" stroke-width="2" stroke-dasharray="5,3"/>
<circle cx="470" cy="80" r="18" fill="rgba(247,129,102,0.1)" stroke="#f78166" stroke-width="2"/>
<text x="470" y="85" text-anchor="middle" fill="#f78166" font-size="11" font-family="monospace" font-weight="700">NODE-3</text>
<text x="470" y="148" text-anchor="middle" fill="#f78166" font-size="9" font-family="monospace">✕ DOWN (votes: 0)</text>
<!-- Node 4 - DOWN -->
<rect x="580" y="50" width="140" height="100" rx="10" fill="#161b22" stroke="#f78166" stroke-width="2" stroke-dasharray="5,3"/>
<circle cx="650" cy="80" r="18" fill="rgba(247,129,102,0.1)" stroke="#f78166" stroke-width="2"/>
<text x="650" y="85" text-anchor="middle" fill="#f78166" font-size="11" font-family="monospace" font-weight="700">NODE-4</text>
<text x="650" y="148" text-anchor="middle" fill="#f78166" font-size="9" font-family="monospace">✕ DOWN (votes: 0)</text>
<!-- Vote count -->
<rect x="40" y="185" width="660" height="70" rx="8" fill="#161b22" stroke="#30363d" stroke-width="1"/>
<text x="370" y="208" text-anchor="middle" fill="#8b949e" font-size="11" font-family="monospace">Vote Tally</text>
<text x="130" y="235" text-anchor="middle" fill="#3fb950" font-size="14" font-family="monospace" font-weight="700">Surviving: 2 nodes</text>
<text x="370" y="235" text-anchor="middle" fill="#bc8cff" font-size="14" font-family="monospace" font-weight="700">+ Epsilon (ε) = 3 effective votes</text>
<text x="610" y="235" text-anchor="middle" fill="#f78166" font-size="14" font-family="monospace" font-weight="700">Failed: 2 nodes</text>
<text x="370" y="248" text-anchor="middle" fill="#3fb950" font-size="10" font-family="monospace">Epsilon on surviving Node-1 → Majority achieved → Cluster survives ✓</text>
<!-- Result box -->
<rect x="200" y="285" width="340" height="60" rx="10" fill="rgba(63,185,80,0.1)" stroke="#3fb950" stroke-width="1.8"/>
<text x="370" y="310" text-anchor="middle" fill="#3fb950" font-size="13" font-family="monospace" font-weight="700">✅ CLUSTER SURVIVES</text>
<text x="370" y="332" text-anchor="middle" fill="#8b949e" font-size="11" font-family="monospace">Data served via indirect paths through Node-1 and Node-2</text>
<line x1="110" y1="165" x2="110" y2="185" stroke="#bc8cff" stroke-width="1.5" stroke-dasharray="4,3"/>
</svg>
<div class="diagram-caption">Figure 8 — Epsilon tiebreaker in action. With 2 of 4 nodes down, Epsilon on Node-1 provides the deciding vote, keeping the cluster alive.</div>
</div>
<table class="spec-table">
<thead><tr><th>Cluster Size</th><th>Epsilon Applicable?</th><th>Reason</th></tr></thead>
<tbody>
<tr><td>1-node cluster</td><td><span class="badge badge-gray">Disabled</span></td><td>Single node is always the master</td></tr>
<tr><td>2-node cluster</td><td><span class="badge badge-gray">Disabled</span></td><td>Two-node HA relies on HA mediator, not Epsilon</td></tr>
<tr><td>4-node cluster</td><td><span class="badge badge-green">Active</span></td><td>50/50 tie is possible (2 vs 2)</td></tr>
<tr><td>6-node and above</td><td><span class="badge badge-green">Active</span></td><td>Odd-majority scenarios possible</td></tr>
</tbody>
</table>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — Epsilon Management</span>
<div class="code-dots"><span class="dot-red"></span><span class="dot-yellow-c"></span><span class="dot-green-c"></span></div>
</div>
<div class="code-body">
<span class="comment"># Advanced mode required for Epsilon operations</span>
<span class="prompt">cluster::></span> <span class="cmd">set advanced</span>
<span class="comment"># Check which node holds Epsilon</span>
<span class="prompt">cluster::*></span> <span class="cmd">cluster show</span>
<span class="output">Node Health Eligibility Epsilon
-------------- ------- ------------ -------
storage-01 true true true
storage-02 true true false
storage-03 true true false
storage-04 true true false</span>
<span class="comment"># Move Epsilon: remove from current node, assign to new node</span>
<span class="prompt">cluster::*></span> <span class="cmd">cluster modify</span> <span class="param">-node</span> <span class="value">storage-01</span> <span class="param">-epsilon</span> <span class="value">false</span>
<span class="prompt">cluster::*></span> <span class="cmd">cluster modify</span> <span class="param">-node</span> <span class="value">storage-03</span> <span class="param">-epsilon</span> <span class="value">true</span>
</div>
</div>
<div class="callout danger">
<div class="callout-icon">🚨</div>
<div class="callout-content">
<div class="callout-title">Critical Best Practice — Epsilon Before Maintenance</div>
<div class="callout-text">
<strong>Never reboot a node that holds Epsilon without first relocating it.</strong> If Epsilon is on Node-1 and you reboot it, any coincidental failure elsewhere can break quorum unexpectedly.<br><br>
Also, <strong>do not move Epsilon to the HA partner</strong> of the node being rebooted — it already carries extra load during takeover. Move Epsilon to a node in a <em>different HA pair</em>.
</div>
</div>
</div>
</section>
<div class="divider"></div>
<!-- ══ SECTION 08 — AGGREGATES ══ -->
<section class="section" id="aggr-intro">
<div class="section-header">
<div class="section-icon icon-green">🧱</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 08</div>
<h2>What Is an Aggregate?</h2>
</div>
</div>
<p>An <strong>aggregate</strong> is a logical storage pool created by grouping physical disks and applying RAID protection across them. Volumes (the logical partitions NFS/CIFS/iSCSI clients access) are created on top of aggregates. Every node ships with a <strong>root aggregate</strong> (<span class="hl">aggr0_<nodename></span>) for controller configuration only — all client data goes on separately created aggregates.</p>
<p>Two mandatory parameters when creating an aggregate: <strong>RAID Type</strong> (protection level) and <strong>RAID Group Size</strong> (disks per stripe set — drives usable capacity and rebuild granularity).</p>
</section>
<div class="divider"></div>
<!-- ══ SECTION 09 — RAID TYPES ══ -->
<section class="section" id="raid-types">
<div class="section-header">
<div class="section-icon icon-orange">🛡️</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 09</div>
<h2>RAID Types & Group Sizing</h2>
</div>
</div>
<div class="raid-type-grid">
<div class="rt-card" style="border-color:rgba(63,185,80,0.4);">
<div class="rt-name" style="color:var(--accent-green);">RAID-DP</div>
<div class="rt-desc">Double Parity. 2 parity drives per RAID group. Survives 2 simultaneous failures. <strong>Industry default for FAS/AFF.</strong></div>
</div>
<div class="rt-card" style="border-color:rgba(88,166,255,0.4);">
<div class="rt-name" style="color:var(--accent-blue);">RAID-TEC</div>
<div class="rt-desc">Triple Erasure Coding. 3 parity drives. Survives 3 simultaneous failures. Best for large-capacity drives (8TB+).</div>
</div>
<div class="rt-card" style="border-color:rgba(139,148,158,0.4);">
<div class="rt-name" style="color:var(--text-secondary);">RAID4</div>
<div class="rt-desc">Single parity. Rarely used in FAS/AFF. Only appropriate for V-Series (third-party back-end arrays).</div>
</div>
<div class="rt-card" style="border-color:rgba(227,179,65,0.4);">
<div class="rt-name" style="color:var(--accent-yellow);">RAID0</div>
<div class="rt-desc">No parity / striping only. Zero data protection. <strong>Only used with V-Series</strong> where the back-end array provides its own RAID.</div>
</div>
</div>
<div class="callout success">
<div class="callout-icon">✅</div>
<div class="callout-content">
<div class="callout-title">Practical Guidance</div>
<div class="callout-text">Use <span class="hl-green">RAID-DP</span> for the vast majority of deployments. Move to <span class="hl">RAID-TEC</span> only when using very large capacity drives (8TB+) where rebuild time significantly increases the double-failure risk window.</div>
</div>
</div>
<h3>RAID Group Sizing & Usable Capacity</h3>
<p>ONTAP groups disks into <strong>RAID Groups (RG0, RG1, …)</strong>. Each RG contains a fixed number of disks per the <span class="hl">-maxraidsize</span> parameter. Larger RGs = more usable capacity but longer rebuild times. SSD RAID-DP limits: min <strong>5</strong>, default ~<strong>18</strong>, max <strong>28</strong> disks per RG.</p>
<div class="aggr-visual">
<p style="font-size:12px;color:var(--text-muted);margin-bottom:16px;">Example: 12-disk aggregate using RAID-DP with RAID group size = 6</p>
<div class="rg-box">
<div class="rg-title">RAID Group: RG0 (6 disks)</div>
<div class="disk-row">
<div class="disk-cell disk-data-cell">DATA<br/>Disk 1</div>
<div class="disk-cell disk-data-cell">DATA<br/>Disk 2</div>
<div class="disk-cell disk-data-cell">DATA<br/>Disk 3</div>
<div class="disk-cell disk-data-cell">DATA<br/>Disk 4</div>
<div class="disk-cell disk-p-cell">P<br/>Parity</div>
<div class="disk-cell disk-dp-cell">DP<br/>D-Parity</div>
</div>
</div>
<div class="rg-box">
<div class="rg-title">RAID Group: RG1 (6 disks)</div>
<div class="disk-row">
<div class="disk-cell disk-data-cell">DATA<br/>Disk 5</div>
<div class="disk-cell disk-data-cell">DATA<br/>Disk 6</div>
<div class="disk-cell disk-data-cell">DATA<br/>Disk 7</div>
<div class="disk-cell disk-data-cell">DATA<br/>Disk 8</div>
<div class="disk-cell disk-p-cell">P<br/>Parity</div>
<div class="disk-cell disk-dp-cell">DP<br/>D-Parity</div>
</div>
</div>
<div style="display:flex;gap:20px;flex-wrap:wrap;margin-top:16px;padding:14px;background:var(--bg-secondary);border-radius:8px;">
<div style="font-size:13px;color:var(--text-secondary);">Total disks: <span style="color:var(--accent-blue);font-weight:700;">12</span></div>
<div style="font-size:13px;color:var(--text-secondary);">Parity disks: <span style="color:var(--accent-orange);font-weight:700;">4</span> (2 per RG)</div>
<div style="font-size:13px;color:var(--text-secondary);">Data disks: <span style="color:var(--accent-green);font-weight:700;">8</span></div>
<div style="font-size:13px;color:var(--text-secondary);">Usable capacity (2TB disks): <span style="color:var(--accent-yellow);font-weight:700;">~16 TB</span></div>
</div>
<div style="font-size:11.5px;color:var(--text-muted);margin-top:10px;font-style:italic;">Figure 9 — RAID-DP aggregate with 2 RAID groups of 6 disks each. Each RG consumes 2 disks for parity.</div>
</div>
</section>
<div class="divider"></div>
<!-- ══ SECTION 10 — CREATE AGGREGATES ══ -->
<section class="section" id="aggr-create">
<div class="section-header">
<div class="section-icon icon-teal">⚙️</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 10</div>
<h2>Creating & Managing Aggregates</h2>
</div>
</div>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — Aggregate Creation & Management</span>
<div class="code-dots"><span class="dot-red"></span><span class="dot-yellow-c"></span><span class="dot-green-c"></span></div>
</div>
<div class="code-body">
<span class="comment"># Method 1: Auto-select disks by count, type, and size</span>
<span class="prompt">cluster::></span> <span class="cmd">storage aggregate create</span>
<span class="param">-aggregate</span> <span class="value">aggr1_node01</span>
<span class="param">-node</span> <span class="value">storage-ctrl-01</span>
<span class="param">-diskcount</span> <span class="value">12</span>
<span class="param">-disktype</span> <span class="value">SSD</span>
<span class="param">-raidtype</span> <span class="value">raid_dp</span>
<span class="param">-maxraidsize</span> <span class="value">6</span>
<span class="comment"># Method 2: Specify exact disk IDs manually</span>
<span class="prompt">cluster::></span> <span class="cmd">storage aggregate create</span>
<span class="param">-aggregate</span> <span class="value">aggr2_node02</span>
<span class="param">-node</span> <span class="value">storage-ctrl-02</span>
<span class="param">-disklist</span> <span class="value">2.1.1,2.1.2,...,2.1.12</span>
<span class="param">-raidtype</span> <span class="value">raid_dp</span>
<span class="comment"># Verify aggregate and RAID group layout</span>
<span class="prompt">cluster::></span> <span class="cmd">storage aggregate show</span>
<span class="prompt">cluster::></span> <span class="cmd">storage aggregate show-status</span> <span class="param">-aggregate</span> <span class="value">aggr1_node01</span>
<span class="comment"># Check aggregate status, capacity, state</span>
<span class="prompt">cluster::></span> <span class="cmd">storage aggregate show</span> <span class="param">-fields</span> <span class="value">size,availsize,usedsize,state,raidtype</span>
<span class="comment"># Expand aggregate by adding disks</span>
<span class="prompt">cluster::></span> <span class="cmd">storage aggregate add-disks</span>
<span class="param">-aggregate</span> <span class="value">aggr1_node01</span>
<span class="param">-diskcount</span> <span class="value">6</span>
<span class="param">-disktype</span> <span class="value">SSD</span>
<span class="comment"># Take offline and delete (volumes must be removed first)</span>
<span class="prompt">cluster::></span> <span class="cmd">storage aggregate offline</span> <span class="param">-aggregate</span> <span class="value">aggr1_node01</span>
<span class="prompt">cluster::></span> <span class="cmd">storage aggregate delete</span> <span class="param">-aggregate</span> <span class="value">aggr1_node01</span>
</div>
</div>
<div class="callout warning">
<div class="callout-icon">⚠️</div>
<div class="callout-content">
<div class="callout-title">Deletion Prerequisite</div>
<div class="callout-text">An aggregate cannot be deleted while it hosts volumes. State <span class="hl-orange">degraded</span> indicates a drive failure. Always bring an aggregate <span class="hl">offline</span> before deletion. Deleted disks return to the spare pool.</div>
</div>
</div>
</section>
<div class="divider"></div>
<!-- ══ SECTION 11 — DISK ZEROING ══ -->
<section class="section" id="disk-zeroing">
<div class="section-header">
<div class="section-icon icon-yellow">🧹</div>
<div class="section-title-wrap">
<div class="section-num">SECTION 11</div>
<h2>Disk Zeroing</h2>
</div>
</div>
<p>Disks released from an aggregate return to the spare pool as <strong>not-zeroed</strong> — still containing old data. ONTAP must zero them before reuse. For hot-spare replacement, a not-zeroed spare must be zeroed first, extending the degraded window and increasing double-failure risk.</p>
<div class="mermaid-wrap">
<div class="mermaid">
flowchart LR
A["Disk Released\nfrom Aggregate\nStatus: not-zeroed"] --> B{Creating\nnew aggregate?}
B -->|Auto| C[ONTAP zeroes disk\nautomatically\nbefore adding]
B -->|Pre-zeroed manually| D[Disk added\ninstantly to aggregate\nNo zeroing delay]
C --> E[Aggregate created\nbut slower start]
D --> F[Aggregate created\nquickly]
G["Hot-Spare for\nfailed disk replacement"] --> H{Spare disk\nzeroed?}
H -->|Not zeroed| I[Zeroing happens first\nthen disk replaces failed one\n⚠️ Increased vulnerability window]
H -->|Pre-zeroed| J[Immediate replacement\nMinimized risk window]
style D fill:#21283a,stroke:#3fb950,color:#3fb950
style F fill:#21283a,stroke:#3fb950,color:#3fb950
style J fill:#21283a,stroke:#3fb950,color:#3fb950
style I fill:#21283a,stroke:#e3b341,color:#e3b341
</div>
<div class="diagram-caption">Figure 10 — Zeroing impact on aggregate creation speed and hot-spare replacement time.</div>
</div>
<div class="code-block">
<div class="code-header">
<span class="code-lang">ONTAP CLI — Disk Zeroing</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"># Zero all spare (not-zeroed) disks — safe to run at any time</span>
<span class="prompt">cluster::></span> <span class="cmd">disk zerospares</span>
<span class="comment"># Check disk zeroing status</span>
<span class="prompt">cluster::></span> <span class="cmd">storage disk show</span> <span class="param">-fields</span> <span class="value">zeroing-percent,container-type</span>