mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-02 21:00:13 -05:00
docs: compare Unraid, NonRAID, and SnapRAID
Explain parity, recovery, and corruption handling in the comparison table. Document the difference between live and versioned local previews.
This commit is contained in:
parent
9d12bcf235
commit
99621ac8c1
2 changed files with 24 additions and 7 deletions
|
|
@ -6,9 +6,15 @@
|
|||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
pip3 install --no-cache-dir mkdocs mkdocs-material pymdown-extensions mike
|
||||
mike serve
|
||||
mkdocs serve
|
||||
```
|
||||
|
||||
Run these commands from `mkdocs/`. `mkdocs serve` previews your working
|
||||
tree and reloads when you edit a page. `mike serve` instead serves the
|
||||
versions already built on the local `gh-pages` branch. To preview your
|
||||
changes there, run `mike deploy latest master` (without `--push`), then
|
||||
open `/latest/` on the `mike serve` site.
|
||||
|
||||
## Deploy
|
||||
|
||||
```bash
|
||||
|
|
|
|||
|
|
@ -287,12 +287,6 @@ standalone Linux pooling filesystem without built-in redundancy. For
|
|||
some users mergerfs' Linux distro-agnostic and fully open-source
|
||||
approach is also preferable.
|
||||
|
||||
For semi-static data, mergerfs + [SnapRAID](https://www.snapraid.it)
|
||||
provides a similar, but not real-time, solution.
|
||||
[NonRAID](https://github.com/qvr/nonraid) (see [below](#nonraid)) is a
|
||||
fork of Unraid's parity calculation solution and can also be used with
|
||||
mergerfs.
|
||||
|
||||
Moving between the two is not symmetric because mergerfs membership is
|
||||
a configuration change while Unraid array membership is part of the
|
||||
array state. See [Migration](migration.md) for details.
|
||||
|
|
@ -304,6 +298,23 @@ array state. See [Migration](migration.md) for details.
|
|||
layouts, and users who prefer a Linux distro-agnostic, fully open-source
|
||||
component approach.
|
||||
|
||||
### Unraid vs. mergerfs + NonRAID vs. mergerfs + SnapRAID
|
||||
|
||||
All three can use mixed-size disks and keep each file on one data disk
|
||||
rather than striping it across disks. The Unraid comparison below is for
|
||||
its parity-protected main array; a separate cache pool does not inherit
|
||||
the array's parity protection.
|
||||
|
||||
| | Unraid | mergerfs + [NonRAID](#nonraid) | mergerfs + [SnapRAID](https://www.snapraid.it/manual) |
|
||||
| --- | --- | --- | --- |
|
||||
| Management | Commercial NAS OS with a web UI for storage, network shares, containers, and VMs. | On a supported Linux kernel, manage the [NonRAID driver and array](https://github.com/qvr/nonraid) separately from the mergerfs mount. | Run mergerfs and SnapRAID on your existing system. Schedule parity syncs and integrity checks yourself. |
|
||||
| File placement | [User Shares](https://docs.unraid.net/unraid-os/using-unraid-to/manage-storage/shares/#user-shares) combine like-named top-level directories. Allocation method and split level select a disk for new files. | Mount the filesystems on NonRAID's virtual data devices. A mergerfs [create policy](config/functions_categories_policies.md) chooses where new files go. | The same mergerfs policies choose placement. SnapRAID protects files on the configured data disks, not the merged mount. |
|
||||
| When parity changes | Each array write updates block-level parity on one or two parity disks. | Same as Unraid: writes through the virtual data devices update parity immediately. | Ordinary writes do not update parity. `snapraid sync` updates parity files on demand or on a schedule, with up to six parity levels. |
|
||||
| If a data disk fails | The array can [emulate the missing disk](https://docs.unraid.net/unraid-os/using-unraid-to/manage-storage/array/replacing-disks-in-array/#what-is-emulation) until a replacement is rebuilt, within the configured parity limit. | The driver can likewise emulate a missing disk and rebuild its replacement. | Surviving disks remain readable. `snapraid fix` restores recoverable files from the last sync; it does not serve the missing disk live. |
|
||||
| Accidental deletion or overwrite | Live parity follows the change. Restoring the old file requires a separate snapshot or backup. | NonRAID parity follows the change too. mergerfs does not keep previous versions. | Until the next sync, SnapRAID can [restore the last synced version](https://www.snapraid.it/manual#sec4-3) if enough data and parity remain. |
|
||||
| Silent corruption | A [parity check](https://docs.unraid.net/unraid-os/using-unraid-to/manage-storage/array/array-health-and-maintenance/#parity-checks) detects a mismatch. A correcting check rewrites parity, not the damaged file. | [NonRAID parity checks](https://github.com/qvr/nonraid#startstop-a-parity-check) work the same way. File data checksums depend on the filesystem or another tool. | [Scrubbing](https://www.snapraid.it/manual#sec4-1) checks data against saved checksums and verifies parity. SnapRAID can repair damaged data or parity blocks if enough good blocks remain. |
|
||||
| Adding a populated disk | Adding a disk while preserving existing parity normally requires clearing it first. | Adding a mergerfs branch does not add it to NonRAID. Adding a disk to the protected array normally requires clearing it too. | An existing filesystem can join the pool without reformatting. Configure it in SnapRAID and sync to protect its files. |
|
||||
|
||||
|
||||
## NonRAID
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue