snapraid/cmdline
Andrea Mazzoleni 906d215bf5
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
Add thermal protection options: temp_limit and temp_sleep
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
..
bw.c Use fetch_add because the wait is before the operation 2025-03-30 18:51:47 +02:00
bw.h Add bandwidth limit feature --bw-limit 2025-03-29 19:29:55 +01:00
check.c Add thermal protection options: temp_limit and temp_sleep 2025-09-27 16:05:05 +02:00
device.c Add a new probe command 2025-09-24 11:26:30 +02:00
dry.c Add thermal protection options: temp_limit and temp_sleep 2025-09-27 16:05:05 +02:00
dup.c Fixed false positive warnings from static analysis 2021-05-30 15:50:13 +02:00
elem.c Adds a new smartignore option to ignore specific SMART attributes 2025-09-15 16:57:22 +02:00
elem.h Adds a new smartignore option to ignore specific SMART attributes 2025-09-15 16:57:22 +02:00
fnmatch.c Modernize fnmatch implementation to avoid warnings with new compilers 2025-05-08 09:32:06 +02:00
fnmatch.h Add bandwidth limit feature --bw-limit 2025-03-29 19:29:55 +01:00
handle.c Add bandwidth limit feature --bw-limit 2025-03-29 19:29:55 +01:00
handle.h Add bandwidth limit feature --bw-limit 2025-03-29 19:29:55 +01:00
import.c Preliminary advise support 2016-05-15 14:50:59 +02:00
import.h Make the hash size configurable 2016-04-07 21:39:02 +02:00
io.c Ensure that writer buffers are flushed before synchronizing parity writes 2025-09-25 15:32:34 +02:00
io.h Ensure that writer buffers are flushed before synchronizing parity writes 2025-09-25 15:32:34 +02:00
list.c List the full nanosecond precision in verbose mode 2018-04-01 23:08:13 +02:00
main.c Add a new -s, --spin-down-on-error option 2025-09-26 09:50:10 +02:00
metro.c Add MetroHash128 for speed measurement 2020-04-24 21:02:45 +02:00
mingw.c Add thermal protection options: temp_limit and temp_sleep 2025-09-27 16:05:05 +02:00
mingw.h Add thermal protection options: temp_limit and temp_sleep 2025-09-27 16:05:05 +02:00
mkstream.c Add thermal protection options: temp_limit and temp_sleep 2025-09-27 16:05:05 +02:00
mktest.c Add thermal protection options: temp_limit and temp_sleep 2025-09-27 16:05:05 +02:00
murmur3.c Add fallthrough comments to avoid gcc 7 warnings 2018-01-03 12:08:29 +01:00
murmur3test.c Beautifies the code. 2014-09-27 00:32:39 +02:00
parity.c Add bandwidth limit feature --bw-limit 2025-03-29 19:29:55 +01:00
parity.h Ensure that writer buffers are flushed before synchronizing parity writes 2025-09-25 15:32:34 +02:00
pool.c Fix typos 2020-05-26 12:50:15 +02:00
portable.h Add thermal protection options: temp_limit and temp_sleep 2025-09-27 16:05:05 +02:00
rehash.c Make the hash size configurable 2016-04-07 21:39:02 +02:00
scan.c Remove unused variable 2024-06-05 10:14:50 +02:00
scrub.c Add thermal protection options: temp_limit and temp_sleep 2025-09-27 16:05:05 +02:00
search.c Apply filters also to empty dir 2016-05-15 14:27:35 +02:00
search.h Adjust verbs in comments 2015-10-07 22:07:20 +02:00
selftest.c Fix typos 2020-05-26 12:50:15 +02:00
snapraid.c Add a new -s, --spin-down-on-error option 2025-09-26 09:50:10 +02:00
snapraid.h Add a new -s, --spin-down-on-error option 2025-09-26 09:50:10 +02:00
speed.c Add MetroHash128 for speed measurement 2020-04-24 21:02:45 +02:00
spooky2.c Fix some potential alignment issues 2016-11-09 19:43:52 +01:00
spooky2test.c Beautifies the code. 2014-09-27 00:32:39 +02:00
state.c Add thermal protection options: temp_limit and temp_sleep 2025-09-27 16:05:05 +02:00
state.h Add thermal protection options: temp_limit and temp_sleep 2025-09-27 16:05:05 +02:00
status.c More compressed printing of bad blocks listing 2025-09-17 18:37:02 +02:00
stream.c Add overflow checking on the interger parsing 2021-05-24 19:43:53 +02:00
stream.h Fix build errors due new gcc 10 default for -fno-common 2020-05-18 15:28:55 +02:00
support.c Add thermal protection options: temp_limit and temp_sleep 2025-09-27 16:05:05 +02:00
support.h Add thermal protection options: temp_limit and temp_sleep 2025-09-27 16:05:05 +02:00
sync.c Add thermal protection options: temp_limit and temp_sleep 2025-09-27 16:05:05 +02:00
thermal.c Add thermal protection options: temp_limit and temp_sleep 2025-09-27 16:05:05 +02:00
thermal.h Add thermal protection options: temp_limit and temp_sleep 2025-09-27 16:05:05 +02:00
touch.c Fix typos in messages 2023-12-09 15:35:45 +01:00
unix.c Add thermal protection options: temp_limit and temp_sleep 2025-09-27 16:05:05 +02:00
unix.h Fix typos 2020-05-26 12:50:15 +02:00
util.c Fix integer overflow when computing the progress percentage 2024-01-03 20:20:39 +01:00
util.h Fix integer overflow when computing the progress percentage 2024-01-03 20:20:39 +01:00