diff --git a/beta/manual-daemon.html b/beta/manual-daemon.html index f469848b..494248e3 100644 --- a/beta/manual-daemon.html +++ b/beta/manual-daemon.html @@ -205,6 +205,141 @@ Prints the program version.

+Getting Started +

+

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: +

http://127.0.0.1:7627 +
+

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: +

+sudo killall -HUP snapraidd
+
+

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. +

+
+

+Health +

+

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: +

+
+
+PENDING +
+The health has not yet been assessed. The daemon requires a +successful hardware probe where all disks are spinning at +least once to read SMART attributes. +Issuing an up command is sufficient to satisfy this. +
+
+
+
+PASSED +
+The array is fully healthy. All disks report positive SMART +status and the last scrub found no data corruption. +
+
+
+
+CORRUPT +
+Silent errors (hash or parity mismatches) were detected, though +no physical hardware issues were identified. +In this state, scheduled maintenance remains active. +
+
+
+
+PREFAIL +
+The SMART telemetry reports a pre-failing condition (e.g., +reallocated sectors), or a task encountered input/output errors +while accessing files. +File input/output errors are temporary and they are cleared +automatically after a successful sync. +Automated maintenance is suspended in this state, and manual +intervention is required. +
+
+
+
+FAILING +
+The SMART telemetry reports a critical failing condition, or a +disk has disappeared from the system. +Automated maintenance is suspended in this state, and immediate +manual intervention is required. +
+
+
+

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. +

+
+

Configuration

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: -

-
-
-Static_Parameters -
-Critical security and networking settings, such -as the listening port (net_port) and the system user for -scripts (script_run_as_user), are immutable via the REST API. -These require manual file edits followed by a SIGHUP signal -(e.g., systemctl reload snapraidd) to take effect. -
-
-
-
-
-
-Dynamic_Parameters -
-Operational settings, like the maintenance -schedule or scrub percentages, can be modified in real-time -via the PATCH /snapraid/v1/config endpoint. Changes made through -the API are instantly applied to the running process and -persisted back to the configuration file, preserving any -manual comments. -
-
-
-

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: +

+sudo killall -HUP snapraidd
+
+

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.

-

+

Network & REST API

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.

-

+

net_enabled

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.

-

+

net_port

Defines the specific IP address and port(s) to which the daemon binds. @@ -278,15 +410,15 @@ The format follows [IP_ADDRESS:]PORT[s].

IPv4/IPv6
-Bind to specific local addresses (e.g., 127.0.0.1:8080 or -[::1]:8080). +Bind to specific local addresses (e.g., 127.0.0.1:7627 or +[::1]:7627).
-Wildcard +Port
-Providing only a port (e.g., 8080) binds to all available +Providing only a port (e.g., 7627) binds to all available IPv4 interfaces (0.0.0.0).
@@ -299,11 +431,20 @@ comma-separated list.
-

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. -

+

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.
+
+
-

+

net_acl

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.
+
+
-

+

net_security_headers

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.

-

+

net_allowed_origin

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).

-

+

net_config_full_access

A security flag that determines whether sensitive configuration parameters @@ -437,7 +586,7 @@ The severity threshold for sending notifications.

-

+

net_web_root

Specifies the source of the web dashboard assets. The daemon supports @@ -481,7 +630,7 @@ interface.

-

+

Automation & Maintenance

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.

-

+

maintenance_schedule

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).

-

+

sync_threshold_deletes

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.

-

+

sync_threshold_updates

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.

-

+

sync_prehash

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.

-

+

sync_force_zero

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.

-

+

scrub_percentage

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.

-

+

scrub_older_than

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.

-

+

Disk Monitoring & Power

The following settings manage how the daemon interacts with physical hardware to monitor disk health and optimize energy consumption

-

+

probe_interval_minutes

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.

-

+

spindown_idle_minutes

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.

-

+

script_pre_run/script_post_run

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).

-

+

script_run_as_user

Specifies the user account used to execute the pre-run and post-run @@ -621,13 +770,13 @@ same privileges as the daemon process.

-

+

Logging & Notifications

These settings control the logging and notification operations performed by the SnapRAID daemon.

-

+

log_directory

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.

-

+

log_retention_days

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.

-

+

notify_syslog_enabled

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.

-

+

notify_syslog_level

Sets the minimum severity for syslog task entries. @@ -667,7 +816,7 @@ Possible values are info, warning, error, and criticalerror.

-

+

notify_heartbeat

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.

-

+

notify_result

-

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).

%t
-ntfy tag (skull, warning, default, -1, +1, heavy_check_mark). +ntfy tag (rotating_light, warning, default, -1, +1, heavy_check_mark).
@@ -740,7 +890,7 @@ authentication. Failure to do so may result in authentication errors (e.g., curl error 55).

-

+

notify_result_level

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.

-

+

notify_differences

If set to 1, the daemon logs a detailed list of file changes discovered @@ -758,13 +908,13 @@ generated.

-

-Notification Examples: +

+Notification Examples

The following examples demonstrate common notification and heartbeat configurations

-

+

External Heartbeat Monitoring (Healthchecks.io)

To monitor that automated maintenance is running successfully, use a service @@ -777,7 +927,7 @@ notify_heartbeat = curl -f --max-time 30 --retry 3 -

+

Push Notifications (ntfy.sh)

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

-

+

Local System Mail (mail)

A traditional approach using the standard Linux mail utility. This is @@ -799,7 +949,7 @@ notify_result = mail -s "%s" your_user@localhost

-

+

Direct Delivery (SMTP-over-SSL)

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-

-

+

REST API

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.

-

+

Maintenance & Recovery

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.

-

+

/snapraid/v1/heal

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.

-

+

/snapraid/v1/undelete

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.

-

+

Monitoring & Inventory

These endpoints provide high-level visibility into the global state of the storage stack and the health of the underlying physical hardware.

-

+

/snapraid/v1/array

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
 
-

+

/snapraid/v1/disks

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
 
-

+

Configuration

Provides a programmatic interface to retrieve and modify the operational parameters of the daemon in real-time.

-

+

/snapraid/v1/config

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 }'
 
-

+

Activity Control

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.

-

+

/snapraid/v1/activity

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
 
-

+

/snapraid/v1/tasks

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
 
-

+

/snapraid/v1/stop

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
 
-

+

State and Cache Management

To optimize performance and support lightweight monitoring (such as desktop status bars), the daemon implements a state synchronization mechanism via the /v1/state endpoint.

-

+

/snapraid/v1/state

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
 
-

+

Schedule

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.

-

+

/snapraid/v1/schedule

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.

-

+

Signals

This section defines how the daemon responds to standard Unix signals, @@ -1196,7 +1346,7 @@ performed.

-

+

Files

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.
 Pooling
 
 

Hinweis: 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.

+
+

+locate +

+

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. +

@@ -1195,6 +1209,19 @@ einen Multiplikator wie K, M oder G angeben (z.B. --bw-limit 1G).
+-t, --tail GRÖSSE +
+Beschränkt die Dateiliste auf diejenigen, die nicht mehr als die +angegebene Tail-Größe der Paritätsfestplatten belegen. +Sie können Multiplikatoren wie K, M, G oder T verwenden (z. B. --tail 1G). +Diese Option ist nur in Verbindung mit dem Befehl +locate gültig. +
+
+
+
+
+
-A, --stats
Aktiviert eine erweiterte Statusansicht, die zusätzliche @@ -1345,6 +1372,34 @@ Sie haben während der sync-Operation KEINEN Datenschutz.
+-W, --force-realloc-tail GRÖSSE +
+Funktioniert wie -R, --force-realloc, ist jedoch auf den angegebenen +Endbereich (die letzten GRÖSSE Bytes) jeder Paritätsdatei beschränkt. +Erzwingt die Neuzuweisung (Verschiebung) aller Dateifragmente/-blöcke, die +derzeit in diesem Endabschnitt gespeichert sind, sodass sie an beliebiger Stelle +in den Paritätsdateien platziert werden können, wo freier Speicherplatz +verfügbar ist (einschließlich vorhandener Lücken). +Der Hauptzweck dieser Option besteht darin, die Größe der Paritätsdatei +auf der Festplatte zu verringern. +Wenn die Neuzuweisung den gesamten Endabschnitt erfolgreich leert +(keine Blöcke verbleiben dort), wird die Paritätsdatei gekürzt, +wodurch der ungenutzte Endbereich freigegeben wird. +Sie können Multiplikatoren wie K, M, G oder T verwenden (z. B. +--force-realloc-tail 1G). +Sie können locate -t, --tail verwenden, um die betroffenen Dateien +im Voraus zu ermitteln. +WARNUNG! +Diese Option ist nur für Experten gedacht und es wird dringend +empfohlen, sie nicht zu verwenden. +Während des sync-Vorgangs besteht für die betroffenen Dateien +KEIN Datenschutz. +
+
+
+
+
+
-l, --log FILE
Schreibt ein detailliertes Protokoll in die angegebene Datei. diff --git a/beta/manual-es.html b/beta/manual-es.html index 97c6d853..89fb4d8d 100644 --- a/beta/manual-es.html +++ b/beta/manual-es.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]
@@ -348,7 +348,7 @@ se marcan como defectuosos.
 Pooling
 

Nota: 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.

+
+

+locate +

+

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. +

@@ -1148,6 +1162,19 @@ multiplicador como K, M o G (por ejemplo, --bw-limit 1G).
+-t, --tail TAMAÑO +
+Limita la lista de archivos a aquellos que no usan más del +tamaño de cola especificado de los discos de paridad. +Puede usar multiplicadores como K, M, G o T (por ejemplo, --tail 1G). +Esta opción solo es válida cuando se usa junto con el comando +locate. +
+
+
+
+
+
-A, --stats
Habilita una vista de estado extendida que muestra información @@ -1297,6 +1324,34 @@ NO tiene protección de datos durante la operación sync.
+-W, --force-realloc-tail TAMAÑO +
+Funciona como -R, --force-realloc, pero limitado a la porción final +especificada (últimos TAMAÑO bytes) de cada archivo de paridad. +Fuerza la reasignación (movimiento) de cualquier fragmento/bloque de archivo +actualmente almacenado en esa sección final, permitiendo que se coloquen +en cualquier lugar de los archivos de paridad donde haya espacio libre +disponible (incluyendo huecos existentes). +El propósito principal de esta opción es reducir el tamaño en disco +del archivo de paridad. +Si la reasignación vacía con éxito toda la sección final +(no quedan bloques usándola), el archivo de paridad se trunca, +recuperando el espacio final no utilizado. +Puede usar multiplicadores como K, M, G o T (por ejemplo, +--force-realloc-tail 1G). +Puede usar locate -t, --tail para conocer de antemano +los archivos afectados. +¡ADVERTENCIA! +Esta opción es solo para expertos y se recomienda +encarecidamente no usarla. +Usted NO tiene protección de datos durante la operación sync +para los archivos afectados. +
+
+
+
+
+
-l, --log FILE
Escribe un registro detallado en el archivo especificado. diff --git a/beta/manual-fr.html b/beta/manual-fr.html index 188dc80c..801b366a 100644 --- a/beta/manual-fr.html +++ b/beta/manual-fr.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 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.

+
+

+locate +

+

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. +

@@ -1175,6 +1189,19 @@ un multiplicateur tel que K, M ou G (par exemple, --bw-limit 1G).
+-t, --tail TAILLE +
+Limite la liste des fichiers à ceux n'utilisant pas plus que la +taille de queue spécifiée des disques de parité. +Vous pouvez utiliser des multiplicateurs tels que K, M, G ou T (ex: --tail 1G). +Cette option n'est valide que lorsqu'elle est utilisée avec la +commande locate. +
+
+
+
+
+
-A, --stats
Active une vue d'état étendue qui affiche des informations @@ -1329,6 +1356,34 @@ Vous N'AVEZ AUCUNE protection des données pendant l'opération sync.
+-W, --force-realloc-tail TAILLE +
+Fonctionne comme -R, --force-realloc, maar limité à la partie terminale +spécifiée (les derniers TAILLE octets) de chaque fichier de parité. +Force la réallocation (déplacement) de tout fragment/bloc de fichier +actuellement stocké dans cette section terminale, leur permettant d'être +placés n'importe où dans le(s) fichier(s) de parité où de l'espace libre +est disponible (y compris les trous existants). +Le but principal de cette option est de réduire la taille sur disque +du fichier de parité. +Si la réallocation réussit à vider toute la section terminale +(plus aucun bloc ne l'utilise), le fichier de parité est tronqué, +récupérant l'espace terminal inutilisé. +Vous pouvez utiliser des multiplicateurs tels que K, M, G ou T (ex: +--force-realloc-tail 1G). +Vous pouvez utiliser locate -t, --tail pour connaître à l'avance +les fichiers affectés. +AVERTISSEMENT ! +Cette option est réservée aux experts et il est fortement +recommandé de ne pas l'utiliser. +Vous n'avez PAS de protection des données pendant l'opération sync +pour les fichiers affectés. +
+
+
+
+
+
-l, --log FICHIER
Écrit un journal détaillé dans le fichier spécifié. diff --git a/beta/manual-it.html b/beta/manual-it.html index c7f5825b..5b254e3d 100644 --- a/beta/manual-it.html +++ b/beta/manual-it.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]
@@ -349,7 +349,7 @@ come bad.
 Pooling
 

Nota: 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.

+
+

+locate +

+

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. +

@@ -1162,7 +1176,20 @@ arrestati in modo sicuro anche in caso di errore di un comando.

Applica un limite di larghezza di banda globale per tutti i dischi. RATE è il numero di byte al secondo. È possibile specificare un -moltiplicatore come K, M o G (ad esempio, --bw-limit 1G). +moltiplicatore come K, M, G o T (ad esempio, --bw-limit 1G). +
+ + +
+
+
+-t, --tail DIMENSIONE +
+Limita l'elenco dei file a quelli che non utilizzano più della +dimensione di coda specificata dei dischi di parità. +È possibile utilizzare moltiplicatori come K, M, G o T (ad es. --tail 1G). +Questa opzione è valida solo se utilizzata insieme al comando +locate.
@@ -1321,6 +1348,34 @@ NON si ha protezione dei dati durante l'operazione sync.
+-W, --force-realloc-tail DIMENSIONE +
+Funziona come -R, --force-realloc, ma limitatamente alla porzione +di coda specificata (ultimi DIMENSIONE byte) di ogni file di parità. +Forza la riallocazione (spostamento) di qualsiasi frammento/blocco di file +attualmente memorizzato in quella sezione di coda, consentendo loro di essere +posizionati ovunque nei file di parità dove sia disponibile spazio libero +(inclusi i buchi esistenti). +Lo scopo principale di questa opzione è ridurre la dimensione su disco +del file di parità. +Se la riallocazione svuota con successo l'intera sezione di coda +(non rimangono blocchi che la utilizzano), il file di parità viene +troncato, recuperando lo spazio di coda inutilizzato. +È possibile utilizzare moltiplicatori come K, M, G o T (ad es. +--force-realloc-tail 1G). +È possibile utilizzare locate -t, --tail per conoscere in anticipo +i file interessati. +ATTENZIONE! +Questa opzione è solo per esperti ed è caldamente +raccomandato di non usarla. +NON si ha protezione dei dati durante l'operazione di sync +per i file interessati. +
+
+
+
+
+
-l, --log FILE
Scrive un log dettagliato nel file specificato. diff --git a/beta/manual-ja.html b/beta/manual-ja.html index 93fc17ed..85a1e913 100644 --- a/beta/manual-ja.html +++ b/beta/manual-ja.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]
@@ -326,8 +326,8 @@ snapraid -p bad scrub
 

Pooling

-

注: ここで説明するプーリング機能は、**mergefs** ツールに取って代わられました。 -mergefs は、SnapRAIDコミュニティのLinuxユーザーに推奨されるオプションです。 +

注: ここで説明するプーリング機能は、**mergerfs** ツールに取って代わられました。 +mergerfs は、SnapRAIDコミュニティのLinuxユーザーに推奨されるオプションです。 Mergefs は、複数のドライブを単一の統合されたマウントポイントにプールするための、 より柔軟で効率的な方法を提供し、シンボリックリンクに頼ることなくアレイ全体の ファイルにシームレスにアクセスできます。これは、パリティ保護のためにSnapRAIDと @@ -920,6 +920,26 @@ rehash

リハッシュ中もSnapRAIDは完全な機能を維持しますが、唯一の例外として、 dup は異なるハッシュを使用している重複ファイルを検出できません。

+
+

+locate +

+

パリティディスクに保存されているファイルを検索します。一致する各ファイルについて、 +パリティファイル内での位置と、それが占有するフラグメントの数を出力します。 +

+
+
+-t, --tail オプションを使用すると、パリティの指定された末尾部分を占有する +
+
+
+
+

ファイルに操作を制限できます。 +

これらのファイルを再配置したい場合は、-W, --force-realloc-tail オプションを +使用できます。 +再配置プロセス中、これらのファイルはパリティによって保護されないことに +注意してください。 +

@@ -1101,6 +1121,19 @@ DAYS は、ブロックがスクラブされるための最小経過日数であ
+-t, --tail サイズ +
+ファイルリストを、パリティディスクの指定された末尾サイズ以下を +使用しているものに制限します。 +K、M、G、T などの倍数を使用できます(例:--tail 1G)。 +このオプションは、locate コマンドと一緒に使用された場合にのみ +有効です。 +
+
+
+
+
+
-A, --stats
追加情報を表示する拡張ステータスビューを有効にします。 @@ -1227,6 +1260,33 @@ SnapRAIDが一部のディスクがUUIDを変更したことを検出した場
+-W, --force-realloc-tail サイズ +
+-R, --force-realloc と同様に動作しますが、各パリティファイルの +指定された末尾部分(最後の「サイズ」バイト)に制限されます。 +現在その末尾セクションに保存されているファイルフラグメント/ブロックの +再配置(移動)を強制し、空きスペースがあるパリティファイル内の +任意の場所(既存のホールを含む)に配置できるようにします。 +このオプションの主な目的は、パリティファイルのディスク上でのサイズを +縮小することです。 +再配置によって末尾セクション全体が正常にクリアされた場合 +(それを使用するブロックが残っていない場合)、パリティファイルは +切り詰められ、未使用の末尾スペースが回収されます。 +K、M、G、T などの倍数を使用できます(例: +--force-realloc-tail 1G)。 +locate -t, --tail を使用して、影響を受けるファイルを事前に +知ることができます。 +警告! +このオプションはエキスパート専用であり、使用しないことが +強く推奨されます。 +影響を受けるファイルについては、sync 操作中にデータ保護は +行われません。 +
+
+
+
+
+
-l, --log FILE
詳細なログを指定されたファイルに書き込みます。 diff --git a/beta/manual-ko.html b/beta/manual-ko.html index 1bb6bde7..b260b4e2 100644 --- a/beta/manual-ko.html +++ b/beta/manual-ko.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]
@@ -336,7 +336,7 @@ snapraid -p bad scrub
 

Pooling

-

참고: 아래에 설명된 풀링(pooling) 기능은 **mergefs** 도구로 대체되었으며, +

참고: 아래에 설명된 풀링(pooling) 기능은 **mergerfs** 도구로 대체되었으며, 이는 SnapRAID 커뮤니티에서 Linux 사용자를 위한 권장 옵션입니다. Mergefs는 여러 드라이브를 단일 통합 마운트 지점으로 풀링하는 더 유연하고 효율적인 방법을 제공하여, 심볼릭 링크에 의존하지 않고 어레이 전체의 @@ -938,6 +938,27 @@ rehash

재해시 중에도 SnapRAID는 전체 기능을 유지하며, 유일한 예외는 dup가 다른 해시를 사용하는 중복 파일을 감지할 수 없다는 것입니다.

+
+

+locate +

+

패리티 디스크에 저장된 파일을 찾습니다. 일치하는 각 파일에 대해 +패리티 파일 내의 위치와 점유하고 있는 조각(fragment)의 수를 +출력합니다. +

+
+
+-t, --tail 옵션을 사용하여 패리티의 지정된 꼬리(tail) 부분을 점유하는 +
+
+
+
+

파일로 작업을 제한할 수 있습니다. +

이 파일들을 재할당하려면 -W, --force-realloc-tail 옵션을 +사용할 수 있습니다. +재할당 과정 동안 해당 파일들은 패리티에 의해 보호되지 않으므로 +주의하십시오. +

@@ -1121,6 +1142,18 @@ bad로 표시된 블록은 이 옵션에 관계없이 항상 스크럽됩니다.
+-t, --tail 크기 +
+패리티 디스크의 지정된 꼬리 크기 이하를 사용하는 파일로 +목록을 제한합니다. +K, M, G, T와 같은 배수를 사용할 수 있습니다 (예: --tail 1G). +이 옵션은 locate 명령과 함께 사용할 때만 유효합니다. +
+
+
+
+
+
-A, --stats
추가 정보를 보여주는 확장된 상태 보기를 활성화합니다. @@ -1262,6 +1295,31 @@ content 파일에 있는 해시를 재사용하여 데이터를 검증하고
+-W, --force-realloc-tail 크기 +
+-R, --force-realloc과 같이 작동하지만, 각 패리티 파일의 지정된 +꼬리 부분(마지막 '크기' 바이트)으로 제한됩니다. +현재 해당 꼬리 섹션에 저장된 모든 파일 조각/블록의 재할당(이동)을 +강제하여, 여유 공간이 있는 패리티 파일 내의 어느 곳이든(기존 +빈 공간 포함) 배치될 수 있도록 합니다. +이 옵션의 주요 목적은 패리티 파일의 디스크상 크기를 줄이는 것입니다. +재할당을 통해 전체 꼬리 섹션이 성공적으로 비워지면(남은 블록이 없음), +패리티 파일이 잘리고(truncated) 사용되지 않는 꼬리 공간을 회수합니다. +K, M, G, T와 같은 배수를 사용할 수 있습니다 (예: +--force-realloc-tail 1G). +locate -t, --tail을 사용하여 영향을 받는 파일을 사전에 +확인할 수 있습니다. +경고! +이 옵션은 전문가 전용이며, 사용하지 않을 것을 강력히 +권장합니다. +영향을 받는 파일에 대해서는 sync 작업 동안 데이터 보호를 +받을 수 없습니다. +
+
+
+
+
+
-l, --log FILE
지정된 파일에 자세한 로그를 기록합니다. diff --git a/beta/manual-log.html b/beta/manual-log.html index c00652ec..aeb5438f 100644 --- a/beta/manual-log.html +++ b/beta/manual-log.html @@ -3542,7 +3542,7 @@ The raw flags value (uint, hexadecimal).
-attr:<device_file>:<disk_name>[/<split_index>]:<id>:<value_decimal>:<value_hex> +attr:<device_file>:<disk_name>[/<split_index>]:<id>:<raw_decimal>:<raw_hex>:<norm>:<worst>:<thresh>:<name>:<type>:<updated>:<when_failed>
Logs the raw value of any assigned SMART attribute.
@@ -3558,18 +3558,67 @@ The SMART attribute ID (uint).
-<value_decimal> +<raw_decimal>
The raw attribute value (uint, decimal).
-<value_hex> +<raw_hex>
The raw attribute value (uint, hexadecimal).
+
+
+<norm> +
+The normalized value (uint). +
+
+
+
+<worst> +
+The worst value (uint). +
+
+
+
+<thresh> +
+The threshold value (uint). +
+
+
+
+<name> +
+Name of the attribute. +
+
+
+
+<type> +
+Type of the attribute: prefail or oldage. +
+
+
+
+<updated> +
+Update method of the attribute: always or offline. +
+
+
+
+<when_failed> +
+If and when the attribute failed: never or past or now. +
+
diff --git a/beta/manual-pl.html b/beta/manual-pl.html index f032cbca..4d894249 100644 --- a/beta/manual-pl.html +++ b/beta/manual-pl.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]
@@ -343,7 +343,7 @@ w wyniku scrub, ale powiązane bloki nie są oznaczane jako złe.
 Pooling
 

Uwaga: 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.

+
+

+locate +

+

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. +

@@ -1101,6 +1115,19 @@ taki jak K, M lub G (np. --bw-limit 1G).
+-t, --tail ROZMIAR +
+Ogranicza listę plików do tych, które nie używają więcej niż określony +końcowy rozmiar dysków parzystości. +Możesz użyć mnożników takich jak K, M, G lub T (np. --tail 1G). +Opcja ta jest ważna tylko wtedy, gdy jest używana wraz z poleceniem +locate. +
+
+
+
+
+
-A, --stats
Włącza rozszerzony widok statusu, który pokazuje dodatkowe informacje. @@ -1242,6 +1269,34 @@ NIE MASZ ochrony danych podczas operacji sync.
+-W, --force-realloc-tail ROZMIAR +
+Działa jak -R, --force-realloc, ale ogranicza się do określonej części +końcowej (ostatnie ROZMIAR bajtów) każdego pliku parzystości. +Wymusza realokację (przeniesienie) wszelkich fragmentów/bloków plików +obecnie przechowywanych w tej sekcji końcowej, pozwalając na ich +umieszczenie w dowolnym miejscu w pliku (plikach) parzystości, gdzie +dostępne jest wolne miejsce (w tym w istniejących lukach). +Głównym celem tej opcji jest zmniejszenie rozmiaru pliku parzystości +na dysku. +Jeśli realokacja pomyślnie wyczyści całą sekcję końcową (nie pozostaną +żadne bloki korzystające z niej), plik parzystości zostanie przycięty, +odzyskując nieużywane miejsce na końcu. +Możesz użyć mnożników takich jak K, M, G lub T (np. +--force-realloc-tail 1G). +Możesz użyć locate -t, --tail, aby wcześniej poznać pliki, których +będzie to dotyczyć. +OSTRZEŻENIE! +Ta opcja jest przeznaczona wyłącznie dla ekspertów i zdecydowanie +zaleca się jej nie używać. +Podczas operacji sync pliki, których to dotyczy, NIE mają ochrony +danych. +
+
+
+
+
+
-l, --log FILE
Zapisuje szczegółowy log do określonego pliku. diff --git a/beta/manual-pt.html b/beta/manual-pt.html index c5c3af51..7d895c4c 100644 --- a/beta/manual-pt.html +++ b/beta/manual-pt.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]
@@ -344,7 +344,7 @@ mas os blocos relacionados não são marcados como ruins.
 Pooling
 

Nota: 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.

+
+

+locate +

+

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. +

@@ -1124,6 +1138,19 @@ multiplicador como K, M ou G (por exemplo, --bw-limit 1G).
+-t, --tail TAMANHO +
+Limita a listagem de arquivos àqueles que não usam mais do que o +tamanho final especificado dos discos de paridade. +Você pode usar multiplicadores como K, M, G ou T (ex: --tail 1G). +Esta opção só é válida quando usada em conjunto com o comando +locate. +
+
+
+
+
+
-A, --stats
Habilita uma visualização de status estendida que mostra informações @@ -1271,6 +1298,34 @@ Você NÃO tem proteção de dados durante a operação sync.
+-W, --force-realloc-tail TAMANHO +
+Funciona como -R, --force-realloc, mas limitado à parte final +especificada (últimos TAMANHO bytes) de cada arquivo de paridade. +Força a realocação (movimentação) de quaisquer fragmentos/blocos de arquivos +atualmente armazenados nessa seção final, permitindo que sejam colocados +em qualquer lugar no(s) arquivo(s) de paridade onde houver espaço livre +disponível (incluindo espaços vazios existentes). +O objetivo principal desta opção é diminuir o tamanho em disco +do arquivo de paridade. +Se a realocação limpar com sucesso toda a seção final (nenhum bloco +permanecer usando-a), o arquivo de paridade será truncado, +recuperando o espaço final não utilizado. +Você pode usar multiplicadores como K, M, G ou T (ex: +--force-realloc-tail 1G). +Você pode usar locate -t, --tail para saber antecipadamente os +arquivos afetados. +AVISO! +Esta opção é apenas para especialistas e é altamente recomendado +não utilizá-la. +Você NÃO terá proteção de datos durante a operação sync para os +arquivos afetados. +
+
+
+
+
+
-l, --log FILE
Escreve um log detalhado para o arquivo especificado. diff --git a/beta/manual-ro.html b/beta/manual-ro.html index dbe7345f..119e47a6 100644 --- a/beta/manual-ro.html +++ b/beta/manual-ro.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]
@@ -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.

+
+

+locate +

+

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. +

@@ -1097,6 +1111,19 @@ cum ar fi K, M sau G (de exemplu, --bw-limit 1G).
+-t, --tail DIMENSIUNE +
+Limitează listarea fișierelor la cele care nu utilizează mai mult de +dimensiunea finală specificată a discurilor de paritate. +Puteți utiliza multiplicatori precum K, M, G sau T (ex. --tail 1G). +Această opțiune este valabilă numai atunci când este utilizată împreună +cu comanda locate. +
+
+
+
+
+
-A, --stats
Activează o vizualizare de stare extinsă care arată informații suplimentare. @@ -1242,6 +1269,34 @@ NU aveți protecție a datelor în timpul operațiunii sync.
+-W, --force-realloc-tail DIMENSIUNE +
+Funcționează ca -R, --force-realloc, dar limitat la porțiunea finală +specificată (ultimii DIMENSIUNE octeți) ai fiecărui fișier de paritate. +Forțează realocarea (mutarea) oricăror fragmente/blocuri de fișiere stocate +în prezent în acea secțiune finală, permițându-le să fie plasate oriunde +în fișierul/fișierele de paritate unde este disponibil spațiu liber +(inclusiv golurile existente). +Scopul principal al acestei opțiuni este de a reduce dimensiunea pe disc +a fișierului de paritate. +Dacă realocarea eliberează cu succes întreaga secțiune finală +(nu mai rămân blocuri care să o utilizeze), fișierul de paritate este +trunchiat, recuperând spațiul final neutilizat. +Puteți utiliza multiplicatori precum K, M, G sau T (ex. +--force-realloc-tail 1G). +Puteți utiliza locate -t, --tail pentru a cunoaște în avans +fișierele afectate. +AVERTIZARE! +Această opțiune este doar pentru experți și se recomandă +insistent să nu fie utilizată. +NU beneficiați de protecție a datelor în timpul operațiunii sync +pentru fișierele afectate. +
+
+
+
+
+
-l, --log FILE
Scrie un jurnal detaliat în fișierul specificat. diff --git a/beta/manual-ru.html b/beta/manual-ru.html index c0c1747d..ced27885 100644 --- a/beta/manual-ru.html +++ b/beta/manual-ru.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]
@@ -340,7 +340,7 @@ snapraid -p bad scrub
 Pooling
 

Примечание: Функция объединения (pooling), описанная ниже, была заменена инструментом -mergefs, который теперь является рекомендуемым вариантом для пользователей Linux +mergerfs, который теперь является рекомендуемым вариантом для пользователей Linux в сообществе SnapRAID. Mergefs предоставляет более гибкий и эффективный способ объединения нескольких дисков в единую точку монтирования, обеспечивая беспрепятственный доступ к файлам по всему массиву без @@ -913,6 +913,20 @@ MurmurHash3 на более быстрый SpookyHash. за единственным исключением, что dup не может обнаружить дублирующиеся файлы, использующие другой хэш.

+
+

+locate +

+

Находит файлы, хранящиеся на дисках четности. Для каждого найденного файла +выводится его расположение внутри файла четности и количество занимаемых +им фрагментов. +

Вы можете использовать параметр -t, --tail, чтобы ограничить операцию файлами, +занимающими указанную хвостовую часть четности. +

Если вы хотите перераспределить эти файлы, вы можете использовать параметр +-W, --force-realloc-tail. +Имейте в виду, что такие файлы не будут защищены четностью во время процесса +перераспределения. +

@@ -1102,6 +1116,19 @@ DAYS — это минимальный возраст в днях для бло
+-t, --tail РАЗМЕР +
+Ограничивает список файлов теми, которые используют не более +указанного размера хвоста дисков четности. +Можно использовать множители, такие как K, M, G или T (например, --tail 1G). +Этот параметр действителен только при использовании вместе с +командой locate. +
+
+
+
+
+
-A, --stats
Включает расширенный вид статуса, который показывает дополнительную информацию. @@ -1245,6 +1272,34 @@ DAYS — это минимальный возраст в днях для бло
+-W, --force-realloc-tail РАЗМЕР +
+Работает как -R, --force-realloc, но ограничивается указанной хвостовой +частью (последние РАЗМЕР байт) каждого файла четности. +Принудительно перераспределяет (перемещает) любые фрагменты/блоки файлов, +хранящиеся в данный момент в этой хвостовой части, позволяя разместить +их в любом месте файла(ов) четности, где есть свободное место +(включая существующие пустоты). +Основная цель этого параметра — уменьшить занимаемый на диске +размер файла четности. +Если перераспределение успешно очистит всю хвостовую часть +(в ней не останется блоков), файл четности будет обрезан, высвобождая +неиспользуемое хвостовое пространство. +Можно использовать множители, такие как K, M, G или T (например, +--force-realloc-tail 1G). +Вы можете использовать locate -t, --tail, чтобы заранее узнать +затронутые файлы. +ВНИМАНИЕ! +Этот параметр предназначен только для экспертов, и его настоятельно +не рекомендуется использовать. +Во время операции sync защита данных для затронутых файлов +ОТСУТСТВУЕТ. +
+
+
+
+
+
-l, --log FILE
Записывает подробный журнал в указанный файл. diff --git a/beta/manual-sv.html b/beta/manual-sv.html index 62834194..ae97ec3e 100644 --- a/beta/manual-sv.html +++ b/beta/manual-sv.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]
@@ -342,7 +342,7 @@ utdata, men de relaterade blocken markeras inte som dåliga.
 Poolning
 

Obs: 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.

+
+

+locate +

+

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. +

@@ -1105,6 +1118,19 @@ som K, M eller G (t.ex. --bw-limit 1G).
+-t, --tail STORLEK +
+Begränsa fillistan till de som inte använder mer än den angivna +slutstorleken på paritetsdiskarna. +Du kan använda multiplikatorer som K, M, G eller T (t.ex. --tail 1G). +Detta alternativ är endast giltigt när det används tillsammans med +kommandot locate. +
+
+
+
+
+
-A, --stats
Aktiverar en utökad statusvy som visar ytterligare information. @@ -1247,6 +1273,33 @@ Du HAR INGET dataskydd under sync-operationen.
+-W, --force-realloc-tail STORLEK +
+Fungerar som -R, --force-realloc, men begränsat till den angivna +slutdelen (de sista STORLEK byten) av varje paritetsfil. +Den tvingar omallokering (flytt) av alla filfragment/block som för +närvarande lagras i den slutsektionen, vilket gör att de kan placeras +var som helst i paritetsfilen/filerna där ledigt utrymme finns +(inklusive befintliga hål). +Huvudsyftet med detta alternativ är att minska paritetsfilens storlek +på disken. +Om omallokeringen lyckas rensa hela slutsektionen (inga block är kvar +som använder den), trunkeras paritetsfilen och det oanvända +slututrymmet återtas. +Du kan använda multiplikatorer som K, M, G eller T (t.ex. +--force-realloc-tail 1G). +Du kan använda locate -t, --tail för att i förväg veta vilka filer +som påverkas. +VARNING! +Detta alternativ är endast för experter, och det rekommenderas +starkt att inte använda det. +Du har INGET dataskydd under sync-åtgärden för de berörda filerna. +
+
+
+
+
+
-l, --log FILE
Skriver en detaljerad logg till den specificerade filen. diff --git a/beta/manual-uk.html b/beta/manual-uk.html index 690b8191..866cb520 100644 --- a/beta/manual-uk.html +++ b/beta/manual-uk.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]
@@ -360,7 +360,7 @@ snapraid -p bad scrub
 Об'єднання (Pooling)
 

Примітка: Функція об'єднання, описана нижче, була замінена -інструментом mergefs, який тепер є рекомендованою опцією для +інструментом mergerfs, який тепер є рекомендованою опцією для користувачів Linux у спільноті SnapRAID. Mergefs забезпечує більш гнучкий та ефективний спосіб об'єднання кількох дисків в єдину уніфіковану точку монтування, дозволяючи безперешкодний @@ -998,6 +998,20 @@ rehash функціональність, за єдиним винятком, що dup не може виявити дублікати файлів, використовуючи інший хеш.

+
+

+locate +

+

Знаходить файли, що зберігаються на дисках парності. Для кожного знайденого +файлу виводиться його розташування всередині файлу парності та кількість +фрагментів, які він займає. +

Ви можете використовувати параметр -t, --tail, щоб обмежити операцію файлами, +що займають зазначену кінцеву частину (хвіст) парності. +

Якщо ви хочете перерозподілити ці файли, ви можете скористатися параметром +-W, --force-realloc-tail. +Майте на увазі, що такі файли не будуть захищені парністю під час процесу +перерозподілу. +

@@ -1203,6 +1217,18 @@ DAYS — це мінімальний вік у днях для блоку, як
+-t, --tail РОЗМІР +
+Обмежує список файлів тими, що використовують не більше зазначеного +розміру хвоста дисків парності. +Можна використовувати множники, такі як K, M, G або T (наприклад, --tail 1G). +Цей параметр дійсний лише при використанні разом із командою locate. +
+
+
+
+
+
-A, --stats
Вмикає розширений перегляд стану, який показує @@ -1361,6 +1387,32 @@ ext3/ext4.
+-W, --force-realloc-tail РОЗМІР +
+Працює як -R, --force-realloc, але обмежується вказаною кінцевою +частиною (останні РОЗМІР байт) кожного файлу парності. +Примусово перерозподіляє (переміщує) будь-які фрагменти/блоки файлів, +що наразі зберігаються в цій кінцевій секції, дозволяючи розмістити +їх будь-де у файлі(ах) парності, де є вільне місце (включно з +наявними пустотами). +Основна мета цього параметра — зменшити розмір файлу парності на диску. +Якщо перерозподіл успішно очистить всю кінцеву секцію (у ній не +залишиться блоків), файл парності буде обрізаний, вивільняючи +невикористаний простір хвоста. +Можна використовувати множники, такі як K, M, G або T (наприклад, +--force-realloc-tail 1G). +Ви можете використовувати locate -t, --tail, щоб заздалегідь дізнатися +про зачеплені файли. +УВАГА! +Цей параметр призначений лише для експертів, і його настійно +не рекомендується використовувати. +Під час операції sync захист даних для зачеплених файлів ВІДСУТНІЙ. +
+
+
+
+
+
-l, --log FILE
Записує детальний журнал у вказаний файл. diff --git a/beta/manual-zh.html b/beta/manual-zh.html index eab4b7e9..b9a847d7 100644 --- a/beta/manual-zh.html +++ b/beta/manual-zh.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]
@@ -312,8 +312,8 @@ snapraid -p bad scrub
 

Pooling

-

注意:下面描述的 pooling 功能已被 mergefs 工具取代, -mergefs 现在是 SnapRAID 社区推荐的 Linux 用户选项。 +

注意:下面描述的 pooling 功能已被 mergerfs 工具取代, +mergerfs 现在是 SnapRAID 社区推荐的 Linux 用户选项。 Mergefs 提供了一种更灵活、更高效的方式,将多个驱动器汇集到一个 统一的挂载点中,允许跨阵列无缝访问文件,而无需依赖符号链接。 它与 SnapRAID 很好地集成以提供奇偶校验保护,常用于 @@ -840,6 +840,17 @@ rehash

在重新散列期间,SnapRAID 保持完全功能, 唯一的例外是 dup 无法使用不同的散列检测重复的文件。

+
+

+locate +

+

查找存储在校验盘中的文件。对于每个匹配的文件,它会打印其在校验文件中的位置 +以及占用的分片数量。 +

您可以使用 -t, --tail 选项将操作限制在占用校验盘指定尾部部分的 +文件上。 +

如果您想重新分配这些文件,可以使用 -W, --force-realloc-tail 选项。 +请注意,在重新分配过程中,此类文件将不受校验保护。 +

@@ -1017,6 +1028,17 @@ DAYS 是块被 scrub 的最小天数;默认值为 10。
+-t, --tail 大小 +
+将文件列表限制为那些使用校验盘指定尾部大小以内的文件。 +您可以使用乘数,如 K、M、G 或 T(例如 --tail 1G)。 +此选项仅在与 locate 命令配合使用时有效。 +
+
+
+
+
+
-A, --stats
启用扩展状态视图,显示附加信息。 @@ -1143,6 +1165,28 @@ DAYS 是块被 scrub 的最小天数;默认值为 10。
+-W, --force-realloc-tail 大小 +
+工作方式类似于 -R, --force-realloc,但仅限于每个校验文件的 +指定尾部部分(最后“大小”字节)。 +它会强制重新分配(移动)当前存储在该尾部部分的任何文件分片/块, +允许它们被放置在校验文件中任何有可用空间的地方(包括现有的 +空隙)。 +此选项的主要目的是缩小校验文件的磁盘占用大小。 +如果重新分配成功清空了整个尾部区域(没有块继续使用它), +则校验文件将被截断,回收未使用的尾部空间。 +您可以使用乘数,如 K、M、G 或 T(例如 +--force-realloc-tail 1G)。 +您可以使用 locate -t, --tail 提前了解受影响的文件。 +警告! +此选项仅供专家使用,强烈建议不要使用。 +在执行 sync 操作期间,受影响的文件将没有数据保护。 +
+
+
+
+
+
-l, --log FILE
将详细日志写入指定文件。 diff --git a/beta/manual.html b/beta/manual.html index fb9410c2..1c277c17 100644 --- a/beta/manual.html +++ b/beta/manual.html @@ -343,7 +343,7 @@ output, but the related blocks are not marked as bad. Pooling

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.

@@ -1278,7 +1281,7 @@ Works like -R, --force-realloc, but limited to the specified tail portion (last SIZE bytes) of each parity file. It forces reallocation (movement) of any file fragments/blocks currently stored in that tail section, allowing them to be -placed anywhere in the parity file where free space is +placed anywhere in the parity file(s) where free space is available (including existing holes). The main purpose of this option is to shrink the on-disk size of the parity file. If the reallocation successfully clears @@ -1286,6 +1289,8 @@ the entire tail section (no blocks remain using it), the parity file is truncated, reclaiming the unused tail space. You can use multipliers such as K, M, G, or T (e.g. --force-realloc-tail 1G). +You can use locate -t, --tail to know in advance the affected +files. WARNING! This option is for experts only, and it is highly recommended not to use it. You DO NOT have data protection during the sync operation