Commit graph

456 commits

Author SHA1 Message Date
Andrea Mazzoleni
16e93e905e Add support for specifying case-insensitive SMART attribute names in the smartignore option 2026-07-13 11:03:57 +02:00
Andrea Mazzoleni
5f60c5a948 Add support for custom smartctl info options using a [info: ...] tag 2026-07-13 11:03:57 +02:00
Andrea Mazzoleni
a36c1f054f Skip spinup and spindown for non-rotational devices 2026-07-13 11:03:57 +02:00
Andrea Mazzoleni
6d193d31df Add AArch64 NEON parity generation and recovery functions 2026-07-13 11:03:56 +02:00
Andrea Mazzoleni
a580273265 Migrate block_off_t to 64-bit with updated CLI parsing, VLQ serialization, and format specifiers 2026-07-13 11:03:56 +02:00
Andrea Mazzoleni
a043ab2257 Allow to configure path of external tools 2026-07-13 11:03:56 +02:00
Andrea Mazzoleni
a62d078220 Add Windows VirtualShadowCopy support for snapshots 2026-07-13 11:03:56 +02:00
Andrea Mazzoleni
c22b7d6c4a Add ZFS support 2026-07-13 11:03:55 +02:00
Andrea Mazzoleni
e242426ded Add Bcachefs support 2026-07-13 11:03:55 +02:00
Andrea Mazzoleni
20cdfa7535 Remove the requirement to snapshot content files
The new content file format now includes metadata for previous versions
of files. This allows the fix command to access historical file data from
snapshots as needed, ensuring recovery even if the live filesystem has
changed or the file was deleted during a sync.
2026-07-13 11:03:55 +02:00
Andrea Mazzoleni
dd0ded0be5 Sync no longer requires clearing the past hash
It no longer assumes past hashes are valid if even a single unsynced
block exists, which indicates a previous sync was interrupted.

While this makes syncing slower after an interruption, it preserves the
past hash in the content file, enabling a more reliable fix if a
disk fails following an incomplete sync.

This ensures the --import option remains functional even after an
interrupted sync.
2026-07-13 11:03:55 +02:00
Andrea Mazzoleni
2babb5441c Integrate new AVX512 functions in the speed test 2026-07-13 11:03:55 +02:00
Andrea Mazzoleni
e9871d65ff Add Btrfs snapshot support for atomic sync and recovery consistency 2026-07-13 11:03:55 +02:00
Andrea Mazzoleni
562d59d9c8 Avoid a folding VLA warning in clang 2026-07-06 15:57:49 +02:00
Andrea Mazzoleni
bbadcf252f Reduce permission to avoid to spin up disks in Windows
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-06-23 11:47:31 +02:00
Andrea Mazzoleni
e4aa186b1a Fix touching of files that in Windows have the read-only attribute set 2026-06-10 10:41:11 +02:00
Andrea Mazzoleni
6f1fb3b397 Update HISTORY
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-06-03 12:33:29 +02:00
Andrea Mazzoleni
cf452a091d Log using log_error all errors that are not resulting in an early termination 2026-06-03 12:33:29 +02:00
Andrea Mazzoleni
93d99a566c Update HISTORY 2026-05-30 17:52:09 +02:00
Andrea Mazzoleni
73b8ee9d29 Update HISTORY
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-05-18 14:09:44 +02:00
Andrea Mazzoleni
b32fa703ba Import incomplete attributes from smartctl 2026-05-14 17:02:16 +02:00
Andrea Mazzoleni
34b6a47e5e Fixed --gui-threshold logic
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-04-20 00:42:48 +02:00
Andrea Mazzoleni
befb9b4a92 Fix RISC printf 2026-04-16 13:50:51 +02:00
Andrea Mazzoleni
e5eb60ef4b Prefer the 128 bit multiplication over the assembler ARM64 implementation
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
The asm code looks correct, but there is a report about a failure of the
self test on a Apple Silicon, maybe caused by a compiler bug.
Considering the 128 bit integer implementation is anyway equally fast,
makes sense to always use it.

See: https://github.com/amadvance/snapraid/issues/43
2026-04-13 11:44:49 +02:00
Andrea Mazzoleni
d43c48a514 Update HISTORY
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-04-09 23:38:07 +02:00
Andrea Mazzoleni
4ba6ee874c Log the modification time of the content file in probe and other commmands 2026-04-09 17:56:50 +02:00
Andrea Mazzoleni
4ce3952344 Update HISTORY 2026-04-09 17:56:50 +02:00
Andrea Mazzoleni
06b2dab81c Update HISTORY 2026-04-01 00:43:11 +02:00
Andrea Mazzoleni
8b552ec1a9 Update HISTORY 2026-03-30 08:31:21 +02:00
Andrea Mazzoleni
f156915125 Handle the case of malformed IOCTL answer for disk descriptor 2026-03-20 13:41:09 +01:00
Andrea Mazzoleni
9146d02845 Update HISTORY 2026-03-19 11:26:25 +01:00
Andrea Mazzoleni
c153898c9a Log devices mapping
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-03-16 12:43:23 +01:00
Andrea Mazzoleni
ddf2af988b Update HISTORY
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-03-15 14:57:30 +01:00
Andrea Mazzoleni
c449864fc7 Introduce "relocated" state to unify and replace "copied/removed" logic 2026-03-15 02:47:36 +01:00
Andrea Mazzoleni
60c7b6baa3 New extra config option for additional disks to monitor 2026-03-11 16:05:39 +01:00
Andrea Mazzoleni
e48cdacce5 New option --gui-touch-before 2026-03-10 23:43:21 +01:00
Andrea Mazzoleni
26288de0f7 Update HISTORY
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-03-06 01:26:15 +01:00
Andrea Mazzoleni
60ee85c55b Update HISTORY 2026-03-04 11:31:32 +01:00
Andrea Mazzoleni
34fc79464b Update HISTORY
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-03-01 15:24:33 +01:00
Andrea Mazzoleni
11fd4ada69 Support decimal point for -p, --plan
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-02-17 02:02:48 +01:00
Andrea Mazzoleni
60010a4b32 Documentation of the new commands
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-02-09 14:39:19 +01:00
Ralf
c09bdc572e Add new locate command with --tail option.
Co-authored-by: Andrea Mazzoleni <amadvance@gmail.com>
2026-02-02 14:02:16 +01:00
Andrea Mazzoleni
1166d9dcea Bump to 14.0 2026-01-26 09:39:50 +01:00
Andrea Mazzoleni
f64d582960 Fixed a crash on macOS when filesystem doesn't report UUID
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
ede99cbe80 Added wear level percentage to the SMART report 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
9f14dd94e5 Add support for ** in the patterns
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
2026-01-11 15:48:36 +01:00
Andrea Mazzoleni
36cef9ee89 New .snapraidignore feature 2026-01-11 12:07:01 +01:00
Andrea Mazzoleni
00dc3e6a48 New speed test options 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
96a70ac77e Update HISTORY 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
986d7464b4 Add disk usage detection based on access counters 2026-01-04 18:01:19 +01:00