Andrea Mazzoleni
be41b8dbd5
Faster makedist
2025-09-29 14:36:33 +02:00
Andrea Mazzoleni
47c0f3b8ae
Before spinning down flush all the disk caches
2025-09-27 19:40:32 +02:00
Andrea Mazzoleni
906d215bf5
Add thermal protection options: temp_limit and temp_sleep
...
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
Introduce two new configuration directives to protect disks from overheating:
- temp_limit <TEMPERATURE_CELSIUS>
Sets the maximum allowed disk temperature. When any disk exceeds this limit,
SnapRAID stops all operations and spins down the disks.
- temp_sleep <TIME_IN_MINUTES>
Specifies how long disks remain in standby after a temperature event.
Defaults to 15 minutes.
These options allow SnapRAID to automatically pause activity and cool down
disks when a temperature threshold is reached, improving data safety and
hardware longevity.
2025-09-27 16:05:05 +02:00
Andrea Mazzoleni
b5bbece95e
Update HISTORY
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
2025-09-26 10:04:33 +02:00
Andrea Mazzoleni
bb2b84d21a
Add a new -s, --spin-down-on-error option
...
Also handle correctly chars outside the Windows codepage as arguments.
2025-09-26 09:50:10 +02:00
Andrea Mazzoleni
30474cfb80
Ensure that writer buffers are flushed before synchronizing parity writes
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
2025-09-25 15:32:34 +02:00
Andrea Mazzoleni
5fd41d215b
Intercept Ctrl-C at startup of all commands
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-09-24 11:32:10 +02:00
Andrea Mazzoleni
fedeb99bdc
Add a new probe command
...
Probe the power state of the disks in the system
2025-09-24 11:26:30 +02:00
Andrea Mazzoleni
e57f07cc24
Use direct read access to spinup disks
...
This is more reliable in case of multiple physical devices mapped to the same
logical disk.
2025-09-24 11:15:26 +02:00
Andrea Mazzoleni
15826c2e3b
More compressed printing of bad blocks listing
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-09-17 18:37:02 +02:00
Andrea Mazzoleni
035b3b42d0
Reformat manpage
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-09-15 23:48:53 +02:00
Andrea Mazzoleni
8cef686d26
Adds a new smartignore option to ignore specific SMART attributes
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
2025-09-15 16:57:22 +02:00
Zelin2001
4c504ab325
Make the test phase dash compatible ( #26 )
...
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
In Makefile.am test phase substitutes
`[[`` with POSIX shell `test`` command.
2025-08-20 18:27:33 +02:00
Andrea Mazzoleni
09897fcdb3
Extend autover to work also without git tags
2025-05-15 22:12:20 +02:00
Andrea Mazzoleni
5ebf6ab186
Keep data in the page cache during the build tests
2025-05-08 09:46:38 +02:00
Andrea Mazzoleni
ad579dcef6
Modernize fnmatch implementation to avoid warnings with new compilers
2025-05-08 09:32:06 +02:00
Andrea Mazzoleni
5ad7f9acfc
Use POSIX_FADV_NOREUSE to avoid page-cache pollution
...
This adds support for POSIX_FADV_NOREUSE, which advises the kernel not to
cache read data. It's available starting from Linux kernel 6.3.
To maintain compatibility with older kernels, POSIX_FADV_DONTNEED is still
used.
2025-05-08 09:18:50 +02:00
Andrea Mazzoleni
f38b5a84a8
Use fetch_add because the wait is before the operation
2025-03-30 18:51:47 +02:00
Allan Clark
5886923bb1
Add bandwidth limit feature --bw-limit
2025-03-29 19:29:55 +01:00
Andrea Mazzoleni
15a5fac6e9
Switch to SDE64
2025-03-29 16:51:26 +01:00
Andrea Mazzoleni
389b9aa2cb
Remove the obsolete AC_HEADER_TIME from configure.ac
2025-03-13 15:56:18 +01:00
Nasado
3c87474aa2
Use volume UUIDs on macOS
2025-02-13 11:21:26 +01:00
acloserview
35ab0ba542
Update snapraid-rpm.spec ( #24 )
...
Updated 'Version' to '12.4'
2025-02-06 21:57:05 +01:00
Andrea Mazzoleni
e4e733c147
Add checksums for version 12.4
2025-01-23 21:05:38 +01:00
Andrea Mazzoleni
d7e78e9141
Switch to wine64 for testing
2025-01-23 20:32:26 +01:00
Andrea Mazzoleni
56c4076e23
Avoid a warning about function pointer conversion. No functional changes
2025-01-23 15:51:59 +01:00
Mario Campos
e6b8c4c8a0
Upgrade Actions in CodeQL analysis workflow ( #22 )
...
This brings the actions to the latest major version (v2 -> v4, v1 -> v3). And, in the cases of the CodeQL actions, I'm pretty sure v1 has been deprecated.
2024-08-21 09:34:03 +02:00
Andrea Mazzoleni
c2664c6521
Update TODO
2024-07-03 17:24:31 +02:00
Andrea Mazzoleni
93f424768b
Remove unused variable
2024-06-05 10:14:50 +02:00
Andrea Mazzoleni
41688c3036
Update TODO
2024-06-05 09:45:42 +02:00
Andrea Mazzoleni
cd327c60c7
Add checksums for v12.3
2024-01-22 22:04:24 +01:00
Andrea Mazzoleni
6e8fea771e
Update doc
2024-01-10 14:33:25 +01:00
Andrea Mazzoleni
ecd1bbc897
Update README
2024-01-10 14:25:40 +01:00
Andrea Mazzoleni
5b62fb9c2b
Update HISTORY
2024-01-10 14:22:14 +01:00
Tomas Uribe
79e8794ff5
Small doc updates, clarify references to "snapraid touch". ( #19 )
...
Co-authored-by: Andrea Mazzoleni <amadvance@gmail.com>
2024-01-10 14:17:00 +01:00
Andrea Mazzoleni
85ca997bf2
Fix integer overflow when computing the progress percentage
2024-01-03 20:20:39 +01:00
Andrea Mazzoleni
a3270063dd
Review the manpage
2023-12-09 15:48:34 +01:00
Andrea Mazzoleni
a605442c8c
Fix typos in messages
2023-12-09 15:35:45 +01:00
Andrea Mazzoleni
607564c5fe
Fix some typos
2023-12-09 10:45:26 +01:00
saladpanda
978d812153
Fix error when configuring a contentfile in / ( #18 )
...
When using this config line:
content /snapraid.content
SnapRAID throws this error:
Error accessing 'content' dir '' specification in '/etc/snapraid.conf' at line 17
This commit fixes that by not replacing the rightmost slash with NUL but
instead the char immediately after the slash.
2023-10-20 10:24:54 +02:00
Benjamin Sherman
aa04edeccc
Add rpm specfile
2023-08-09 14:49:06 +02:00
Jens Kühnel
6b3ac2a6cb
Update address of FSF in GPLv2
2023-08-09 14:44:48 +02:00
Andrea Mazzoleni
0dc5904d5d
Use dd instead of head to be compatible with OpenBSD
2023-06-26 19:16:48 +02:00
Andrea Mazzoleni
0142c51922
Update TODO
2023-06-04 15:37:14 +02:00
Andrea Mazzoleni
9bc570eeb3
Remove travis
2023-03-08 21:39:13 +01:00
Andrea Mazzoleni
0d6792d4ed
Clearify a scrub message
2022-12-05 12:13:40 +01:00
Andrea Mazzoleni
935d7cd09f
Fix typo in man
2022-11-28 07:39:31 +01:00
Andrea Mazzoleni
b424a503a0
Add checksums for v12.2
2022-08-20 17:43:11 +02:00
Andrea Mazzoleni
986e16b4e8
Fix build issue with GLIBC 2.36
...
The sys/mount.h and linux/mount.h (included by linux/fs.h) are incompatible
in glibc 2.36 as both declare fsconfig_command.
Anyway, sys/mount.h is needed only in darwin for statfs and we can avoid to
include it in linux.
2022-08-17 17:50:40 +02:00
Andrea Mazzoleni
3ab8b43907
Fix build errors with new mingw compiler
2022-07-21 15:24:21 +02:00