Commit graph

973 commits

Author SHA1 Message Date
Andrea Mazzoleni
e743e23555 Add support for short writes to files. It should not happen, but just to be sure.
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-01-25 11:29:41 +01:00
Andrea Mazzoleni
caf9cd3961 Review all the error messages 2026-01-25 11:14:29 +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
ad2a36f2c7 Check dirfd result before using it 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
c180015fdc Less confusing names of smartctl flags 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
a7cae2707f Always trim family/serial/model 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
94e71365b8 Use "warning" for less relevant errors in the final exit status 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
4aa644c8d9 Simplify failure probability computation 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
e99f43c8ca Log both protocol and medium errors 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
b29500c25f Update beautification with uncrustify 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
e80734fc4c Fix typos 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
69d9335c9c Revise log documentation
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-01-17 19:13:52 +01:00
Andrea Mazzoleni
be3c5bf8eb In the log all the integer should be assumed 64 bits 2026-01-16 10:48:33 +01:00
Andrea Mazzoleni
9d383f08c9 Log the content file counters 2026-01-16 10:40:57 +01:00
Andrea Mazzoleni
e9756461af Failing to flush is an I/O error 2026-01-16 10:05:31 +01:00
Andrea Mazzoleni
a7e9cdd8c6 Log the exit summary of the status command 2026-01-16 00:28:12 +01:00
Andrea Mazzoleni
6b79b3157d Splitted the --gui option in --gui and --gui-verbose to avoid extremely big logs 2026-01-14 10:49:23 +01:00
Andrea Mazzoleni
276b06f0a6 Extend the log error tags to differentiate between io/silent to generic errors
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 / Analyze (push) Waiting to run
2026-01-14 01:45:32 +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
6a912b4726 Optimize the stream support for small text files 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
f6cf240b97 New experimental MuseAir hash 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
cc2bdad335 Some hash support improvments 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
00dc3e6a48 New speed test options 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
928469bc3d Avoid some warnings reported with higher optimization 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
ba781f903d New test vectors for metro hash 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
be3e3673fd Use proper family variable name instead of vendor 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
c4f01e9503 Retrieve disk attributes from the system also in Windows 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
13fae39eb3 New pseudo random number generator
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 / Analyze (push) Waiting to run
2026-01-06 09:34:29 +01:00
Andrea Mazzoleni
0aafcd1819 Read random sector to avoid cache when spinning up disk 2026-01-05 17:09:16 +01:00
Andrea Mazzoleni
d46a2402b6 Beautify code with uncrustify 2026-01-05 15:59:03 +01:00
Andrea Mazzoleni
6af8894120 In the help text print which configuration file is used 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
005ee9d416 Don't flush also when restarting 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
3678474074 When spinning down sync only the related disks 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
524733a6db Make the stat tag a disk level 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
fca525e5c6 Get SMART attributes also in probe, but only if the disk is already spinning 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
986d7464b4 Add disk usage detection based on access counters 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
75b6170b79 Rework size and uuid tags 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
ea53954b41 Rework attributes 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
0367b2810a Retrieve some attributes directly from the system 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
67e4896671 Output the power mode with the attr: tag like other attributes 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
efcdfb9118 When logging device attributes, also provide the split information 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
bb3aae2f40 Run smartctl only from selected paths 2026-01-04 18:01:19 +01:00
Andrea Mazzoleni
1f17ceca84 Log disk information info also in probe
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
2025-12-18 18:49:52 +01:00
Andrea Mazzoleni
1759716734 Fix importing of vendor/model from smartctl 2025-12-18 15:40:04 +01:00
Andrea Mazzoleni
30e329d4f3 More log_tags to make explicit the devices state 2025-12-18 14:48:43 +01:00
Andrea Mazzoleni
352e641e84 Add a new motherboard keyword for temperature monitoring 2025-12-16 23:03:12 +01:00
Andrea Mazzoleni
2555e503aa Force version 3 when saving content
This avoid saving the content file when it was not strictly necessary
because we keep the partity size.
2025-12-15 11:01:02 +01:00
Andrea Mazzoleni
a662387d2a More documentation for the log file 2025-12-12 11:02:03 +01:00