---
title: DiskFlux — a calm web UI for SnapRAID and mergerfs
url: https://diskflux.com/
license: GPL-3.0-or-later
updated: 2026-11-22
---

# DiskFlux

**Your disks, protected. Your server, explained.**

DiskFlux is a free, open-source web UI and daemon for SnapRAID and mergerfs. Home tells you in one sentence whether your files are safe. Guided steps take you from the first disk of a home server to a large NAS.

- Website: <https://diskflux.com/>
- Source: <https://github.com/paleka/diskflux> (branch `storage`)
- Live demo: <https://demo.diskflux.com/> — user `demo`, password `demo`
- License: GPL-3.0-or-later, no fees or paid tiers
- Runs on: Debian, Ubuntu, Proxmox and other apt-based Linux systems, x86-64

Built on [SnapRAID](https://www.snapraid.it/) and [SnapRAID Daemon](https://github.com/amadvance/snapraid-daemon) by Andrea Mazzoleni. DiskFlux is an independent extension, not part of the SnapRAID project. Report DiskFlux problems on [its own issue tracker](https://github.com/paleka/diskflux/issues).

## At a glance

- Up to 6 disks can fail at once, with enough parity disks (a SnapRAID feature).
- Mix disks of any size and brand, and add them over time.
- Several arrays, mergerfs pools and loose disks in one light daemon.
- More than 1,200 end-to-end checks against emulated disks.

## Made for people, not only for admins

Everyday pages come first, in plain words. Detailed controls stay behind an Advanced switch on every page.

- **Home:** one headline saying whether your files are safe, and the one action that fixes it when they are not. The last 14 days of runs, space with a "full in about…" forecast, what comes next, and what just happened. Status is always in words, never colour alone. Light or dark follows the computer. Search everything with Ctrl K.
- **Disks:** a picture of your case, bay by bay, with health, temperature and the risk of failing. A failing disk blinks in its bay. SMART health, scheduled self-tests, and a write test of a new disk before it holds files. HDD, SMR, SAS, SATA SSD, NVMe and USB disks.
- **Protection:** the rules in plain words, for example "Update every night at 02:00, then check 8% of the data for damage." Every save is read back from the daemon and confirmed in words. A safety stop waits for your OK when many files vanish at once. Every run is kept: files added, changed, deleted, errors repaired.

## How SnapRAID protects you

SnapRAID keeps a mathematical backup of your disks, called parity. DiskFlux puts a guided face on it.

1. **Your disks stay ordinary disks.** Each has its own filesystem and files, readable by any computer even without SnapRAID. Only the disk you read from spins up.
2. **Parity is updated on a schedule.** Every night, or when enough has changed, the parity is updated, then a slice of the data is checked for silent damage (bit rot).
3. **A disk dies? Rebuild it.** The guided recovery rebuilds a failed disk's files from parity onto a new disk. If more disks fail than you have parity for, you only lose what was on the failed disks.

Good to know: parity is a snapshot, not real time. Files changed after the last update are not protected until the next one, which is why SnapRAID suits media, photos and archives that don't change often. Keep a separate copy of anything you can't replace.

## Arrays, pools and loose disks

One daemon runs several SnapRAID arrays, each with its own parity, schedule and alerts. mergerfs pools show many disks as one folder. Disks outside any array are still watched and marked "not protected".

- An array per purpose: media, photos, a flash-only array.
- Arrays that share no disk can run at the same time.
- Move a disk with its files from one array to another, step by step.
- Up to SnapRAID's own limits; fix and sync still work when an array is degraded.
- A pool never contains a parity disk.

## Features

- **Easy disk setup:** a three-step guided setup that reviews everything before anything is erased; uses mounted filesystems or formats blank disks if asked; add, replace or remove a disk; move the parity to a larger disk; SnapRAID configuration as a form or as text.
- **Pools and your files:** optional mergerfs pools; placement policy, balance, duplicates; browse, copy, rename, delete; keep a folder on chosen disks; size of a folder disk by disk.
- **Recovery, guided:** get back deleted files one by one; check a folder for damage and repair only real damage; rebuild a failed disk or copy from it if it still reads; fix and sync on a degraded array.
- **Sharing and backups:** Samba and NFS shares, users and recycle bin; rsync backups on a schedule or when a disk is plugged in; back up folders of a PC, Mac or NAS; Open and Eject for USB disks.
- **Power and hardware:** disk spin-down, APM and write cache; UPS through NUT or apcupsd with clean shutdown; suspend when idle, Wake-on-LAN; folder cache so browsing doesn't wake disks.
- **Fast disk in front:** an SSD in front of the pool; a mover on a schedule, by fill level or on request; it says how much is waiting and that it isn't protected yet.
- **Alerts:** phone (ntfy), email, logs or your own command, to many places at once; events and past runs kept on disk.
- **Upgrades in one click:** the latest or a chosen release from the System page or one command; checksums verified; settings backup and restore; diagnostics with private details removed.
- **Three looks:** Quiet (default), Commander and Brutale, with the same pages; Advanced switch on every page; a five-step tour; built-in help and glossary; REST API and Prometheus metrics.

DiskFlux is a storage manager for any Linux machine, not an operating system: apps, containers and VMs stay wherever you already run them.

## Designed for trust

1. Say what happens, and what doesn't: confirmations list the steps and what stays untouched; destructive steps ask you to type the disk's name.
2. Read it back, say it in words: "Saved and checked: every day at 02:00. Next: tonight at 02:00."
3. Translate the engine: SnapRAID messages become plain language; jargon is explained on hover.
4. One main action per page.
5. Good defaults, finer control on request (the Advanced switch).
6. A light daemon: written in C; the UI is served by the daemon from a short shared cache; sleeping disks stay asleep.

## Guided flows

- **First setup:** choose disks and roles, filesystem, mount points and pool; review every action before anything is erased. Works with or without mergerfs and takes over disks that already hold files.
- **Replace a disk:** steps, a warning when the new disk is larger than the parity, a typed confirmation; copy straight from the old disk if it still reads.
- **A disk came back empty:** maintenance pauses so the parity isn't overwritten; fix, check and sync run as one recovery task.
- **Deleted files:** pick what can still be rebuilt, file by file.
- **Larger parity:** copy, compare byte by byte, switch; the old parity disk can join as a data disk.
- **Power cut:** on battery a running sync or scrub pauses; the server shuts down cleanly when the charge gets too low.
- **New disk test:** write and read back every block before use.

## Already running SnapRAID by hand?

The installer leaves these alone: the array, parity and content files, `/etc/snapraid.conf`, `/etc/fstab`, mergerfs pools and scheduled jobs. Anything it changes is backed up first as `*.snapraidd.bak`.

- On an array already in use the daemon starts with no schedule and no spin-down, and runs a sync or scrub only when asked.
- A content file from SnapRAID 13 or older is converted with SnapRAID 14 without touching the parity, or the installer stops with nothing changed when changes are not yet synced.
- `snapraid` can still be run from the shell; SnapRAID's own lock keeps the two from colliding.
- A hand-written configuration keeps its comments and unknown options when saved from the UI.

## Install

The installer adds the SnapRAID engine (15.0 or newer) from its author's releases if missing or older, then the daemon, mergerfs and the tools it needs, and prints the web address and password at the end.

```sh
curl -fsSL https://raw.githubusercontent.com/paleka/diskflux/storage/installer.sh | sudo sh
```

Options, placed in front of `sh` (for example `| sudo SNAPRAIDD_AUTO=1 sh`):

| Option | Effect |
|---|---|
| `SNAPRAIDD_AUTO=1` | Daemon defaults: nightly sync and scrub at 02:00, idle disks spun down after 15 minutes |
| `SNAPRAIDD_LOCAL=1` | Web UI reachable only from this machine, read-only Storage page |
| `SNAPRAIDD_SHARES=0` | Skip Samba and NFS on a new machine |
| `SNAPRAIDD_SHARES=1` | Add Samba and NFS on an array already in use, or when upgrading |

Upgrade from System → Updates in the web UI, or:

```sh
sudo snapraidd-upgrade            # the latest release
sudo snapraidd-upgrade 2.2.s9     # a chosen release, newer or older
snapraidd-upgrade --list          # what is available
```

- Web UI: `http://your-server:7627`
- Package: `snapraid-daemon-storage` (`.deb`, `.rpm` and source on the [releases page](https://github.com/paleka/diskflux/releases)); versions look like `2.2.s10` (upstream version + release); replaces the original `snapraid-daemon` package.

## Demo and lab

- **Live demo:** <https://demo.diskflux.com/>, user `demo`, password `demo`. Change anything; it starts fresh every 25 minutes.
- **DiskFlux Lab** (<https://github.com/paleka/diskflux-lab>): a Docker lab with emulated disks (sparse images on loop devices, up to 16 TB on a few hundred MB of real space, fake SMART data). Three arrays in one daemon, four mergerfs pools, 19 disks from 256 MB to 16 TB: HDD, SMR, SAS, SSD, NVMe and USB, with ext4, XFS and Btrfs.

```sh
git clone -b storage https://github.com/paleka/diskflux.git diskflux-daemon
git clone https://github.com/paleka/diskflux-lab.git
cd diskflux-lab && docker compose up --build
# then open http://localhost:7627
```

Tested with lab suites against throwaway disks: showcase (207 checks), multiple arrays (191), extras such as UPS, USB, backups, alerts and upgrades (188), REST API (166), fast disk, moves and parity (158), machine settings (125), install on an array already in use (103), disks of mixed sizes (68); plus C self-tests and 96 UI logic tests.

## Roadmap

Next: several servers in one UI; file-name search that doesn't wake disks; encrypted disks (LUKS); push notifications.

Out of scope, on purpose: real-time parity (a different engine); containers, VMs, an app store or remote access; managing ZFS pools (detected and shown only); cloud backup (use restic or rclone).

## FAQ

**Is this the official SnapRAID web UI?** No. The official one is at <https://www.snapraid.it/ui>. DiskFlux is an independent extension with its own package and releases, so the two never conflict.

**Is it free?** Yes. Open source under GPL-3.0-or-later, with no licence fees, subscriptions or paid tiers.

**Do I need mergerfs?** No. Everything works with plain mounted disks; mergerfs is optional.

**Will it touch my existing array?** The installer leaves the array, parity, content files, `snapraid.conf`, fstab, pools and scheduled jobs alone, and starts the daemon without a schedule on an array already in use. Removing the package leaves everything as it was.

**Is SnapRAID a replacement for a backup?** It protects against failed disks, silent damage and accidental deletes since the last update, not against fire, theft or ransomware. Keep a copy of irreplaceable files elsewhere.

**Which systems does it run on?** Debian, Ubuntu, Proxmox and other apt-based systems on x86-64 with the one-line installer; `.rpm` and source on the releases page.

**How many disks can I use?** Up to SnapRAID's limits, with up to six parity levels, and several arrays in one daemon. Disks of different sizes mix freely, as long as each parity disk is at least as large as the largest data disk.

**Where do I get help?** DiskFlux: <https://github.com/paleka/diskflux/issues>. SnapRAID: its [manual](https://www.snapraid.it/manual), [FAQ](https://www.snapraid.it/faq) and [support page](https://www.snapraid.it/support).

## Credits

| Project | Author | Source |
|---|---|---|
| SnapRAID | Andrea Mazzoleni | <https://github.com/amadvance/snapraid> |
| SnapRAID Daemon | Andrea Mazzoleni | <https://github.com/amadvance/snapraid-daemon> |
| DiskFlux | Robert Paleka | <https://github.com/paleka/diskflux> |
| DiskFlux Lab | Robert Paleka | <https://github.com/paleka/diskflux-lab> |
| mergerfs | trapexit | <https://github.com/trapexit/mergerfs> |
