From 7805ee35e7d04e4f5ccea7305dda530321274d39 Mon Sep 17 00:00:00 2001
From: Andrea Mazzoleni The daemon acts as a management layer for the SnapRAID CLI. Therefore,
+SnapRAID must be installed and fully configured before starting the
+service. All interactions with the underlying parity array are handled
+through the standard SnapRAID binary.
+ During the installation process, a default configuration file is
+provisioned to enable the REST API and the Web UI. For users installing
+via binary packages, this file is typically placed at /etc/snapraidd.conf.
+If you are installing from source, it is recommended to run
+./configure --sysconfdir=/etc during the build process to ensure the
+configuration is placed in the standard /etc directory.
+ Using this default configuration file, the UI is accessible via a web
+browser at the following address:
+ The default port, 7627, was chosen as a mnemonic, representing the
+word "SNAP" as typed on a standard telephone keypad.
+ At startup, the daemon parses historical logs from /var/log/snapraid
+to reconstruct the current state of the array. These logs are
+generated and saved by the daemon itself during the execution
+of SnapRAID CLI commands. Consequently, on the very first run, this
+directory will be empty.
+ In this initial scenario, the daemon automatically triggers a SnapRAID
+read command. This allows SnapRAID to process its internal content
+files and provide the daemon with the necessary metadata to establish
+the array's baseline state.
+ Once the service is running, you should review /etc/snapraidd.conf
+or use the Settings panel in the UI to tailor the behavior to your
+environment.
+ Typical post-installation steps include:
+ To make manual changes to the /etc/snapraidd.conf file effective,
+you must either restart the daemon or send a SIGHUP signal to the
+running process. Unlike manual file edits, changes made through the UI
+are applied to the running process and saved to the configuration file
+pressing the Save button.
+ Example:
+ By default, the daemon binds to the loopback interface, meaning the
+UI is accessible only from the local machine and not from other devices
+on the network.
+ The array's aggregate health is determined by evaluating historical log
+data alongside real-time hardware telemetry.
+ If the array transitions into any problematic state, the daemon
+immediately issues an alert through the configured notification system.
+ In the REST API, this state is reported by the health field.
+Whenever the health is not PASSED, a supplementary health_reason field
+is provided to give a discursive explanation of the specific condition or
+failure detected.
+ The Web UI also reflects these states by displaying a prominent top
+banner across all pages if the health is in a problematic state. This
+ensures that critical issues are visible regardless of the specific
+dashboard view being accessed.
+ The possible health states are:
+ Individual tasks also maintain a health state reflecting only the
+problems identified during that specific operation.
+For example, an array in a CORRUPT state may still produce a PASSED
+result for a probe task if that operation encountered no specific
+errors.
+ The SnapRAID Daemon is configured via a plain-text .conf file,
@@ -214,52 +349,49 @@ path chosen at build time (typically via the --prefix argument to
the configure script).
This file governs the behavior of the automation engine, network
accessibility, safety interlocks, and hardware monitoring parameters.
- The configuration system is designed with a "hybrid" management
-philosophy to balance convenience with system security:
- To prevent race conditions, users should avoid editing the
-configuration file manually while simultaneously issuing configuration
-updates via the REST API. If a manual edit is performed while the
-daemon is active, ensure a reload is triggered immediately to
-synchronize the daemon's internal memory state with the disk.
- For a comprehensive view of how these settings are applied in a
-real-world environment, refer to the snapraidd.conf.example file
-typically located in the documentation directory of the installation.
+ The configuration system is designed with a "triple-tier" management
+philosophy to balance operational convenience with rigorous system
+security:
+ Tier 1 Core Network (Immutable) -
+ This tier includes critical security and networking parameters,
+such as the master API toggle, port bindings, and access
+control lists. These settings are completely inaccessible via
+the REST API. To modify them, you must perform a manual file
+edit followed by a SIGHUP signal to reload the configuration into memory.
+ Tier 2 Protected Operations (Secured) - These parameters involve
+ security-sensitive automation, such as system user assignments,
+external script paths, and logging policies. By default, these
+options are read-only via the REST API. They can only be
+modified via API PATCH requests if the net_config_full_access
+flag is manually enabled in this file.
+ Tier 3 Dynamic Logic (Live) - This tier consists of standard
+ operational settings like maintenance schedules, scrub intensities,
+and disk monitoring intervals. These parameters are fully
+accessible and can be modified in real-time via the API.
+Changes made through the REST interface are instantly applied
+to the running process and persisted back to this file while
+preserving all existing manual comments.
+ To make changes to the /etc/snapraidd.conf file effective, you must
+either restart the daemon or send a SIGHUP signal to the running process.
+This is required for any manual edit to ensure the daemon's memory state
+stays in sync with the file and to prevent the API from accidentally
+overwriting your changes.
+ Example:
+ For a comprehensive view of how these settings are applied in a
+real-world environment, refer to the comments in the snapraidd.conf
+file installed.
These settings control the network interface. These options are not
visible from the REST API. They require a manual edit of the
configuration file and a configuration reload (SIGHUP) to apply.
Acts as the master toggle for the network interface. When set to 1,
@@ -268,7 +400,7 @@ If set to 0 or left blank, the daemon operates in a secure, local-only
mode, and no network ports are opened.
Defines the specific IP address and port(s) to which the daemon binds.
@@ -278,15 +410,15 @@ The format follows [IP_ADDRESS:]PORT[s].
If left unset, the daemon defaults to 127.0.0.1:8080. Modification
+ If left unset, the daemon defaults to 127.0.0.1:7627. Modification
requires a configuration reload and is restricted from API access.
-
+Getting Started
+
+
+
+
+sudo killall -HUP snapraidd
+
+
+Health
+
+
Configuration
+sudo killall -HUP snapraidd
+
+
+
Network & REST API
+
net_enabled
+
net_port
To export the service to a VPN like Tailscale or a local network, you +must bind to all interfaces (0.0.0.0) by specifying only the port number. +
Examples: +
+net_port=127.0.0.1:7627 - IPv4 localhost only (Recommended). +net_port=7627 - All IPv4 interfaces (Required for Tailscale/LAN). +net_port=[::1]:7627 - IPv6 loopback only. +net_port=127.0.0.1:7627,8080 - Listen on multiple ports on localhost. ++
Restricts API and dashboard access to specific client IP addresses or @@ -313,9 +454,17 @@ subnets using a comma-separated Access Control List (ACL). stance. The rules are processed sequentially, and the last matching rule determines the outcome. If unset, it defaults to +127.0.0.1. -
To allow access via Tailscale or similar services, ensure you add the +relevant network prefix (e.g., +100.0.0.0/8). +
Examples: +
+net_acl=+127.0.0.1,+::1 - Allow IPv4 and IPv6 loopback. +net_acl=+100.0.0.0/8,+127.0.0.1 - Allow Tailscale and localhost. +net_acl=+192.168.1.0/24 - Allow local subnet only. ++
When enabled (1), the daemon injects several browser-level security @@ -329,7 +478,7 @@ proxy (like Nginx or Traefik) that is already configured to handle these security headers.
Configures Cross-Origin Resource Sharing (CORS) to determine which web @@ -360,7 +509,7 @@ Restricts access to a specific origin (e.g., http://192.168.1.50:3000).
A security flag that determines whether sensitive configuration parameters @@ -437,7 +586,7 @@ The severity threshold for sending notifications.
Specifies the source of the web dashboard assets. The daemon supports @@ -481,7 +630,7 @@ interface.
These settings control the automation and maintenance tasks run by @@ -489,18 +638,18 @@ the SnapRAID daemon.
For security reasons, some of them can be set via the REST API only if the net_config_full_access option is enabled.
Defines the timing for the automated maintenance sequence, which consists of a sync, followed by a scrub, and concluding with a report. If this option is unset, automated maintenance is disabled. -
The format must be either "daily HH:MM" or "weekly [Day] HH:MM". +
The format must be either "HH:MM" or "[Day] HH:MM". Hours are specified in a 24-hour format (00-23), and days are represented by their short names (Mon, Tue, Wed, Thu, Fri, Sat, Sun).
Sets the maximum number of deleted or missing files allowed before a @@ -512,7 +661,7 @@ requests to allow for manual overrides. Set to 0 to disable this check.
Sets the maximum number of modified or updated files allowed before a @@ -523,7 +672,7 @@ bypassed for manual standalone sync requests. Set to 0 to disable this check.
If set to 1, the sync command is executed with the --prehash option. @@ -532,7 +681,7 @@ helping to prevent silent errors caused by faulty memory. If missing or set to 0, no pre-hashing is performed.
If set to 1, the daemon allows a sync to proceed even if it detects @@ -541,7 +690,7 @@ By default (missing or 0), the daemon will halt the sync to protect against potential data corruption or accidental file clearing.
Determines the portion of the array verified after a successful sync. @@ -550,7 +699,7 @@ You may use decimal points to specify fractions of a percent If missing or set to 0, the scrub phase is skipped entirely.
Specifies that only blocks older than the defined number of days @@ -560,13 +709,13 @@ If missing or set to 0, no age-based filtering is applied.
The following settings manage how the daemon interacts with physical hardware to monitor disk health and optimize energy consumption
Controls the frequency at which the daemon checks disk SMART attributes. @@ -575,7 +724,7 @@ if the disks are already spinning. If set to 0 or left blank, SMART monitoring is disabled.
Manages power consumption by automatically spinning down disks after @@ -590,7 +739,7 @@ not force a spindown if the disk is currently in use by the system. relying instead on the OS or hardware controllers.
Defines absolute paths to custom scripts to be executed immediately before @@ -612,7 +761,7 @@ The script must contain a valid shebang (e.g., #!/bin/sh).
Specifies the user account used to execute the pre-run and post-run @@ -621,13 +770,13 @@ same privileges as the daemon process.
These settings control the logging and notification operations performed by the SnapRAID daemon.
The log_directory defines where the output of individual SnapRAID @@ -642,7 +791,7 @@ directory is provided, the daemon will lose its "memory" of previous task results every time it is restarted.
To prevent your storage from filling up, log_retention_days sets the @@ -650,7 +799,7 @@ age at which old command logs are deleted. Logs are kept indefinitely if this is set to 0 or left unset.
When set to 1, daemon activity is sent to the operating system system @@ -659,7 +808,7 @@ stopping are always captured, task-related messages are filtered by notify_syslog_level.
Sets the minimum severity for syslog task entries. @@ -667,7 +816,7 @@ Possible values are info, warning, error, and critical The default is error.
Defines a command to run ONLY if the maintenance task was successful @@ -677,13 +826,14 @@ or Healthchecks.io. If this ping stops, it indicates the server is down or the task is failing.
Specifies a command triggered after every high-level task (maintenance, -heal, or undelete). The command is only executed if the task's result -matches the notify_result_level. The daemon pipes a structured, -plain-text task report directly into the command's stdin. +
Specifies a command triggered after every report task generated by +high-level tasks or by a SMART telemetry change. The command is only +executed if the task's result matches the notify_result_level. +The daemon pipes a structured, plain-text task report directly into +the command's stdin.
The daemon automatically chooses a wide (80-col) or narrow (32-col) report based on the command and arguments used (e.g., presence of "mail" or "smtps"). Users can manually override this by adding --wide or @@ -717,7 +867,7 @@ ntfy priority (urgent, high, default, low, min).
Controls the filter for notify_result. The notification is sent only @@ -749,7 +899,7 @@ Valid values are info (always send), warning, error, and error.
If set to 1, the daemon logs a detailed list of file changes discovered @@ -758,13 +908,13 @@ generated.
The following examples demonstrate common notification and heartbeat configurations
To monitor that automated maintenance is running successfully, use a service
@@ -777,7 +927,7 @@ notify_heartbeat = curl -f --max-time 30 --retry 3
- This uses curl to send the report as a POST request to a push notification service.
@@ -788,7 +938,7 @@ notify_result = curl --narrow -f --max-time 30 --retry 3 -H "Title: %s" -H "Prio
+
Push Notifications (ntfy.sh)
A traditional approach using the standard Linux mail utility. This is @@ -799,7 +949,7 @@ notify_result = mail -s "%s" your_user@localhost
This leverages curl's built-in SMTP engine for direct delivery to an @@ -813,7 +963,7 @@ notify_result = curl --netrc --url smtps://smtp.gmail.com:465 --ssl-reqd --mail-
The SnapRAID Daemon provides a comprehensive RESTful JSON interface @@ -823,7 +973,7 @@ specific error codes, please refer to the snapraidd.yaml OpenAPI specification file typically located in the documentation directory of the installation.
The API prioritizes orchestrated workflows over raw command execution. @@ -833,7 +983,7 @@ recovery of data. They typically end with a report command that generates a notification with a full report of the result of the operation.
Triggers the complete automated maintenance sequence. It orchestrates @@ -846,13 +996,13 @@ The percentage of the array checked and the age filter are determined by the 'scrub_percentage' and 'scrub_older_than' settings.
Example:
-curl -X POST http://localhost:8080/snapraid/v1/maintenance +curl -X POST http://localhost:7627/snapraid/v1/maintenance
It is implemented with the sequence of commands: up, diff, sync, scrub, and report.
Executes a specialized silent error recovery workflow. The daemon @@ -862,13 +1012,13 @@ blocks to ensure the recovery was successful, and concludes by issuing a report of the result.
Example:
-curl -X POST http://localhost:8080/snapraid/v1/heal +curl -X POST http://localhost:7627/snapraid/v1/heal
It is implemented with the sequence of commands: up, fix -e, scrub -p bad, and report.
Invokes the SnapRAID restoration engine to recover files that have been @@ -877,7 +1027,7 @@ This is used to roll back accidental deletions to the state of the last successful synchronization.
Example:
-curl -s -X POST http://localhost:8080/snapraid/v1/undelete \ +curl -s -X POST http://localhost:7627/snapraid/v1/undelete \ -H "Content-Type: application/json" \ -d '{ "filters": [ "*.txt" ] }'@@ -885,7 +1035,7 @@ curl -s -X POST http://loca and report.
Probes the disks to gather their latest activity state and executes a @@ -895,19 +1045,19 @@ down_idle command to disks that have exceeded the generated.
Example:
-curl -X POST http://localhost:8080/snapraid/v1/suspend_idle +curl -X POST http://localhost:7627/snapraid/v1/suspend_idle
It is implemented with the sequence of commands: probe, down_idle.
These endpoints provide high-level visibility into the global state of the storage stack and the health of the underlying physical hardware.
Provides a high-level telemetry summary of the entire parity array. @@ -916,11 +1066,11 @@ aggregate space utilization, the current state of parity protection, and the timestamp of the last successful maintenance.
Example:
-curl -s http://localhost:8080/snapraid/v1/array | jq +curl -s http://localhost:7627/snapraid/v1/array | jq
Returns a comprehensive inventory of every physical disk associated @@ -929,18 +1079,18 @@ metrics including SMART health status, temperature, and the current power state (Active/Spin-up vs. Standby/Spin-down).
Example:
-curl -s http://localhost:8080/snapraid/v1/disks | jq +curl -s http://localhost:7627/snapraid/v1/disks | jq
Provides a programmatic interface to retrieve and modify the operational parameters of the daemon in real-time.
Retrieves and updates the current runtime configuration parameters of @@ -950,14 +1100,14 @@ Note that certain networking and security settings are read-only and require a manual edit and SIGHUP.
Example:
-curl -X GET http://localhost:8080/snapraid/v1/config | jq -curl -X PATCH http://localhost:8080/snapraid/v1/config \ +curl -X GET http://localhost:7627/snapraid/v1/config | jq +curl -X PATCH http://localhost:7627/snapraid/v1/config \ -d '{ "probe_interval_minutes": 10 }'
All operations that modify the array state are asynchronous; they @@ -966,7 +1116,7 @@ execution.
Because tasks run in the background, these endpoints are used to monitor progress and manage the execution lifecycle.
Provides real-time telemetry for the currently executing task, @@ -975,11 +1125,11 @@ and a live stream of the process log output. If no task is in execution, it returns the last completed task.
Example:
-curl -s http://localhost:8080/snapraid/v1/activity | jq +curl -s http://localhost:7627/snapraid/v1/activity | jq
Lists all tasks waiting, the task currently active, and the task @@ -987,30 +1137,30 @@ execution history. The response from this entry point can be very long, as the history may span up to a month.
Example:
-curl -s http://localhost:8080/snapraid/v1/tasks | jq +curl -s http://localhost:7627/snapraid/v1/tasks | jq
Terminates the currently running task (such as sync or scrub) by sending a SIGTERM signal to the background process.
Example:
-curl -X POST http://localhost:8080/snapraid/v1/stop +curl -X POST http://localhost:7627/snapraid/v1/stop
To optimize performance and support lightweight monitoring (such as desktop status bars), the daemon implements a state synchronization mechanism via the /v1/state endpoint.
The response provides a high-level summary of the daemon's current @@ -1027,12 +1177,12 @@ because they are reset if the daemon restarts. You should compare them only for equality.
Example:
-curl -X GET http://localhost:8080/snapraid/v1/state | jq +curl -X GET http://localhost:7627/snapraid/v1/state | jq
The schedule entry point allows batching multiple SnapRAID commands @@ -1051,13 +1201,13 @@ preserving any independent tasks previously queued in the system. finalizer. It will execute regardless of previous failures to ensure the generation of a report that reflects the final state of the system.
Queues a sequence of standard SnapRAID operations.
Example:
-curl -X POST http://localhost:8080/snapraid/v1/schedule \ +curl -X POST http://localhost:7627/snapraid/v1/schedule \ -d '{"tasks": [{"command": "diff"}, {"command": "report"}]}'
Supported Commands: @@ -1161,7 +1311,7 @@ have exceeded the 'spindown_idle_minutes' threshold.
This section defines how the daemon responds to standard Unix signals, @@ -1196,7 +1346,7 @@ performed.
The following list specifies the default filesystem paths used by the diff --git a/beta/manual-de.html b/beta/manual-de.html index d8a942f7..6fb4615e 100644 --- a/beta/manual-de.html +++ b/beta/manual-de.html @@ -127,7 +127,7 @@ snapraid [-c, --conf CONFIG] [-A, --stats] [-v, --verbose] [-q, --quiet] status|smart|probe|up|down|diff|sync|scrub|fix|check - |list|dup|pool|devices|touch|rehash + |list|dup|pool|devices|touch|rehash|locate
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT] @@ -359,7 +359,7 @@ markiert. PoolingHinweis: Die unten beschriebene Pooling-Funktion wurde durch das -Tool mergefs ersetzt, das jetzt die empfohlene Option für Linux-Benutzer +Tool mergerfs ersetzt, das jetzt die empfohlene Option für Linux-Benutzer in der SnapRAID-Community ist. Mergefs bietet eine flexiblere und effizientere Möglichkeit, mehrere Laufwerke zu einem einzigen, vereinheitlichten Einhängepunkt (Mount Point) zusammenzufassen, @@ -999,6 +999,20 @@ findet schrittweise während sync und scrub statt. Funktionalität bei, mit der einzigen Ausnahme, dass dup keine doppelten Dateien mit einem anderen Hash erkennen kann.
Lokalisiert Dateien, die auf den Paritätsfestplatten gespeichert sind. Für jede +übereinstimmende Datei wird deren Position innerhalb der Paritätsdatei und die Anzahl +der belegten Fragmente ausgegeben. +
Sie können die Option -t, --tail verwenden, um den Vorgang auf Dateien zu beschränken, +die den angegebenen Endbereich (Tail) der Parität belegen. +
Wenn Sie diese Dateien neu zuweisen möchten, können Sie die Option +-W, --force-realloc-tail verwenden. +Beachten Sie, dass solche Dateien während des Neuzuweisungsprozesses +nicht durch die Parität geschützt sind. +
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT] @@ -348,7 +348,7 @@ se marcan como defectuosos. PoolingNota: La función de pooling descrita a continuación ha sido -sustituida por la herramienta mergefs, que ahora es la opción +sustituida por la herramienta mergerfs, que ahora es la opción recomendada para los usuarios de Linux en la comunidad SnapRAID. Mergefs proporciona una forma más flexible y eficiente de agrupar múltiples unidades en un único punto de montaje unificado, @@ -945,6 +945,20 @@ tiene lugar progresivamente durante sync y scrub. completa, con la única excepción de que dup no puede detectar archivos duplicados utilizando un hash diferente.
Localiza archivos almacenados en los discos de paridad. Para cada archivo coincidente, +imprime su ubicación dentro del archivo de paridad y el número de fragmentos +que ocupa. +
Puede usar la opción -t, --tail para restringir la operación a los archivos +que ocupan la porción final especificada de la paridad. +
Si desea reasignar estos archivos, puede usar la opción +-W, --force-realloc-tail. +Tenga en cuenta que dichos archivos no estarán protegidos por la paridad durante +el proceso de reasignación. +
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENU] @@ -354,7 +354,7 @@ ne sont pas marqués comme mauvais. Mise en commun (Pooling)Note : La fonctionnalité de mise en commun décrite ci-dessous a été -remplacée par l'outil mergefs, qui est désormais l'option recommandée +remplacée par l'outil mergerfs, qui est désormais l'option recommandée pour les utilisateurs Linux de la communauté SnapRAID. Mergefs offre un moyen plus flexible et efficace de regrouper plusieurs disques dans un seul point de montage unifié, permettant un accès transparent @@ -969,6 +969,20 @@ progressivement pendant sync et scrub. fonctionnalités, à la seule exception que dup ne peut pas détecter les fichiers en double utilisant un hachage différent.
Localise les fichiers stockés sur les disques de parité. Pour chaque fichier +correspondant, il affiche son emplacement dans le fichier de parité et le nombre +de fragments qu'il occupe. +
Vous pouvez utiliser l'option -t, --tail pour restreindre l'opération aux fichiers +occupant la partie terminale spécifiée de la parité. +
Si vous souhaitez réallouer ces fichiers, vous pouvez alors utiliser l'option +-W, --force-realloc-tail. +Sachez que ces fichiers ne seront pas protégés par la parité pendant le processus +de réallocation. +
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT] @@ -349,7 +349,7 @@ come bad. PoolingNota: La funzionalità di pooling descritta di seguito è stata -sostituita dallo strumento mergefs, che è ora l'opzione consigliata +sostituita dallo strumento mergerfs, che è ora l'opzione consigliata per gli utenti Linux nella comunità SnapRAID. Mergefs fornisce un modo più flessibile ed efficiente per raggruppare più unità in un singolo punto di montaggio unificato, consentendo un accesso trasparente ai @@ -966,6 +966,20 @@ progressivamente durante sync e scrub. con l'unica eccezione che dup non è in grado di rilevare file duplicati utilizzando un hash diverso.
Individua i file memorizzati nei dischi di parità. Per ogni file corrispondente, +stampa la sua posizione all'interno del file di parità e il numero di frammenti +che occupa. +
È possibile utilizzare l'opzione -t, --tail per limitare l'operazione ai file +che occupano la porzione di coda specificata della parità. +Se si desidera riallocare questi file, è possibile utilizzare l'opzione +-W, --force-realloc-tail. +
Si tenga presente che tali file non saranno protetti dalla parità durante +il processo di riallocazione. +
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT] @@ -326,8 +326,8 @@ snapraid -p bad scrubPooling
-注: ここで説明するプーリング機能は、**mergefs** ツールに取って代わられました。 -mergefs は、SnapRAIDコミュニティのLinuxユーザーに推奨されるオプションです。 +
注: ここで説明するプーリング機能は、**mergerfs** ツールに取って代わられました。 +mergerfs は、SnapRAIDコミュニティのLinuxユーザーに推奨されるオプションです。 Mergefs は、複数のドライブを単一の統合されたマウントポイントにプールするための、 より柔軟で効率的な方法を提供し、シンボリックリンクに頼ることなくアレイ全体の ファイルにシームレスにアクセスできます。これは、パリティ保護のためにSnapRAIDと @@ -920,6 +920,26 @@ rehash
リハッシュ中もSnapRAIDは完全な機能を維持しますが、唯一の例外として、 dup は異なるハッシュを使用している重複ファイルを検出できません。
パリティディスクに保存されているファイルを検索します。一致する各ファイルについて、 +パリティファイル内での位置と、それが占有するフラグメントの数を出力します。 +
ファイルに操作を制限できます。 +
これらのファイルを再配置したい場合は、-W, --force-realloc-tail オプションを +使用できます。 +再配置プロセス中、これらのファイルはパリティによって保護されないことに +注意してください。 +
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT] @@ -336,7 +336,7 @@ snapraid -p bad scrubPooling
-참고: 아래에 설명된 풀링(pooling) 기능은 **mergefs** 도구로 대체되었으며, +
참고: 아래에 설명된 풀링(pooling) 기능은 **mergerfs** 도구로 대체되었으며, 이는 SnapRAID 커뮤니티에서 Linux 사용자를 위한 권장 옵션입니다. Mergefs는 여러 드라이브를 단일 통합 마운트 지점으로 풀링하는 더 유연하고 효율적인 방법을 제공하여, 심볼릭 링크에 의존하지 않고 어레이 전체의 @@ -938,6 +938,27 @@ rehash
재해시 중에도 SnapRAID는 전체 기능을 유지하며, 유일한 예외는 dup가 다른 해시를 사용하는 중복 파일을 감지할 수 없다는 것입니다.
패리티 디스크에 저장된 파일을 찾습니다. 일치하는 각 파일에 대해 +패리티 파일 내의 위치와 점유하고 있는 조각(fragment)의 수를 +출력합니다. +
파일로 작업을 제한할 수 있습니다. +
이 파일들을 재할당하려면 -W, --force-realloc-tail 옵션을 +사용할 수 있습니다. +재할당 과정 동안 해당 파일들은 패리티에 의해 보호되지 않으므로 +주의하십시오. +
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT] @@ -343,7 +343,7 @@ w wyniku scrub, ale powiązane bloki nie są oznaczane jako złe. PoolingUwaga: Funkcja łączenia w pulę opisana poniżej została zastąpiona przez -narzędzie mergefs, które jest obecnie zalecaną opcją dla użytkowników Linuksa +narzędzie mergerfs, które jest obecnie zalecaną opcją dla użytkowników Linuksa w społeczności SnapRAID. Mergefs zapewnia bardziej elastyczny i wydajny sposób łączenia wielu dysków w jeden ujednolicony punkt montowania, umożliwiając bezproblemowy dostęp do plików w całej macierzy bez polegania @@ -912,6 +912,20 @@ stopniowo podczas sync i scrub. z jedynym wyjątkiem, że dup nie może wykryć zduplikowanych plików używających innego hasza.
Lokalizuje pliki zapisane na dyskach parzystości. Dla każdego dopasowanego pliku +wypisuje jego lokalizację w pliku parzystości oraz liczbę zajmowanych przez +niego fragmentów. +
Możesz użyć opcji -t, --tail, aby ograniczyć operację do plików zajmujących +określoną końcową część parzystości. +
Jeśli chcesz dokonać realokacji tych plików, możesz użyć opcji +-W, --force-realloc-tail. +Pamiętaj, że takie pliki nie będą chronione przez parzystość podczas procesu +realokacji. +
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT] @@ -344,7 +344,7 @@ mas os blocos relacionados não são marcados como ruins. PoolingNota: O recurso de pooling descrito abaixo foi substituído pela ferramenta -mergefs, que agora é a opção recomendada para usuários Linux na comunidade +mergerfs, que agora é a opção recomendada para usuários Linux na comunidade SnapRAID. Mergefs oferece uma maneira mais flexível e eficiente de agrupar várias unidades em um único ponto de montagem unificado, permitindo acesso perfeito a arquivos em todo o seu array sem depender de links simbólicos. @@ -932,6 +932,20 @@ progressivamente durante sync e scrub. com a única exceção de que dup não pode detectar arquivos duplicados usando um hash diferente.
Localiza arquivos armazenados nos discos de paridade. Para cada arquivo +correspondente, imprime sua localização dentro do arquivo de paridade e o +número de fragmentos que ocupa. +
Você pode usar a opção -t, --tail para restringir a operação aos arquivos +que ocupam a parte final especificada da paridade. +
Se desejar realocar esses arquivos, você poderá usar a opção +-W, --force-realloc-tail. +Esteja ciente de que tais arquivos não estarão protegidos pela paridade durante +o processo de realocação. +
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT] @@ -341,7 +341,7 @@ dar blocurile aferente nu sunt marcate ca defecte. Pooling (Agregare)Notă: Funcționalitatea de pooling descrisă mai jos a fost înlocuită de instrumentul -mergefs, care este acum opțiunea recomandată pentru utilizatorii Linux în +mergerfs, care este acum opțiunea recomandată pentru utilizatorii Linux în comunitatea SnapRAID. Mergefs oferă o modalitate mai flexibilă și eficientă de a agrega mai multe discuri într-un singur punct de montare unificat, permițând accesul neîntrerupt la fișiere pe toată matricea dvs. fără a se baza @@ -908,6 +908,20 @@ progresiv în timpul sync și scrub. cu singura excepție că dup nu poate detecta fișierele duplicate folosind un hash diferit.
Localizează fișierele stocate pe discurile de paritate. Pentru fiecare fișier +potrivit, afișează locația acestuia în fișierul de paritate și numărul de +fragmente pe care le ocupă. +
Puteți utiliza opțiunea -t, --tail pentru a restricționa operațiunea la fișierele +care ocupă porțiunea finală specificată a parității. +Dacă doriți să realocați aceste fișiere, puteți utiliza apoi opțiunea +-W, --force-realloc-tail. +
Rețineți că astfel de fișiere nu vor fi protejate de paritate în timpul procesului +de realocare. +
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT] @@ -340,7 +340,7 @@ snapraid -p bad scrub PoolingПримечание: Функция объединения (pooling), описанная ниже, была заменена инструментом -mergefs, который теперь является рекомендуемым вариантом для пользователей Linux +mergerfs, который теперь является рекомендуемым вариантом для пользователей Linux в сообществе SnapRAID. Mergefs предоставляет более гибкий и эффективный способ объединения нескольких дисков в единую точку монтирования, обеспечивая беспрепятственный доступ к файлам по всему массиву без @@ -913,6 +913,20 @@ MurmurHash3 на более быстрый SpookyHash. за единственным исключением, что dup не может обнаружить дублирующиеся файлы, использующие другой хэш.
Находит файлы, хранящиеся на дисках четности. Для каждого найденного файла +выводится его расположение внутри файла четности и количество занимаемых +им фрагментов. +
Вы можете использовать параметр -t, --tail, чтобы ограничить операцию файлами, +занимающими указанную хвостовую часть четности. +
Если вы хотите перераспределить эти файлы, вы можете использовать параметр +-W, --force-realloc-tail. +Имейте в виду, что такие файлы не будут защищены четностью во время процесса +перераспределения. +
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT] @@ -342,7 +342,7 @@ utdata, men de relaterade blocken markeras inte som dåliga. PoolningObs: Poolningsfunktionen som beskrivs nedan har ersatts av verktyget -mergefs, som nu är det rekommenderade alternativet för Linux-användare i +mergerfs, som nu är det rekommenderade alternativet för Linux-användare i SnapRAID-communityt. Mergefs ger ett mer flexibelt och effektivt sätt att poola flera enheter till en enda enhetlig monteringspunkt, vilket möjliggör sömlös åtkomst till filer över din array utan att förlita sig @@ -915,6 +915,19 @@ progressivt under sync och scrub. med det enda undantaget att dup inte kan upptäcka dubbletter med hjälp av en annan hash.
Lokaliserar filer som lagras på paritetsdiskarna. För varje matchande fil +skrivs dess plats i paritetsfilen och antalet fragment den upptar ut. +
Du kan använda alternativet -t, --tail för att begränsa åtgärden till filer som +upptar den angivna slutdelen (tail) av pariteten. +
Om du vill omallokera dessa filer kan du använda alternativet +-W, --force-realloc-tail. +Var medveten om att sådana filer inte skyddas av paritet under +omallokeringsprocessen. +
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT] @@ -360,7 +360,7 @@ snapraid -p bad scrub Об'єднання (Pooling)Примітка: Функція об'єднання, описана нижче, була замінена -інструментом mergefs, який тепер є рекомендованою опцією для +інструментом mergerfs, який тепер є рекомендованою опцією для користувачів Linux у спільноті SnapRAID. Mergefs забезпечує більш гнучкий та ефективний спосіб об'єднання кількох дисків в єдину уніфіковану точку монтування, дозволяючи безперешкодний @@ -998,6 +998,20 @@ rehash функціональність, за єдиним винятком, що dup не може виявити дублікати файлів, використовуючи інший хеш.
Знаходить файли, що зберігаються на дисках парності. Для кожного знайденого +файлу виводиться його розташування всередині файлу парності та кількість +фрагментів, які він займає. +
Ви можете використовувати параметр -t, --tail, щоб обмежити операцію файлами, +що займають зазначену кінцеву частину (хвіст) парності. +
Якщо ви хочете перерозподілити ці файли, ви можете скористатися параметром +-W, --force-realloc-tail. +Майте на увазі, що такі файли не будуть захищені парністю під час процесу +перерозподілу. +
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT] @@ -312,8 +312,8 @@ snapraid -p bad scrubPooling
-注意:下面描述的 pooling 功能已被 mergefs 工具取代, -mergefs 现在是 SnapRAID 社区推荐的 Linux 用户选项。 +
注意:下面描述的 pooling 功能已被 mergerfs 工具取代, +mergerfs 现在是 SnapRAID 社区推荐的 Linux 用户选项。 Mergefs 提供了一种更灵活、更高效的方式,将多个驱动器汇集到一个 统一的挂载点中,允许跨阵列无缝访问文件,而无需依赖符号链接。 它与 SnapRAID 很好地集成以提供奇偶校验保护,常用于 @@ -840,6 +840,17 @@ rehash
在重新散列期间,SnapRAID 保持完全功能, 唯一的例外是 dup 无法使用不同的散列检测重复的文件。
查找存储在校验盘中的文件。对于每个匹配的文件,它会打印其在校验文件中的位置 +以及占用的分片数量。 +
您可以使用 -t, --tail 选项将操作限制在占用校验盘指定尾部部分的 +文件上。 +
如果您想重新分配这些文件,可以使用 -W, --force-realloc-tail 选项。 +请注意,在重新分配过程中,此类文件将不受校验保护。 +
Note: The pooling feature described below has been superseded by the -mergefs tool, which is now the recommended option for Linux users in +mergerfs tool, which is now the recommended option for Linux users in the SnapRAID community. Mergefs provides a more flexible and efficient way to pool multiple drives into a single unified mount point, allowing seamless access to files across your array without relying @@ -924,7 +924,10 @@ locate prints its location within the parity file and the number of fragments it occupies.
You can use the -t, --tail option to restrict the operation to files -using only the specified tail portion of the parity. +occupying the specified tail portion of the parity. +
If you want to reallocate these files, you can then use the +-W, --force-realloc-tail option. Be aware that such files will +not be protected by parity during the reallocation process.