r/Snapraid • • Oct 16 '26

NEWS: SnapRAID 15.0 and SnapRAID Daemon 2.0

43 Upvotes
This major release introduces landmark capabilities across both SnapRAID
CLI and SnapRAID Daemon.

SnapRAID CLI 15.0 brings native automated filesystem snapshots (Btrfs,
Bcachefs, ZFS, and NTFS) to guarantee point-in-time data consistency
during sync, scrub, check, and fix operations, alongside hardware
acceleration utilizing AVX-512BW and ARM64 NEON SIMD routines.

SnapRAID Daemon 2.0 introduces multi-array management, bracketed
privilege separation on Linux, Argon2id HTTP Basic Authentication,
independent disk spindown and lifetime error tracking, and "Brutale"
an alternative high-contrast Neo-Brutalist web interface.

Both projects have also undergone an extensive LLM-assisted deep code
review, uncovering and resolving numerous subtle corner cases across
error handling, recovery paths, concurrency, and system integration,
further improving overall robustness and reliability.


CHANGES IN SNAPRAID 15.0
========================
 * Added support for automated filesystem snapshots to ensure data
   consistency and improve recovery reliability.
   When the 'snapshot' option is enabled, SnapRAID transparently manages
   filesystem snapshots during operations, requiring no changes to the
   existing user workflow or file management.
   Supported on Btrfs, Bcachefs, and ZFS in Linux, and on NTFS in
   Windows.
   This ensures that 'scrub', 'check', and 'fix' operations utilize a
   frozen point-in-time reference for data disks, eliminating
   mismatches caused by concurrent live filesystem modifications.
   The use of snapshots significantly improves recovery success by
   preserving access to files that were updated or deleted after the
   last parity computation.
 * Implemented AVX-512BW (Byte and Word) support for parity generation
   and data recovery, optimizing performance on modern architectures
   like Intel Sapphire Rapids and AMD Zen 4/5.
   By scaling to 512-bit ZMM registers, the implementation now processes
   64 bytes per iteration, effectively doubling the data width of the
   previous AVX2 routines.
 * Implemented AArch64 (ARM64) NEON support for parity generation and
   data recovery, significantly improving performance on ARM-based
   platforms.
 * Improved the chances of a successful recovery after an interrupted 
   sync. This is achieved by removing the sync optimization of not
   recomputing the parity if the input data matches the expected hash.
   While only the specific sync immediately following an interruption
   will be slower, this change preserves hash data in the content file
   to ensure a better fix during disk failures and allows the --import
   option to remain functional even after an incomplete sync.
 * Skip spin-up and spin-down operations for non-rotational devices
   (like SSDs and NVMe drives) on Linux and Windows.
 * Added --with-smartctl, --with-zfs, --with-zpool, --with-bcachefs
   configure options to allow pinning the absolute path of each tool at
   build time. When not specified, the existing runtime discovery
   behaviour is preserved. Primarily intended for NixOS and other
   non-FHS systems.
 * Removed the 512 TiB limitation on hard disk size (when using the
   default 128 KiB blocks).
 * Added support for a custom info options tag `[info: ...]` in the
   `smartctl` configuration option. This allows replacing the default
   `-a` command line argument used to retrieve SMART attributes with a
   customized set of arguments, enabling better support for RAID
   controllers and USB enclosures.
 * Added support for specifying case-insensitive SMART attribute names
   (instead of only numeric IDs) in the `smartignore` configuration
   option.
 * Added support for filesystems where only specific files fail to
   report a 64-bit inode number (such as ReFS when 128-bit file IDs
   cannot be mapped), allowing SnapRAID to continue processing those
   individual files without inodes.
 * Removed the dependency on the 'libblkid' library.


CHANGES IN SNAPRAID DAEMON 2.0
==============================
 * Require SnapRAID 15.0 or newer.
 * Added a "degraded" health state for disks and the array when a
   filesystem UUID mismatch is detected against the content file.
   This distinguishes missing mountpoints or unmounted disks from
   hardware failures.
 * Added a "check_updates" option to periodically check for new daemon
   releases on GitHub. The WebUI now displays the update status under
   the Configuration card on the Dashboard and shows a dedicated
   "NEW VERSION AVAILABLE" badge in the System Idle header when a new
   version is available.
 * Introduced "Brutale", a high-contrast Neo-Brutalist WebUI. Loud,
   blocky, and completely unapologetic—sunglasses not included.
 * Added a "net_auth_credential" option to protect the REST API and
   web dashboard via HTTP Basic Authentication. The credentials are
   securely verified using Argon2id ($m=65536, t=3, p=1$).
   Also added a `-g, --gen-auth` command-line utility flag to generate
   a valid configuration line from a username and password.
   Note: Since Basic Authentication transmits credentials in plaintext
   (Base64), it is not secure over unencrypted HTTP. Users must deploy
   an HTTPS encryption layer or restrict access to a trusted, secure
   network.
 * Added support for managing multiple independent SnapRAID arrays:
   - On Linux/systemd, daemon instances can be managed individually
     using the template unit `snapraidd@.service`.
   - On Windows, multiple service instances can be registered and
     managed using the `--service-install` option with the `-i` flag.
 * Schedule a report notification on degradations of counting/critical
   raw SMART attributes and tracked error counters. Normalized value
   degradations of critical prefail attributes also generate warning
   notifications, while normalized changes of non-critical prefail
   attributes are tracked as informational history.
   Historical tracking for normalized values (with highest/worst
   baselines and threshold values) is exported via REST API/YAML and
   integrated into status reports.
 * Implemented a bracketed privileges system on Linux to run the daemon
   as an unprivileged user (e.g., "nobody") by default and temporarily
   escalate to root only when performing administrative operations.
 * Added a "hook_docker_pause" option to specify a comma-separated list
   of Docker containers to pause during tasks that access the array.
   Containers are paused immediately before running the task (or the
   pre hook script) and unpaused immediately afterward.
 * Added a "notify_start" configuration option to trigger a notification
   command at the start of high-level tasks like maintenance.
 * Added a "sys_shutdown_on" option to automatically trigger a system
   shutdown based on a comma-separated list of events ("maintenance",
   "prefail", or "failing").
 * Added a "smartignore" configuration option to allow ignoring specific
   SMART attributes (e.g., Spin_Up_Time, Raw_Read_Error_Rate) for one or
   more disks. Ignored attribute changes do not generate warning
   notifications and are omitted from status reports, while the
   attributes remain available and marked as ignored in the REST API.
 * Export temperature warning/critical thresholds and status fields in
   the REST API, and integrate them into the web dashboards to
   automatically color-code drives (supporting higher limits for SSD,
   NVMe devices).
 * Allow separate spindown idle timeouts for data and parity disks by
   specifying two comma-separated values in "spindown_idle_minutes"
   (e.g., 15, 30). If only one value is specified, it applies to both.
   This introduces the new REST API "/snapraid/v2/config" endpoint where
   the spindown configuration is returned and set as a string, while
   retaining backward compatibility with the legacy
   "/snapraid/v1/config" endpoint (which only returns the data disk
   timeout as an integer).
 * Added non-resetting lifetime tracking for I/O and silent data errors
   on disks using snapraid_tracked structures ("error_io" and
   "error_data"), which include historical baselines and timestamps.
   This introduces the new REST API "/snapraid/v2/disks" endpoint where
   lifetime tracked error counters ("error_io" and "error_data") and
   active session counters ("transient_error_io" and
   "transient_error_data") are exported, while preserving backward
   compatibility with the "/snapraid/v1/disks" endpoint (which continues
   to export transient session errors under
   "error_io" and "error_data").
 * Added the "/snapraid/v1/clear" REST API endpoint and a "Clear" button
   in the WebUI Tasks view to cancel all pending tasks waiting in the
   execution queue without affecting any currently running task.
 * Added support for saving task log files in gzip (.gz) format,
   controlled by the "sys_log_compression" configuration option.
 * Added %h (high-level task name) and %c (exit code of the task)
   placeholder tags to result notifications.
 * Added environment variables to the hook script executions, exposing
   execution details (such as command name, task number, log file,
   config paths) for the `task-begin` event, and adding exit codes,
   signals, duration, error counters, array health, and diff statistics
   for the `task-end` and `task-error` events.
 * Deprecated the "sys_engine" configuration option and replaced it with
   the new "./configure --with-snapraid=PATH" option to allow hardcoding
   the utility path at build time.
   Similarly added new "--with-docker=PATH" and "--with-curl=PATH"
   options to allow hardcoding the curl and docker utility paths at
   build time. The default runtime discovery behavior remains unchanged
   if these options are omitted.
   Primarily intended for NixOS and other non-FHS systems.
 * Sort diff and fix lists by change type to prioritize the most
   relevant entries first.
 * Include the system hostname at the beginning of the status report
   before the health status.

Website: https://www.snapraid.it/

r/Snapraid • • 17h ago

Remove SMART data and other clatter from Log in 15.2 version

2 Upvotes

The 15.2 version makes log files hard to read manually with too much information, unlike the other versions.

Is there way to make log files the way back in like version 14 or 13?


r/Snapraid • • 1d ago

Help: Swapping out my OMV-Snapraid Parity Drive

Thumbnail reddit.com
2 Upvotes

r/Snapraid • • 6d ago

Syncing more data than exists

Post image
5 Upvotes

EDIT: Solved in https://www.reddit.com/r/Snapraid/s/QeqzHUXBZY

I'm having an issue where every time Snapraid runs a Sync operation and one specific file is involved (has been changed), the sync seems to run for almost an hour, and transfer/check/process hundreds of GB of data.

The single file in question (a qcow disk image that was booted up and then immediately shutdown)... is only about 30 GB total size. Why does this keep happening? Is my Snapraid array broken?

My understanding is that the sync should be almost instant, if almost nothing changed. I confirmed its just this one single file with a snapraid diff first.

OMV version: 8.6.1-1 (Synchrony)

Plugin version: openmediavault-snapraid 8.0.3


r/Snapraid • • 8d ago

NEWS: SnapRAID 15.2 and SnapRAID Daemon 2.2

27 Upvotes
This minor release focuses on resolving several edge cases. Upgrading is
not necessary unless you run into the specific issues outlined below.

CHANGES IN SNAPRAID 15.2
========================
 * Avoid creating a redundant Windows Job Object when SnapRAID is
   already running inside an existing job (such as under SnapRAID
   Daemon). This prevents potential execution failures of child
   processes (such as smartctl) on systems where nested job objects are
   not supported.
 * Skip disks on network or virtual filesystems (such as NFS, CIFS,
   FUSE, or tmpfs) in device operations like 'up', 'down', 'smart',
   and 'probe' on Linux, instead of failing with an error. If no
   physical device remains, the operation completes successfully with
   an informational message.


CHANGES IN SNAPRAID DAEMON 2.2
==============================
 * Fix split-parity configuration tags (e.g., parity/1:, 2-parity/1:)
   being falsely flagged as fatal software errors in the log parser.


Website: https://www.snapraid.it/

r/Snapraid • • 13d ago

Expanding 8TB to 16TB

3 Upvotes

I currently have 1x 8TB data drive and 1x 8TB parity drive configured with SnapRaid.

The data drive is formatted as BTRFS and is set up as a single merger disk. When I need to expand my storage, which of these drive configurations do you recommend?

  • 2x 8TB data drives, 1x 16TB parity.
  • 1x 16TB data drive, 2x 8TB parities.
  • ... something else?

r/Snapraid • • 19d ago

Snapraid Web Interface

8 Upvotes

I've been working on a web-based alternative to Elucidate for a bit now and finally have something that is worth sharing.

You can find the app on my Github https://github.com/dbednar13/SnapAdmin. Install and configuration instructions are all in the readme.

I would love any feedback from those who try it. One thing I am not is artistic so the UI is very much Vite + AI made so opinions on colors & layout are doubly appreciated.

Thank you and enjoy!

ETA: Screenshot


r/Snapraid • • 23d ago

Snapraid scrub showed errors how to check which files is it

Thumbnail gallery
5 Upvotes

Hello,

Using snapraid for a year. after sync i scrub and for the first time it showed 8 data errors. photos attached.

What can i do i want to see whats wrong maybe its an accidental change i am surprised this is the first time it gave errors because disks have media and i was watching a series during sync and scrub maybe that had an effect i want to see which files were effected if thats possible

windows 10 22h2

elucitade latest version

snapraid 15.1


r/Snapraid • • 27d ago

How do I pause qBittorrent from downloading, but allow uploading during maintenance?

2 Upvotes

Shutting down qBittorrent messes with some of the stuff with my private trackers unfortunately, and I'm wondering if there is a good solution for pausing just the download side?


r/Snapraid • • Oct 23 '26

SnapRAID 15.1 and SnapRAID Daemon 2.1

25 Upvotes
This minor release focuses on resolving several edge cases. Upgrading is
not necessary unless you run into the specific issues outlined below.

CHANGES IN SNAPRAID 15.1
========================
 * Add synthetic device IDs on Linux, allowing SnapRAID Daemon to
   preserve history for devices without unique hardware IDs while
   they remain connected within the same boot.
 * Fix a failed internal inconsistency check when '--gui-touch-before'
   is used before the first sync when no content file exists yet.
   Also ensure that commands that can save the content file ('touch',
   'scrub', 'rehash', 'rewrite') fail with a clear error message if the
   array has not been synced yet. This fix is required by
   SnapRAID-Daemon.
 * Make test and doc variables in Makefile.am compatible with BSD make,
   allowing builds, tests, and documentation generation on BSD systems
   without requiring GNU make.

CHANGES IN SNAPRAID DAEMON 2.1
==============================
 * Fix automatic spindown resetting the idle timer on disks without
   unique hardware identifiers (e.g., behind USB bridges with duplicate
   serials/WWNs) by only treating transitions from standby to active
   as physical spin-ups.
 * Fix scrubbed percentage display in the WebUI when there are zero
   unscrubbed blocks.
 * Note that the "touch_zero_subseconds" option requires SnapRAID 15.1
   or newer to function correctly, avoiding a failure with "Invalid
   parity split size -1" on a never-synced array. 

Website: https://www.snapraid.it/

r/Snapraid • • Oct 17 '26

Snapraid 15.0 with Btrfs support

13 Upvotes

I've always used ext4 for my snapraid volumes, but now that the new version has Btrfs it seems like I might have a reason the upgrade now.

Is anyone else using Btrfs on low-power low-RAM systems? Would there be any reason to not start adding new drives with Btrfs instead of ext4?


r/Snapraid • • Oct 05 '26

After Restart Server Reverts to Months Old State (Snapraid/mergerfs)

5 Upvotes

I've had this happen twice now and it's really strange. I have a media server (headless Debian Bookworm, with Snapraid/mergerfs) that I leave running almost all the time. Every once in a while I have to shut it down, and a couple of times this really strange thing happened. When I boot it back up the media folders have reverted to a state from months in the past; anything I'd added to the server in the past months was just gone. The first time this happened it went back to a state from years ago (I don't have any backups from that long ago), and today it went back to sometime in June.

Each time thankfully the Snapraid parity drive has had the missing files, so I've just rsync'ed them back into place and that works, I guess.

I have absolutely no idea how this happens, but I'd sure love to know what the heck is going on.

Anyone seen anything like this, or know what could be happening?

EDIT

Here's the contents of my 'snapraid.conf'

# Parity file - stored on the largest disk
parity /mnt/parity/snapraid.parity

# Content Files - store metadata
content /mnt/disk1/snapraid.content
content /mnt/disk2/snapraid.content

# Data Drive
data d1 /mnt/disk1
data d2 /mnt/disk2

# Auto-save changes to the content file before syncing
autosave 300

And the relevant section of my fstab

# mount drives for mergerfs
/dev/sdc1   /mnt/disk1  xfs defaults    0   0
/dev/sdb1   /mnt/disk2  xfs defaults    0   0

# mount parity drive for SnapRAID
/dev/sdd1   /mnt/parity xfs defaults    0   0

# mergers pool mount
/mnt/disk*  /data   fuse.mergerfs   direct_io,defaults,allow_other,noforget,dropcacheonclose=true,category.create=mfs,minfreespace=50G,fsname=data  0   0

EDIT #2

So the most likely culprit at this point seems to be the fact that I used the /dev designations in my fstab, which meant that it was possible that different drives were getting mounted to /mnt when I restarted, causing delightfully bizarre shenanigans.

Thanks everyone for your patience and skillful help!


r/Snapraid • • Oct 02 '26

Cant access Disks and Settings in Snapraid Commander

2 Upvotes

i have recently updated borh the engine and Commander but now i cant see my disks or access the settings in the web ui. is there a config setting i have forgot to set?


r/Snapraid • • Sep 30 '26

Trimming logs in /var/log/snapraid

1 Upvotes

Seems like all the logs are stored in /var/log/snapraid. I believe those are for snapraid daemon. Can I know is there way to trim them via snapraid daemon? Or do I just delete them or logrotate them?

Here are the amount of logs just for 1 day.

-rw-rw-rw- 1 root root 8.1K Sep 19 00:26 20260919-002630-probe.log

-rw-rw-rw- 1 root root 9.7K Sep 19 02:36 20260919-023630-probe.log

-rw-rw-rw- 1 root root 12K Sep 19 03:06 20260919-030630-probe.log

-rw-rw-rw- 1 root root 17K Sep 19 03:08 20260919-030800-up.log

-rw-rw-rw- 1 root root 21K Sep 19 03:10 20260919-030808-sync.log

-rw-rw-rw- 1 root root 92K Sep 19 03:36 20260919-031058-scrub.log

-rw-rw-rw- 1 root root 17K Sep 19 03:36 20260919-033635-probe.log

-rw-rw-rw- 1 root root 8.1K Sep 19 04:06 20260919-040635-probe.log

-rw-rw-rw- 1 root root 11K Sep 19 05:56 20260919-055636-probe.log

-rw-rw-rw- 1 root root 8.1K Sep 19 06:26 20260919-062636-probe.log

-rw-rw-rw- 1 root root 9.7K Sep 19 16:26 20260919-162637-probe.log

-rw-rw-rw- 1 root root 8.2K Sep 19 17:46 20260919-174637-probe.log

-rw-rw-rw- 1 root root 13K Sep 19 19:26 20260919-192637-probe.log

-rw-rw-rw- 1 root root 17K Sep 19 19:36 20260919-193637-probe.log

-rw-rw-rw- 1 root root 8.2K Sep 19 21:46 20260919-214637-probe.log

-rw-rw-rw- 1 root root 9.7K Sep 19 22:36 20260919-223637-probe.log


r/Snapraid • • Sep 29 '26

NEWS: SnapRAID 15.0rc2 and SnapRAID Daemon 2.0rc2

28 Upvotes
The second release candidates of SnapRAID 15.0 and SnapRAID Daemon 2.0,
and the first to be made public, are now available for testing.

These are pre-release versions intended for validation ahead of the
final 15.0 and 2.0 releases. Users are encouraged to test them and
report any regressions or unexpected behaviour.

Important downgrade note: After upgrading to SnapRAID 15.0rc2,
downgrading to a 14.x release is supported only after a successful
sync. After an interrupted sync, downgrading to a 14.x release is not
possible.

Downloads:
https://github.com/amadvance/snapraid/releases/tag/v15.0rc2
https://github.com/amadvance/snapraid-daemon/releases/tag/v2.0rc2

SnapRAID CLI 15.0 brings native automated filesystem snapshots (Btrfs,
Bcachefs, ZFS, and NTFS) to guarantee point-in-time data consistency
during sync, scrub, check, and fix operations, alongside hardware
acceleration utilizing AVX-512BW and ARM64 NEON SIMD routines.

SnapRAID Daemon 2.0 introduces multi-array management, bracketed
privilege separation on Linux, Argon2id HTTP Basic Authentication,
independent disk spindown and lifetime error tracking, and "Brutale"
an alternative high-contrast Neo-Brutalist web interface.

Both projects have also undergone an extensive LLM-assisted deep code
review, uncovering and resolving numerous subtle corner cases across
error handling, recovery paths, concurrency, and system integration,
further improving overall robustness and reliability.

CHANGES IN SNAPRAID 15.0rc2
===========================
 * Added support for automated filesystem snapshots to ensure data
   consistency and improve recovery reliability.
   When the 'snapshot' option is enabled, SnapRAID transparently manages
   filesystem snapshots during operations, requiring no changes to the
   existing user workflow or file management.
   Supported on Btrfs, Bcachefs, and ZFS in Linux, and on NTFS in
   Windows.
   This ensures that 'scrub', 'check', and 'fix' operations utilize a
   frozen point-in-time reference for data disks, eliminating
   mismatches caused by concurrent live filesystem modifications.
   The use of snapshots significantly improves recovery success by
   preserving access to files that were updated or deleted after the
   last parity computation.
 * Implemented AVX-512BW (Byte and Word) support for parity generation
   and data recovery, optimizing performance on modern architectures
   like Intel Sapphire Rapids and AMD Zen 4/5.
   By scaling to 512-bit ZMM registers, the implementation now processes
   64 bytes per iteration, effectively doubling the data width of the
   previous AVX2 routines.
 * Implemented AArch64 (ARM64) NEON support for parity generation and
   data recovery, significantly improving performance on ARM-based
   platforms.
 * Improved the chances of a successful recovery after an interrupted 
   sync. This is achieved by removing the sync optimization of not
   recomputing the parity if the input data matches the expected hash.
   While only the specific sync immediately following an interruption
   will be slower, this change preserves hash data in the content file
   to ensure a better fix during disk failures and allows the --import
   option to remain functional even after an incomplete sync.
 * Skip spin-up and spin-down operations for non-rotational devices
   (like SSDs and NVMe drives) on Linux and Windows.
 * Added --with-smartctl, --with-zfs, --with-zpool, --with-bcachefs
   configure options to allow pinning the absolute path of each tool at
   build time. When not specified, the existing runtime discovery
   behaviour is preserved. Primarily intended for NixOS and other
   non-FHS systems.
 * Removed the 512 TiB limitation on hard disk size (when using the
   default 128 KiB blocks).
 * Added support for a custom info options tag `[info: ...]` in the
   `smartctl` configuration option. This allows replacing the default
   `-a` command line argument used to retrieve SMART attributes with a
   customized set of arguments, enabling better support for RAID
   controllers and USB enclosures.
 * Added support for specifying case-insensitive SMART attribute names
   (instead of only numeric IDs) in the `smartignore` configuration
   option.
 * Added support for filesystems where only specific files fail to
   report a 64-bit inode number (such as ReFS when 128-bit file IDs
   cannot be mapped), allowing SnapRAID to continue processing those
   individual files without inodes.
 * Removed the dependency on the 'libblkid' library.


CHANGES IN SNAPRAID DAEMON 2.0rc2
=================================
 * Require SnapRAID 15.0rc2 or newer.
 * Added a "degraded" health state for disks and the array when a
   filesystem UUID mismatch is detected against the content file.
   This distinguishes missing mountpoints or unmounted disks from
   hardware failures.
 * Added a "check_updates" option to periodically check for new daemon
   releases on GitHub. The WebUI now displays the update status under
   the Configuration card on the Dashboard and shows a dedicated
   "NEW VERSION AVAILABLE" badge in the System Idle header when a new
   version is available.
 * Introduced "Brutale", a high-contrast Neo-Brutalist WebUI. Loud,
   blocky, and completely unapologetic—sunglasses not included.
 * Added a "net_auth_credential" option to protect the REST API and
   web dashboard via HTTP Basic Authentication. The credentials are
   securely verified using Argon2id ($m=65536, t=3, p=1$).
   Also added a `-g, --gen-auth` command-line utility flag to generate
   a valid configuration line from a username and password.
   Note: Since Basic Authentication transmits credentials in plaintext
   (Base64), it is not secure over unencrypted HTTP. Users must deploy
   an HTTPS encryption layer or restrict access to a trusted, secure
   network.
 * Added support for managing multiple independent SnapRAID arrays:
   - On Linux/systemd, daemon instances can be managed individually
     using the template unit `snapraidd@.service`.
   - On Windows, multiple service instances can be registered and
     managed using the `--service-install` option with the `-i` flag.
 * Schedule a report notification on degradations of counting/critical
   raw SMART attributes and tracked error counters. Normalized value
   degradations of critical prefail attributes also generate warning
   notifications, while normalized changes of non-critical prefail
   attributes are tracked as informational history.
   Historical tracking for normalized values (with highest/worst
   baselines and threshold values) is exported via REST API/YAML and
   integrated into status reports.
 * Implemented a bracketed privileges system on Linux to run the daemon
   as an unprivileged user (e.g., "nobody") by default and temporarily
   escalate to root only when performing administrative operations.
 * Added a "hook_docker_pause" option to specify a comma-separated list
   of Docker containers to pause during tasks that access the array.
   Containers are paused immediately before running the task (or the
   pre hook script) and unpaused immediately afterward.
 * Added a "notify_start" configuration option to trigger a notification
   command at the start of high-level tasks like maintenance.
 * Added a "sys_shutdown_on" option to automatically trigger a system
   shutdown based on a comma-separated list of events ("maintenance",
   "prefail", or "failing").
 * Added a "smartignore" configuration option to allow ignoring specific
   SMART attributes (e.g., Spin_Up_Time, Raw_Read_Error_Rate) for one or
   more disks. Ignored attribute changes do not generate warning
   notifications and are omitted from status reports, while the attributes
   remain available and marked as ignored in the REST API.
 * Export temperature warning/critical thresholds and status fields in
   the REST API, and integrate them into the web dashboards to
   automatically color-code drives (supporting higher limits for SSD,
   NVMe devices).
 * Allow separate spindown idle timeouts for data and parity disks by
   specifying two comma-separated values in "spindown_idle_minutes"
   (e.g., 15, 30). If only one value is specified, it applies to both.
   This introduces the new REST API "/snapraid/v2/config" endpoint where
   the spindown configuration is returned and set as a string, while
   retaining backward compatibility with the legacy
   "/snapraid/v1/config" endpoint (which only returns the data disk
   timeout as an integer).
 * Added non-resetting lifetime tracking for I/O and silent data errors
   on disks using snapraid_tracked structures ("error_io" and
   "error_data"), which include historical baselines and timestamps.
   This introduces the new REST API "/snapraid/v2/disks" endpoint where
   lifetime tracked error counters ("error_io" and "error_data") and
   active session counters ("transient_error_io" and
   "transient_error_data") are exported, while preserving backward
   compatibility with the "/snapraid/v1/disks" endpoint (which continues
   to export transient session errors under
   "error_io" and "error_data").
 * Added the "/snapraid/v1/clear" REST API endpoint and a "Clear" button
   in the WebUI Tasks view to cancel all pending tasks waiting in the
   execution queue without affecting any currently running task.
 * Added support for saving task log files in gzip (.gz) format,
   controlled by the "sys_log_compression" configuration option.
 * Added %h (high-level task name) and %c (exit code of the task)
   placeholder tags to result notifications.
 * Added environment variables to the hook script executions, exposing
   execution details (such as command name, task number, log file,
   config paths) for the `task-begin` event, and adding exit codes,
   signals, duration, error counters, array health, and diff statistics
   for the `task-end` and `task-error` events.
 * Deprecated the "sys_engine" configuration option and replaced it with
   the new "./configure --with-snapraid=PATH" option to allow hardcoding
   the utility path at build time.
   Similarly added new "--with-docker=PATH" and "--with-curl=PATH"
   options to allow hardcoding the curl and docker utility paths at
   build time. The default runtime discovery behavior remains unchanged
   if these options are omitted.
   Primarily intended for NixOS and other non-FHS systems.
 * Sort diff and fix lists by change type to prioritize the most
   relevant entries first.
 * Include the system hostname at the beginning of the status report
   before the health status.

Website: https://www.snapraid.it/

r/Snapraid • • Sep 15 '26

In-place recovery with mergerfs

Thumbnail reddit.com
8 Upvotes

I've linked another post I found that's similar to my (currently hypothetical) situation, but isn't quite what I want to ask.

I'm running a snapraid/mergerfs system, and recently I had a catastrophic failure of one of my disks: Totally dead, unable to even mount the disk. Thankfully I had a large enough spare that I could replace and recover it without too much fuss, but next time it happens I may not be able to. I also don't have enough empty drive bays to hook up multiple disks to recover onto a temporary mergerfs pool as in the linked post. However, I do have enough free space across the rest of my drives to accommodate the data on any single drive that fails.

Would it be possible to restore the content of the failed drive directly into the existing mergerfs pool (i.e. the rest of my snapraid array) and resync it with n-1 data disks, without using any additional drives for temp storage?


r/Snapraid • • Sep 04 '26

I swapped a disk and now I am stuck

3 Upvotes

Follow-up: I ended up renaming the paths and redoing a full sync from scratch to ensure everything is fine

I use MergeFS to distribute data on 3 disks, and SnapRAID afterwards. One disk was starting to fail so I sold a kidney to buy a new one and:

  • added the new disk to my server
  • copied the content of the old disk to the new disk
  • updated MergeFS so that the old disk is not requested anymore
  • reboot

Everything is fine.

Then I

  • updated /etc/snapraid.conf to delete the old disk and to add the new one
  • tried to snapraid status
root@srv ~# snapraid status
Self test...
Loading state from /var/lib/snapraid/snapraid.content...
Decoding error in '/var/lib/snapraid/snapraid.content' at offset 89
The file CRC is correct!
Disk 'd1' with uuid 'f7901f2e-d167-4a9d-931e-7b67f6e2d0ef' not present in the configuration file!
If you have removed it from the configuration file, please restore it
If you have renamed it, run 'sync' to update the new name

root@srv ~ [1]# snapraid sync
Self test...
Loading state from /var/lib/snapraid/snapraid.content...
WARNING! Renaming disk 'd1' to 'f7901f2e-d167-4a9d-931e-7b67f6e2d0ef'
Decoding error in '/var/lib/snapraid/snapraid.content' at offset 139
The file CRC is correct!
Disk 'd2' with uuid 'fd2dbb2e-9d6b-4b74-9789-67d40fb624dc' not present in the configuration file!
If you have removed it from the configuration file, please restore it

SO here I am, with correct disks and data on them, but with a dirty index. What can I do now?

For reference, my /etc/snapraid.conf:

# 1. PARITY DISK
# This should be your largest disk.
# It stores the mathematical "parity" file used for recovery.
parity /mnt/parity1/snapraid.parity

# 2. CONTENT FILES
# These are the "index" of your files.
# Best practice: Keep one on your OS drive, and one on each data drive.
# DO NOT put them only on one disk; if that disk fails, recovery is harder.
content /var/lib/snapraid/snapraid.content
content /mnt/f7901f2e-d167-4a9d-931e-7b67f6e2d0ef/.snapraid.content
content /mnt/77706957-fdaa-4bfe-bc08-72d5f1a341e9/.snapraid.content
content /mnt/2d5f43de-cce3-4292-a121-b2a45af0db45/.snapraid.content
content /backup/.snapraid.content

# 3. DATA DISKS
# Format: data <name> <mount_point>
# Use simple names like d1, d2, d3...
data f7901f2e-d167-4a9d-931e-7b67f6e2d0ef /mnt/f7901f2e-d167-4a9d-931e-7b67f6e2d0ef
data 2d5f43de-cce3-4292-a121-b2a45af0db45 /mnt/2d5f43de-cce3-4292-a121-b2a45af0db45
data 77706957-fdaa-4bfe-bc08-72d5f1a341e9 /mnt/77706957-fdaa-4bfe-bc08-72d5f1a341e9

# 4. EXCLUDES
# Files and folders to ignore (temporary files, trash, etc.)
exclude /lost+found/
exclude /tmp/
exclude .AppleDouble
exclude ._*
exclude *.tmp
exclude .DS_Store
exclude .Thumbs.db
exclude /media/deluge/

# 5. SETTINGS
# Automatically save the state every 50GB during a sync.
# This prevents having to restart from zero if the power cuts out.
autosave 50

r/Snapraid • • Aug 25 '26

False(?) Positive on Virus sca

0 Upvotes

I'm looking for a RAID solution which will be more reliable than MS Storage Spaces, and one which I can easily take across to Linux whenever I get around to that transition.

I've heard good things about SnapRAID, but yesterday MS Defender kept quarantining the installer, saying “This program is dangerous and executes commands from an attacker”. However, it was only doing that on one of my PCs. My laptop has been perfectly happy with the same file (snapraid-daemon-1.14.exe), downloaded from the same place (GitHub).

I tried updating Windows and the Defender definitions on both, but was still getting this odd inconsistency. Does anyone know what could have caused this? Is this a known issue with SR/Defender? (I couldn't find anything when I searched)

Could the installer actually be compromised? The hash matches the one shown on GitHub.

After that, I rebooted for an offline full virus scan to be safe, and now the file tests clean on both computers.

I uploaded the installer to VirusTotal, which site says it's clean according to all of its tests except for Bkav Pro which flags it as W32.Malware.BF27BD8E. https://www.virustotal.com/gui/file/f2e554fc6d686c320a5d36a2020ce11c3dadaa97026db39f075dd0c7979b641e

I've done a search for Bkav Pro and a lot of the results are people complaining that it's giving false positives, so I'm hoping that that's all this is?


r/Snapraid • • Aug 20 '26

Snapraid check and fix command -i argument

1 Upvotes

Due to many overlapping issues I managed to delete one drive D1 (which snapraid recovered) but am missing roughly 180 files which were deleted from both the D1 and D2. I have ran an ext4 undelete and recovered lots of partial data from D2 and put that in a separate folder. Unfortunately, running check -i with that folder does not decrease the number of files shown as unrecoverable.

Am I doing something wrong, or is -i only ever going to work on exact same folder structure + file names + timestamps? I was hoping maybe some of the files which were shown as missing ~10 blocks out of 200 could manage to find the missing block in the undeleted folder.

I'm not expecting all 180 files back, I was just hoping that having undeleted 3TB of old D2 files, some of them would help recover maybe a few more of those 180 files.


r/Snapraid • • Aug 16 '26

Need some clarification on how SnapRAID would detect file corruption

4 Upvotes

Let's say in this scenario I have two drives that are in a mirror + a third parity drive. Syncs are done every time data is added or removed from the array, and new files are scrubbed + touched when added to the array. Every day I scrub 12% of the array for files that haven't been scrubbed in 10 days.

If a random file gets corrupted 8 days after being scrubbed, but a -sync command has been done before its next scrub. Would scrubbing pick up data corruption? or does -sync tell the array that the corrupted version of the file is the intended makeup of it so scrubbing does not detect it as being corrupted and repairable?

I'm confused on if SnapRAID is viable for a NAS that has data added or removed every few days


r/Snapraid • • Aug 14 '26

"Hash mismatch" error when recovering from disk failure

2 Upvotes

Unfortunately, 2 of my disks failed.

Since I have 2 parity disks, I thought I'd be able to easily recover the data, however, after trying to recover with snapraid -d d6 -d d12 fix I'm getting lots of unrecoverable files with errors in the log file like this:

error:64650575:d6:path/to/file: Data error at position 88879, diff bits 74/128
entry:0:block:known:bad:d6:path/to/file:88879:
hash_error: Hash mismatch on entry 0
parity_error:64650575:parity:hash: Hash mismatch
hash_error: Hash mismatch on entry 0
parity_error:64650575:2-parity:hash: Hash mismatch
recover_sync:64650575:1: Failed with 2 attempts
recover_unsync:64650575:1: Skipped for nothing unsynced
unrecoverable:64650575:d6:path/to/file: Unrecoverable error at position 88879

I use snapraid with btrfs snapshots, so there couldn't have been modified data during or after a sync.

Is there any way to check why this error happens and correct it or should I say bye to my files?

Thanks in advance.


r/Snapraid • • Aug 12 '26

Help me undelete a file

2 Upvotes

I try to run the fix command, but end up with "Nothing to do".

I bet I'm typing the command wrong, but I don't know how exactly.

sudo snapraid fix -f "/mnt/data1/Software/utorrent 2.2.1.exe"

I tried sudo snapraid fix -m -f /mnt/data1/Software too.

Btw, list command shows the file present in the backup.


r/Snapraid • • Aug 02 '26

Can someone explain the why unsynced Files, are more than my total files?

Thumbnail gallery
1 Upvotes

I don't understand, if I had a failure, the manual does say I'll be ok. But when I do a sync, it feels like I need to sync the entire Array? is it because multiple of my HD are empty, and I am slowly filling it up? it has to run the entire Sync for that section with the other HD?

Example, my Unsynced says I have 8Million Unsynced, and 448TB, whereas my Equal files says 1.5Million. and I just added 500,000.

FOUND an ANSWER! Thank you Andrea!

EDIT:
EXPLANATION BY DEVELOPER -

That UNSYNCED count represents the number of parity blocks, not files. This explains the difference in the number. I'll make it clear in the next release.

Also, being unsynced means that the parity block needs to be updated. But it can still be used for recovery if one of the pre-existing disks fails. Essentially, when syncing, SnapRAID saves the previous and final state of the parity, and during recovery, it attempts a double approach. So, even if sync is aborted abruptly, like killing the process, a recovery is guaranteed.


r/Snapraid • • Jul 28 '26

WARNING! Unexpected soft errors! Unexpected size change at file....

5 Upvotes

I've been running snapraid in some form for years and years, using my own modification of the Zack Reed script/cronjob. but started using the deamon a few months ago, and I've had this happen to me twice. A scheduled sync fails due to a download actively taking place (or some other file change). Either I hadn't noticed this before and I had a lot of canceled syncs, or this is a new behavior. Any ideas? Is there a way to get it to skip the file(s) which are actively changing? ad-hoc sudo snapraid sync threw the errors at the end, but seemed to sync otherwise? I don't remember ever seeing the soft error in the past in my logs, but maybe it was there and I never noticed. Seems related to a hashing check at the end of the sync? Is this a new feature? Should I be concerned? is there a way to suppress, or should I even consider that? Do I need to stop any sort of download or file transfer taking place prior to running?