Compare commits

...

3 commits

Author SHA1 Message Date
Andrea Mazzoleni
f0982ca4d0 Auto update 2026-04-30 00:56:56 +02:00
Andrea Mazzoleni
00c9176dee Auto update 2026-04-30 00:55:27 +02:00
Andrea Mazzoleni
95927f490b Auto update 2026-04-30 00:54:23 +02:00

View file

@ -96,33 +96,33 @@
<div style="background: var(--table-header-bg); padding: 1rem; border-radius: var(--radius); margin: 1.5rem 0; font-family: var(--font-mono); text-align: center;">
<div style="display: flex; justify-content: center; gap: 1rem; align-items: center;">
<div style="text-align: center;">
<div style="color: var(--text-secondary); font-size: 0.8rem;">Disk 1</div>
<div style="font-size: 1.5rem; font-weight: bold;">10</div>
<div style="color: var(--text-secondary); font-size: 0.8rem;">Disk A</div>
<div style="font-size: 1.5rem; font-weight: bold;">5</div>
</div>
<div style="color: var(--text-secondary);">+</div>
<div style="text-align: center;">
<div style="color: var(--text-secondary); font-size: 0.8rem;">Disk 2</div>
<div style="font-size: 1.5rem; font-weight: bold;">15</div>
<div style="color: var(--text-secondary); font-size: 0.8rem;">Disk B</div>
<div style="font-size: 1.5rem; font-weight: bold;">3</div>
</div>
<div style="color: var(--text-secondary);">=</div>
<div style="text-align: center;">
<div style="color: var(--text-accent); font-size: 0.8rem;">Parity</div>
<div style="font-size: 1.5rem; font-weight: bold; color: var(--text-accent);">25</div>
<div style="font-size: 1.5rem; font-weight: bold; color: var(--text-accent);">8</div>
</div>
</div>
</div>
<p>
If <strong>Disk 1</strong> is destroyed, the system solves the remaining equation:
<code style="background: var(--table-header-bg);; padding: 2px 5px; border-radius: 4px;">[?] + 15 = 25</code>.
The system identifies the missing value (10) and restores it to a new disk.
If <strong>Disk A</strong> is destroyed, the system solves the remaining equation:
<code style="background: var(--table-header-bg);; padding: 2px 5px; border-radius: 4px;">[?] + 3 = 8</code>.
The system identifies the missing value (5) and restores it to a new disk.
</p>
</div>
<!-- Single Parity -->
<div class="card">
<h3 style="color: var(--text-accent);">Single Parity</h3>
<p class="card-subtitle">RAID 5 Logic</p>
<p class="card-subtitle">"RAID 5 Logic"</p>
<p>
The most common form of protection, allowing an array to survive the loss of any <strong>single</strong> disk.
</p>
@ -131,7 +131,7 @@
</p>
<div style="border-left: 3px solid var(--warning); padding-left: 1rem; margin-top: 1.5rem;">
<p style="margin-bottom: 0; font-size: 0.9rem;">
<strong>Limitation:</strong> Single parity can only solve for one unknown variable. If two disks fail simultaneously, the mathematical equation becomes unsolvable (e.g., <code style="font-size: 0.85rem;">X + Y = 25</code> has too many possibilities).
<strong>Limitation:</strong> Single parity can only solve for one unknown variable. If two disks fail simultaneously, the mathematical equation becomes unsolvable (e.g., <code style="font-size: 0.85rem;">X + Y = 8</code> has too many possibilities).
</p>
</div>
</div>
@ -190,7 +190,7 @@
<!-- Why Parity Alone Fails -->
<div class="card">
<h3 style="color: var(--danger);">Why Parity Alone is Not Enough</h3>
<p class="card-subtitle">"Parity can fix a hole, but it cannot find a lie."</p>
<p class="card-subtitle">"Parity can fix a hole, but it cannot find a lie"</p>
<p>Recall our simple math: <code>Disk A (5) + Disk B (3) = Parity (8)</code>.</p>