Commit graph

403 commits

Author SHA1 Message Date
Andrea Mazzoleni
44d7a63397 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 / Analyze (push) Waiting to run
2025-12-11 16:14:43 +01:00
Andrea Mazzoleni
744d5b421e Update HISTORY 2025-10-29 14:51:38 +01:00
Andrea Mazzoleni
04711f7483 Documentation fixes 2025-10-26 18:02:58 +01:00
Andrea Mazzoleni
508db63976 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 / Analyze (push) Waiting to run
2025-10-21 22:29:43 +02:00
Andrea Mazzoleni
6c1421f5a0 Change thermal defaults
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
2025-10-17 10:07:51 +02:00
Andrea Mazzoleni
47c164154d Update manual 2025-10-16 17:42:29 +02:00
Andrea Mazzoleni
dade6d809a Update HISTORY 2025-10-06 17:02:10 +02:00
Andrea Mazzoleni
b03ad0dfa0 Correct the syntax and grammar of the manual
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-10-04 14:40:39 +02:00
Andrea Mazzoleni
649b3f1f0b Remove the SMART attribute 193 from the failure probability computation
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-09-29 16:25:49 +02:00
Andrea Mazzoleni
93804c20c3 Add a new -A, --stats option 2025-09-29 15:53:43 +02:00
Andrea Mazzoleni
906d215bf5 Add thermal protection options: temp_limit and temp_sleep
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
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
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
2025-09-26 10:04:33 +02:00
Andrea Mazzoleni
8cef686d26 Adds a new smartignore option to ignore specific SMART attributes
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
2025-09-15 16:57:22 +02:00
Allan Clark
5886923bb1 Add bandwidth limit feature --bw-limit 2025-03-29 19:29:55 +01:00
Andrea Mazzoleni
56c4076e23 Avoid a warning about function pointer conversion. No functional changes 2025-01-23 15:51:59 +01:00
Andrea Mazzoleni
5b62fb9c2b Update HISTORY 2024-01-10 14:22:14 +01: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 Gelmini
2dacb15516 Fix typos
Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
2022-07-21 14:48:48 +02:00
Andrea Mazzoleni
eb19c79039 Increase default disk cache to 16 MiB 2022-01-09 17:46:10 +01:00
Andrea Mazzoleni
b9721747c5 Reduce stack allocation in dir scanning
This allow to work in environments with low stack size, like MUSL that has only 128K.
2022-01-09 09:06:18 +01:00
Andrea Mazzoleni
f31395dffb Add support for parallel disk scanning 2021-11-28 16:20:00 +01:00
Andrea Mazzoleni
d231bb8ae8 Update HISTORY 2021-09-27 21:45:08 +02:00
Andrea Mazzoleni
6e717a8239 Updated HISTORY 2021-06-24 07:40:34 +02:00
Andrea Mazzoleni
7654ed45f1 In fix/check with the -e option process the whole files with bad blocks 2021-05-22 22:28:19 +02:00
Andrea Mazzoleni
922719c1d7 Update HISTORY 2020-05-26 12:54:17 +02:00
Andrea Gelmini
986e9b4131 Fix typos 2020-05-26 12:50:15 +02:00
Andrea Mazzoleni
666937f0b4 Remove the default -march=native 2020-05-26 12:48:56 +02:00
Andrea Mazzoleni
5bac3d64a6 Fix build errors due new gcc 10 default for -fno-common 2020-05-18 15:28:55 +02:00
Andrea Mazzoleni
2f9e0e6fdd Update HISTORY 2020-04-24 21:02:47 +02:00
Andrea Mazzoleni
d294c11b43 Update HISTORY 2019-11-16 08:42:46 +01:00
Andrea Mazzoleni
28f66faa1f Update HISTORY 2019-06-04 19:28:46 +02:00
Andrea Mazzoleni
91671274bc Don't fix the size of filtered out parities 2019-05-19 16:46:03 +02:00
Andrea Mazzoleni
a873eee208 Improve parity fixing speed 2019-05-19 10:04:53 +02:00
Andrea Mazzoleni
37b0064d60 Remove a build warning about major/minor defined in sysmacros.h
The new glibc 2.26 shows a warning if the code uses major/minor
from sys/types.h. Unfortunalte the autoconf macro used do not trigger
sysmacros.h inclusion because major/minor are already defined in sys/types.h.
2018-11-12 21:27:34 +01:00
Andrea Mazzoleni
17f44f519e Update HISTORY 2018-11-03 09:41:12 +01:00
Andrea Mazzoleni
f8d86abf4f Automatically fix any scrub date that is in the future 2018-09-25 22:19:39 +02:00
Andrea Mazzoleni
294a0ae90d Fix future scrub times 2018-09-25 22:02:14 +02:00
Andrea Mazzoleni
473819467f Improve crash resilience in Linux
Syncing the directory is a required step to ensure resilience.
Also create the temporary file with O_EXCL to ensure to don't
use a stale copy that may link to the original copy.
2018-06-04 22:19:10 +02:00
Andrea Mazzoleni
9d142e72a4 List the full nanosecond precision in verbose mode 2018-04-01 23:08:13 +02:00
Valentin Hilbig
3f838753ca Fix scanning of devices with multiple slaves 2018-01-04 20:08:27 +01:00
Andrea Mazzoleni
29d355131b Update HISTORY 2017-12-26 17:58:48 +01:00
Andrea Mazzoleni
82a55f4b8f Update HISTORY 2017-11-24 23:02:45 +01:00
Andrea Mazzoleni
68563650c9 Use fallocate() with an offset starting at the missing data
This works better with Btrfs.
2017-11-24 23:02:41 +01:00
Andrea Mazzoleni
701b0e67e1 Change the default advise mode to "discard"
This avoids to swap out other process memory.
2017-11-24 22:17:28 +01:00
Andrea Mazzoleni
b9740e06f4 Print filenames in the stats screen 2017-11-24 22:17:24 +01:00
Andrea Mazzoleni
f778fb691f Apply new hardlink behaviour also to NTFS in nix platforms
This is a specific NTFS behaviour, not limited to Windows.
2017-10-29 18:43:53 +01:00
Andrea Mazzoleni
2a8f963707 Fix recognition of Windows hardlinks
In Windows hardlinks may have different time and size attributes
reported by FindFirst. This is persistent until the link is opened.
2017-10-27 22:59:14 +02:00
Andrea Mazzoleni
33a9bde7bb Improve the pool command
The links are written only if they need to be updated.
2017-09-24 19:00:58 +02:00
Andrea Mazzoleni
80f4746c68 Update HISTORY 2017-05-07 15:30:05 +02:00
Andrea Mazzoleni
17bec43be2 Set time of pool links
This avoid index refresh from various applications.
2017-05-01 16:07:04 +02:00