mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-25 09:26:27 -05:00
Auto update
This commit is contained in:
parent
f9fb25fd44
commit
7805ee35e7
16 changed files with 1066 additions and 155 deletions
|
|
@ -205,6 +205,141 @@ Prints the program version.
|
|||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec4" class="manual-title-level-1">
|
||||
Getting Started
|
||||
</h1>
|
||||
<p>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.
|
||||
</p><p>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 <b>/etc/snapraidd.conf</b>.
|
||||
If you are installing from source, it is recommended to run
|
||||
<b>./configure --sysconfdir=/etc</b> during the build process to ensure the
|
||||
configuration is placed in the standard <b>/etc</b> directory.
|
||||
</p><p>Using this default configuration file, the UI is accessible via a web
|
||||
browser at the following address:
|
||||
</p><p><a href="http://127.0.0.1:7627">http://127.0.0.1:7627</a>
|
||||
<br>
|
||||
</p><p>The default port, 7627, was chosen as a mnemonic, representing the
|
||||
word "SNAP" as typed on a standard telephone keypad.
|
||||
</p><p>At startup, the daemon parses historical logs from <b>/var/log/snapraid</b>
|
||||
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.
|
||||
</p><p>In this initial scenario, the daemon automatically triggers a SnapRAID
|
||||
<b>read</b> command. This allows SnapRAID to process its internal <b>content</b>
|
||||
files and provide the daemon with the necessary metadata to establish
|
||||
the array's baseline state.
|
||||
</p><p>Once the service is running, you should review <b>/etc/snapraidd.conf</b>
|
||||
or use the Settings panel in the UI to tailor the behavior to your
|
||||
environment.
|
||||
</p><p>Typical post-installation steps include:
|
||||
</p><ul>
|
||||
<li>
|
||||
Defining a <b>maintenance_schedule</b> for automated sync and scrub
|
||||
operations.
|
||||
</li>
|
||||
<li>
|
||||
Setting <b>spindown_idle_minutes</b> to optimize energy usage for
|
||||
disks not in active use.
|
||||
</li>
|
||||
<li>
|
||||
Configuring the <b>notify_result</b> system to receive alerts
|
||||
regarding array health and task outcomes.
|
||||
</li>
|
||||
</ul>
|
||||
<p>To make manual changes to the <b>/etc/snapraidd.conf</b> file effective,
|
||||
you must either restart the daemon or send a <b>SIGHUP</b> 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 <b>Save</b> button.
|
||||
</p><p>Example:
|
||||
</p><pre>
|
||||
sudo killall -HUP snapraidd
|
||||
</pre>
|
||||
<p>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.
|
||||
</p></div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec5" class="manual-title-level-1">
|
||||
Health
|
||||
</h1>
|
||||
<p>The array's aggregate health is determined by evaluating historical log
|
||||
data alongside real-time hardware telemetry.
|
||||
</p><p>If the array transitions into any problematic state, the daemon
|
||||
immediately issues an alert through the configured notification system.
|
||||
</p><p>In the REST API, this state is reported by the <b>health</b> field.
|
||||
Whenever the health is not PASSED, a supplementary <b>health_reason</b> field
|
||||
is provided to give a discursive explanation of the specific condition or
|
||||
failure detected.
|
||||
</p><p>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.
|
||||
</p><p>The possible health states are:
|
||||
</p><div class="manual-tag-list">
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
PENDING
|
||||
</div><div class="manual-tag-description">
|
||||
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 <b>up</b> command is sufficient to satisfy this.
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
PASSED
|
||||
</div><div class="manual-tag-description">
|
||||
The array is fully healthy. All disks report positive SMART
|
||||
status and the last scrub found no data corruption.
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
CORRUPT
|
||||
</div><div class="manual-tag-description">
|
||||
Silent errors (hash or parity mismatches) were detected, though
|
||||
no physical hardware issues were identified.
|
||||
In this state, scheduled maintenance remains active.
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
PREFAIL
|
||||
</div><div class="manual-tag-description">
|
||||
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.
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
FAILING
|
||||
</div><div class="manual-tag-description">
|
||||
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.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>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 <b>probe</b> task if that operation encountered no specific
|
||||
errors.
|
||||
</p></div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec6" class="manual-title-level-1">
|
||||
Configuration
|
||||
</h1>
|
||||
<p>The SnapRAID Daemon is configured via a plain-text .conf file,
|
||||
|
|
@ -214,52 +349,49 @@ path chosen at build time (typically via the <b>--prefix</b> argument to
|
|||
the configure script).
|
||||
</p><p>This file governs the behavior of the automation engine, network
|
||||
accessibility, safety interlocks, and hardware monitoring parameters.
|
||||
</p><p>The configuration system is designed with a "hybrid" management
|
||||
philosophy to balance convenience with system security:
|
||||
</p><div class="manual-tag-list">
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
Static_Parameters
|
||||
</div><div class="manual-tag-description">
|
||||
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.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-tag-list">
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
Dynamic_Parameters
|
||||
</div><div class="manual-tag-description">
|
||||
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.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>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.
|
||||
</p><p>For a comprehensive view of how these settings are applied in a
|
||||
real-world environment, refer to the <b>snapraidd.conf.example</b> file
|
||||
typically located in the documentation directory of the installation.
|
||||
</p><p>The configuration system is designed with a "triple-tier" management
|
||||
philosophy to balance operational convenience with rigorous system
|
||||
security:
|
||||
</p><p>Tier 1 Core Network (Immutable) -
|
||||
</p><p>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.
|
||||
</p><p>Tier 2 Protected Operations (Secured) - These parameters involve
|
||||
</p><p>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 <b>net_config_full_access</b>
|
||||
flag is manually enabled in this file.
|
||||
</p><p>Tier 3 Dynamic Logic (Live) - This tier consists of standard
|
||||
</p><p>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.
|
||||
</p><p>To make changes to the <b>/etc/snapraidd.conf</b> 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.
|
||||
</p><p>Example:
|
||||
</p><pre>
|
||||
sudo killall -HUP snapraidd
|
||||
</pre>
|
||||
<p>For a comprehensive view of how these settings are applied in a
|
||||
real-world environment, refer to the comments in the <b>snapraidd.conf</b>
|
||||
file installed.
|
||||
</p><div class="manual-section-level-2">
|
||||
<h2 id="sec4-1" class="manual-title-level-2">
|
||||
<h2 id="sec6-1" class="manual-title-level-2">
|
||||
Network & REST API
|
||||
</h2>
|
||||
<p>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.
|
||||
</p><div class="manual-section-level-3">
|
||||
<h3 id="sec4-1-1" class="manual-title-level-3">
|
||||
<h3 id="sec6-1-1" class="manual-title-level-3">
|
||||
net_enabled
|
||||
</h3>
|
||||
<p>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.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-1-2" class="manual-title-level-3">
|
||||
<h3 id="sec6-1-2" class="manual-title-level-3">
|
||||
net_port
|
||||
</h3>
|
||||
<p>Defines the specific IP address and port(s) to which the daemon binds.
|
||||
|
|
@ -278,15 +410,15 @@ The format follows [IP_ADDRESS:]PORT[s].
|
|||
<div class="manual-tag-name">
|
||||
IPv4/IPv6
|
||||
</div><div class="manual-tag-description">
|
||||
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).
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
Wildcard
|
||||
Port
|
||||
</div><div class="manual-tag-description">
|
||||
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).
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -299,11 +431,20 @@ comma-separated list.
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>If left unset, the daemon defaults to 127.0.0.1:8080. Modification
|
||||
<p>If left unset, the daemon defaults to 127.0.0.1:7627. Modification
|
||||
requires a configuration reload and is restricted from API access.
|
||||
</p></div>
|
||||
</p><p>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.
|
||||
</p><p>Examples:
|
||||
</p><pre>
|
||||
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.
|
||||
</pre>
|
||||
</div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-1-3" class="manual-title-level-3">
|
||||
<h3 id="sec6-1-3" class="manual-title-level-3">
|
||||
net_acl
|
||||
</h3>
|
||||
<p>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.
|
||||
</p></div>
|
||||
</p><p>To allow access via Tailscale or similar services, ensure you add the
|
||||
relevant network prefix (e.g., +100.0.0.0/8).
|
||||
</p><p>Examples:
|
||||
</p><pre>
|
||||
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.
|
||||
</pre>
|
||||
</div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-1-4" class="manual-title-level-3">
|
||||
<h3 id="sec6-1-4" class="manual-title-level-3">
|
||||
net_security_headers
|
||||
</h3>
|
||||
<p>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.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-1-5" class="manual-title-level-3">
|
||||
<h3 id="sec6-1-5" class="manual-title-level-3">
|
||||
net_allowed_origin
|
||||
</h3>
|
||||
<p>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).
|
|||
</div>
|
||||
</div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-1-6" class="manual-title-level-3">
|
||||
<h3 id="sec6-1-6" class="manual-title-level-3">
|
||||
net_config_full_access
|
||||
</h3>
|
||||
<p>A security flag that determines whether sensitive configuration parameters
|
||||
|
|
@ -437,7 +586,7 @@ The severity threshold for sending notifications.
|
|||
</div>
|
||||
</div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-1-7" class="manual-title-level-3">
|
||||
<h3 id="sec6-1-7" class="manual-title-level-3">
|
||||
net_web_root
|
||||
</h3>
|
||||
<p>Specifies the source of the web dashboard assets. The daemon supports
|
||||
|
|
@ -481,7 +630,7 @@ interface.
|
|||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec4-2" class="manual-title-level-2">
|
||||
<h2 id="sec6-2" class="manual-title-level-2">
|
||||
Automation & Maintenance
|
||||
</h2>
|
||||
<p>These settings control the automation and maintenance tasks run by
|
||||
|
|
@ -489,18 +638,18 @@ the SnapRAID daemon.
|
|||
</p><p>For security reasons, some of them can be set via the REST API only if the
|
||||
net_config_full_access option is enabled.
|
||||
</p><div class="manual-section-level-3">
|
||||
<h3 id="sec4-2-1" class="manual-title-level-3">
|
||||
<h3 id="sec6-2-1" class="manual-title-level-3">
|
||||
maintenance_schedule
|
||||
</h3>
|
||||
<p>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.
|
||||
</p><p>The format must be either "daily HH:MM" or "weekly [Day] HH:MM".
|
||||
</p><p>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).
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-2-2" class="manual-title-level-3">
|
||||
<h3 id="sec6-2-2" class="manual-title-level-3">
|
||||
sync_threshold_deletes
|
||||
</h3>
|
||||
<p>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.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-2-3" class="manual-title-level-3">
|
||||
<h3 id="sec6-2-3" class="manual-title-level-3">
|
||||
sync_threshold_updates
|
||||
</h3>
|
||||
<p>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.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-2-4" class="manual-title-level-3">
|
||||
<h3 id="sec6-2-4" class="manual-title-level-3">
|
||||
sync_prehash
|
||||
</h3>
|
||||
<p>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.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-2-5" class="manual-title-level-3">
|
||||
<h3 id="sec6-2-5" class="manual-title-level-3">
|
||||
sync_force_zero
|
||||
</h3>
|
||||
<p>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.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-2-6" class="manual-title-level-3">
|
||||
<h3 id="sec6-2-6" class="manual-title-level-3">
|
||||
scrub_percentage
|
||||
</h3>
|
||||
<p>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.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-2-7" class="manual-title-level-3">
|
||||
<h3 id="sec6-2-7" class="manual-title-level-3">
|
||||
scrub_older_than
|
||||
</h3>
|
||||
<p>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.
|
|||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec4-3" class="manual-title-level-2">
|
||||
<h2 id="sec6-3" class="manual-title-level-2">
|
||||
Disk Monitoring & Power
|
||||
</h2>
|
||||
<p>The following settings manage how the daemon interacts with physical
|
||||
hardware to monitor disk health and optimize energy consumption
|
||||
</p><div class="manual-section-level-3">
|
||||
<h3 id="sec4-3-1" class="manual-title-level-3">
|
||||
<h3 id="sec6-3-1" class="manual-title-level-3">
|
||||
probe_interval_minutes
|
||||
</h3>
|
||||
<p>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.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-3-2" class="manual-title-level-3">
|
||||
<h3 id="sec6-3-2" class="manual-title-level-3">
|
||||
spindown_idle_minutes
|
||||
</h3>
|
||||
<p>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.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-3-3" class="manual-title-level-3">
|
||||
<h3 id="sec6-3-3" class="manual-title-level-3">
|
||||
script_pre_run/script_post_run
|
||||
</h3>
|
||||
<p>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).
|
|||
</ul>
|
||||
</div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-3-4" class="manual-title-level-3">
|
||||
<h3 id="sec6-3-4" class="manual-title-level-3">
|
||||
script_run_as_user
|
||||
</h3>
|
||||
<p>Specifies the user account used to execute the pre-run and post-run
|
||||
|
|
@ -621,13 +770,13 @@ same privileges as the daemon process.
|
|||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec4-4" class="manual-title-level-2">
|
||||
<h2 id="sec6-4" class="manual-title-level-2">
|
||||
Logging & Notifications
|
||||
</h2>
|
||||
<p>These settings control the logging and notification operations performed
|
||||
by the SnapRAID daemon.
|
||||
</p><div class="manual-section-level-3">
|
||||
<h3 id="sec4-4-1" class="manual-title-level-3">
|
||||
<h3 id="sec6-4-1" class="manual-title-level-3">
|
||||
log_directory
|
||||
</h3>
|
||||
<p>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.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-4-2" class="manual-title-level-3">
|
||||
<h3 id="sec6-4-2" class="manual-title-level-3">
|
||||
log_retention_days
|
||||
</h3>
|
||||
<p>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.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-4-3" class="manual-title-level-3">
|
||||
<h3 id="sec6-4-3" class="manual-title-level-3">
|
||||
notify_syslog_enabled
|
||||
</h3>
|
||||
<p>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
|
|||
<b>notify_syslog_level</b>.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-4-4" class="manual-title-level-3">
|
||||
<h3 id="sec6-4-4" class="manual-title-level-3">
|
||||
notify_syslog_level
|
||||
</h3>
|
||||
<p>Sets the minimum severity for syslog task entries.
|
||||
|
|
@ -667,7 +816,7 @@ Possible values are <b>info</b>, <b>warning</b>, <b>error</b>, and <b>critical</
|
|||
The default is <b>error</b>.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-4-5" class="manual-title-level-3">
|
||||
<h3 id="sec6-4-5" class="manual-title-level-3">
|
||||
notify_heartbeat
|
||||
</h3>
|
||||
<p>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.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-4-6" class="manual-title-level-3">
|
||||
<h3 id="sec6-4-6" class="manual-title-level-3">
|
||||
notify_result
|
||||
</h3>
|
||||
<p>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.
|
||||
<p>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.
|
||||
</p><p>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).
|
|||
<div class="manual-tag-name">
|
||||
%t
|
||||
</div><div class="manual-tag-description">
|
||||
ntfy tag (skull, warning, default, -1, +1, heavy_check_mark).
|
||||
ntfy tag (rotating_light, warning, default, -1, +1, heavy_check_mark).
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -740,7 +890,7 @@ authentication. Failure to do so may result in authentication errors
|
|||
(e.g., curl error 55).
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-4-7" class="manual-title-level-3">
|
||||
<h3 id="sec6-4-7" class="manual-title-level-3">
|
||||
notify_result_level
|
||||
</h3>
|
||||
<p>Controls the filter for <b>notify_result</b>. The notification is sent only
|
||||
|
|
@ -749,7 +899,7 @@ Valid values are <b>info</b> (always send), <b>warning</b>, <b>error</b>, and <b
|
|||
The default is <b>error</b>.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-4-8" class="manual-title-level-3">
|
||||
<h3 id="sec6-4-8" class="manual-title-level-3">
|
||||
notify_differences
|
||||
</h3>
|
||||
<p>If set to 1, the daemon logs a detailed list of file changes discovered
|
||||
|
|
@ -758,13 +908,13 @@ generated.
|
|||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec4-5" class="manual-title-level-2">
|
||||
Notification Examples:
|
||||
<h2 id="sec6-5" class="manual-title-level-2">
|
||||
Notification Examples
|
||||
</h2>
|
||||
<p>The following examples demonstrate common notification and heartbeat
|
||||
configurations
|
||||
</p><div class="manual-section-level-3">
|
||||
<h3 id="sec4-5-1" class="manual-title-level-3">
|
||||
<h3 id="sec6-5-1" class="manual-title-level-3">
|
||||
External Heartbeat Monitoring (Healthchecks.io)
|
||||
</h3>
|
||||
<p>To monitor that automated maintenance is running successfully, use a service
|
||||
|
|
@ -777,7 +927,7 @@ notify_heartbeat = curl -f --max-time 30 --retry 3 <a href="https://hc-ping.com/
|
|||
</pre>
|
||||
</div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-5-2" class="manual-title-level-3">
|
||||
<h3 id="sec6-5-2" class="manual-title-level-3">
|
||||
Push Notifications (ntfy.sh)
|
||||
</h3>
|
||||
<p>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
|
|||
</pre>
|
||||
</div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-5-3" class="manual-title-level-3">
|
||||
<h3 id="sec6-5-3" class="manual-title-level-3">
|
||||
Local System Mail (mail)
|
||||
</h3>
|
||||
<p>A traditional approach using the standard Linux mail utility. This is
|
||||
|
|
@ -799,7 +949,7 @@ notify_result = mail -s "%s" your_user@localhost
|
|||
</pre>
|
||||
</div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec4-5-4" class="manual-title-level-3">
|
||||
<h3 id="sec6-5-4" class="manual-title-level-3">
|
||||
Direct Delivery (SMTP-over-SSL)
|
||||
</h3>
|
||||
<p>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-
|
|||
</div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec5" class="manual-title-level-1">
|
||||
<h1 id="sec7" class="manual-title-level-1">
|
||||
REST API
|
||||
</h1>
|
||||
<p>The SnapRAID Daemon provides a comprehensive RESTful JSON interface
|
||||
|
|
@ -823,7 +973,7 @@ specific error codes, please refer to the <b>snapraidd.yaml</b> OpenAPI
|
|||
specification file typically located in the documentation directory of
|
||||
the installation.
|
||||
</p><div class="manual-section-level-2">
|
||||
<h2 id="sec5-1" class="manual-title-level-2">
|
||||
<h2 id="sec7-1" class="manual-title-level-2">
|
||||
Maintenance & Recovery
|
||||
</h2>
|
||||
<p>The API prioritizes orchestrated workflows over raw command execution.
|
||||
|
|
@ -833,7 +983,7 @@ recovery of data.
|
|||
They typically end with a <b>report</b> command that generates a notification
|
||||
with a full report of the result of the operation.
|
||||
</p><div class="manual-section-level-3">
|
||||
<h3 id="sec5-1-1" class="manual-title-level-3">
|
||||
<h3 id="sec7-1-1" class="manual-title-level-3">
|
||||
/snapraid/v1/maintenance
|
||||
</h3>
|
||||
<p>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.
|
||||
</p><p>Example:
|
||||
</p><pre>
|
||||
curl -X POST <a href="http://localhost:8080/snapraid/v1/maintenance">http://localhost:8080/snapraid/v1/maintenance</a>
|
||||
curl -X POST <a href="http://localhost:7627/snapraid/v1/maintenance">http://localhost:7627/snapraid/v1/maintenance</a>
|
||||
</pre>
|
||||
<p>It is implemented with the sequence of commands: up, diff, sync, scrub, and
|
||||
report.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec5-1-2" class="manual-title-level-3">
|
||||
<h3 id="sec7-1-2" class="manual-title-level-3">
|
||||
/snapraid/v1/heal
|
||||
</h3>
|
||||
<p>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.
|
||||
</p><p>Example:
|
||||
</p><pre>
|
||||
curl -X POST <a href="http://localhost:8080/snapraid/v1/heal">http://localhost:8080/snapraid/v1/heal</a>
|
||||
curl -X POST <a href="http://localhost:7627/snapraid/v1/heal">http://localhost:7627/snapraid/v1/heal</a>
|
||||
</pre>
|
||||
<p>It is implemented with the sequence of commands: up, fix -e, scrub -p bad,
|
||||
and report.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec5-1-3" class="manual-title-level-3">
|
||||
<h3 id="sec7-1-3" class="manual-title-level-3">
|
||||
/snapraid/v1/undelete
|
||||
</h3>
|
||||
<p>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.
|
||||
</p><p>Example:
|
||||
</p><pre>
|
||||
curl -s -X POST <a href="http://localhost:8080/snapraid/v1/undelete">http://localhost:8080/snapraid/v1/undelete</a> \
|
||||
curl -s -X POST <a href="http://localhost:7627/snapraid/v1/undelete">http://localhost:7627/snapraid/v1/undelete</a> \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{ "filters": [ "*.txt" ] }'
|
||||
</pre>
|
||||
|
|
@ -885,7 +1035,7 @@ curl -s -X POST <a href="http://localhost:8080/snapraid/v1/undelete">http://loca
|
|||
and report.
|
||||
</p></div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec5-1-4" class="manual-title-level-3">
|
||||
<h3 id="sec7-1-4" class="manual-title-level-3">
|
||||
/snapraid/v1/suspend_idle
|
||||
</h3>
|
||||
<p>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.
|
||||
</p><p>Example:
|
||||
</p><pre>
|
||||
curl -X POST <a href="http://localhost:8080/snapraid/v1/suspend_idle">http://localhost:8080/snapraid/v1/suspend_idle</a>
|
||||
curl -X POST <a href="http://localhost:7627/snapraid/v1/suspend_idle">http://localhost:7627/snapraid/v1/suspend_idle</a>
|
||||
</pre>
|
||||
<p>It is implemented with the sequence of commands: probe, down_idle.
|
||||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-2" class="manual-title-level-2">
|
||||
<h2 id="sec7-2" class="manual-title-level-2">
|
||||
Monitoring & Inventory
|
||||
</h2>
|
||||
<p>These endpoints provide high-level visibility into the global state of
|
||||
the storage stack and the health of the underlying physical hardware.
|
||||
</p><div class="manual-section-level-3">
|
||||
<h3 id="sec5-2-1" class="manual-title-level-3">
|
||||
<h3 id="sec7-2-1" class="manual-title-level-3">
|
||||
/snapraid/v1/array
|
||||
</h3>
|
||||
<p>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.
|
||||
</p><p>Example:
|
||||
</p><pre>
|
||||
curl -s <a href="http://localhost:8080/snapraid/v1/array">http://localhost:8080/snapraid/v1/array</a> | jq
|
||||
curl -s <a href="http://localhost:7627/snapraid/v1/array">http://localhost:7627/snapraid/v1/array</a> | jq
|
||||
</pre>
|
||||
</div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec5-2-2" class="manual-title-level-3">
|
||||
<h3 id="sec7-2-2" class="manual-title-level-3">
|
||||
/snapraid/v1/disks
|
||||
</h3>
|
||||
<p>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).
|
||||
</p><p>Example:
|
||||
</p><pre>
|
||||
curl -s <a href="http://localhost:8080/snapraid/v1/disks">http://localhost:8080/snapraid/v1/disks</a> | jq
|
||||
curl -s <a href="http://localhost:7627/snapraid/v1/disks">http://localhost:7627/snapraid/v1/disks</a> | jq
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-3" class="manual-title-level-2">
|
||||
<h2 id="sec7-3" class="manual-title-level-2">
|
||||
Configuration
|
||||
</h2>
|
||||
<p>Provides a programmatic interface to retrieve and modify the
|
||||
operational parameters of the daemon in real-time.
|
||||
</p><div class="manual-section-level-3">
|
||||
<h3 id="sec5-3-1" class="manual-title-level-3">
|
||||
<h3 id="sec7-3-1" class="manual-title-level-3">
|
||||
/snapraid/v1/config
|
||||
</h3>
|
||||
<p>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.
|
||||
</p><p>Example:
|
||||
</p><pre>
|
||||
curl -X GET <a href="http://localhost:8080/snapraid/v1/config">http://localhost:8080/snapraid/v1/config</a> | jq
|
||||
curl -X PATCH <a href="http://localhost:8080/snapraid/v1/config">http://localhost:8080/snapraid/v1/config</a> \
|
||||
curl -X GET <a href="http://localhost:7627/snapraid/v1/config">http://localhost:7627/snapraid/v1/config</a> | jq
|
||||
curl -X PATCH <a href="http://localhost:7627/snapraid/v1/config">http://localhost:7627/snapraid/v1/config</a> \
|
||||
-d '{ "probe_interval_minutes": 10 }'
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-4" class="manual-title-level-2">
|
||||
<h2 id="sec7-4" class="manual-title-level-2">
|
||||
Activity Control
|
||||
</h2>
|
||||
<p>All operations that modify the array state are asynchronous; they
|
||||
|
|
@ -966,7 +1116,7 @@ execution.
|
|||
</p><p>Because tasks run in the background, these endpoints are used to
|
||||
monitor progress and manage the execution lifecycle.
|
||||
</p><div class="manual-section-level-3">
|
||||
<h3 id="sec5-4-1" class="manual-title-level-3">
|
||||
<h3 id="sec7-4-1" class="manual-title-level-3">
|
||||
/snapraid/v1/activity
|
||||
</h3>
|
||||
<p>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.
|
||||
</p><p>Example:
|
||||
</p><pre>
|
||||
curl -s <a href="http://localhost:8080/snapraid/v1/activity">http://localhost:8080/snapraid/v1/activity</a> | jq
|
||||
curl -s <a href="http://localhost:7627/snapraid/v1/activity">http://localhost:7627/snapraid/v1/activity</a> | jq
|
||||
</pre>
|
||||
</div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec5-4-2" class="manual-title-level-3">
|
||||
<h3 id="sec7-4-2" class="manual-title-level-3">
|
||||
/snapraid/v1/tasks
|
||||
</h3>
|
||||
<p>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.
|
||||
</p><p>Example:
|
||||
</p><pre>
|
||||
curl -s <a href="http://localhost:8080/snapraid/v1/tasks">http://localhost:8080/snapraid/v1/tasks</a> | jq
|
||||
curl -s <a href="http://localhost:7627/snapraid/v1/tasks">http://localhost:7627/snapraid/v1/tasks</a> | jq
|
||||
</pre>
|
||||
</div>
|
||||
<div class="manual-section-level-3">
|
||||
<h3 id="sec5-4-3" class="manual-title-level-3">
|
||||
<h3 id="sec7-4-3" class="manual-title-level-3">
|
||||
/snapraid/v1/stop
|
||||
</h3>
|
||||
<p>Terminates the currently running task (such as sync or scrub) by
|
||||
sending a SIGTERM signal to the background process.
|
||||
</p><p>Example:
|
||||
</p><pre>
|
||||
curl -X POST <a href="http://localhost:8080/snapraid/v1/stop">http://localhost:8080/snapraid/v1/stop</a>
|
||||
curl -X POST <a href="http://localhost:7627/snapraid/v1/stop">http://localhost:7627/snapraid/v1/stop</a>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-5" class="manual-title-level-2">
|
||||
<h2 id="sec7-5" class="manual-title-level-2">
|
||||
State and Cache Management
|
||||
</h2>
|
||||
<p>To optimize performance and support lightweight monitoring (such as
|
||||
desktop status bars), the daemon implements a state synchronization
|
||||
mechanism via the /v1/state endpoint.
|
||||
</p><div class="manual-section-level-3">
|
||||
<h3 id="sec5-5-1" class="manual-title-level-3">
|
||||
<h3 id="sec7-5-1" class="manual-title-level-3">
|
||||
/snapraid/v1/state
|
||||
</h3>
|
||||
<p>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.
|
||||
</p><p>Example:
|
||||
</p><pre>
|
||||
curl -X GET <a href="http://localhost:8080/snapraid/v1/state">http://localhost:8080/snapraid/v1/state</a> | jq
|
||||
curl -X GET <a href="http://localhost:7627/snapraid/v1/state">http://localhost:7627/snapraid/v1/state</a> | jq
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-6" class="manual-title-level-2">
|
||||
<h2 id="sec7-6" class="manual-title-level-2">
|
||||
Schedule
|
||||
</h2>
|
||||
<p>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.
|
||||
</p><div class="manual-section-level-3">
|
||||
<h3 id="sec5-6-1" class="manual-title-level-3">
|
||||
<h3 id="sec7-6-1" class="manual-title-level-3">
|
||||
/snapraid/v1/schedule
|
||||
</h3>
|
||||
<p>Queues a sequence of standard SnapRAID operations.
|
||||
</p><p>Example:
|
||||
</p><pre>
|
||||
curl -X POST <a href="http://localhost:8080/snapraid/v1/schedule">http://localhost:8080/snapraid/v1/schedule</a> \
|
||||
curl -X POST <a href="http://localhost:7627/snapraid/v1/schedule">http://localhost:7627/snapraid/v1/schedule</a> \
|
||||
-d '{"tasks": [{"command": "diff"}, {"command": "report"}]}'
|
||||
</pre>
|
||||
<p>Supported Commands:
|
||||
|
|
@ -1161,7 +1311,7 @@ have exceeded the 'spindown_idle_minutes' threshold.
|
|||
</div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec6" class="manual-title-level-1">
|
||||
<h1 id="sec8" class="manual-title-level-1">
|
||||
Signals
|
||||
</h1>
|
||||
<p>This section defines how the daemon responds to standard Unix signals,
|
||||
|
|
@ -1196,7 +1346,7 @@ performed.
|
|||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec7" class="manual-title-level-1">
|
||||
<h1 id="sec9" class="manual-title-level-1">
|
||||
Files
|
||||
</h1>
|
||||
<p>The following list specifies the default filesystem paths used by the
|
||||
|
|
|
|||
|
|
@ -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
|
||||
</pre>
|
||||
<pre>
|
||||
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT]
|
||||
|
|
@ -359,7 +359,7 @@ markiert.
|
|||
Pooling
|
||||
</h2>
|
||||
<p>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 <b>sync</b> und <b>scrub</b> statt.
|
|||
Funktionalität bei, mit der einzigen Ausnahme, dass <b>dup</b> keine
|
||||
doppelten Dateien mit einem anderen Hash erkennen kann.
|
||||
</p></div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-17" class="manual-title-level-2">
|
||||
locate
|
||||
</h2>
|
||||
<p>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.
|
||||
</p><p>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.
|
||||
</p><p>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.
|
||||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec6" class="manual-title-level-1">
|
||||
|
|
@ -1195,6 +1209,19 @@ einen Multiplikator wie K, M oder G angeben (z.B. --bw-limit 1G).
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-t, --tail GRÖSSE
|
||||
</div><div class="manual-option-description">
|
||||
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
|
||||
<b>locate</b> gültig.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-A, --stats
|
||||
</div><div class="manual-option-description">
|
||||
Aktiviert eine erweiterte Statusansicht, die zusätzliche
|
||||
|
|
@ -1345,6 +1372,34 @@ Sie haben während der <b>sync</b>-Operation KEINEN Datenschutz.
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-W, --force-realloc-tail GRÖSSE
|
||||
</div><div class="manual-option-description">
|
||||
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 <b>sync</b>-Vorgangs besteht für die betroffenen Dateien
|
||||
KEIN Datenschutz.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-l, --log FILE
|
||||
</div><div class="manual-option-description">
|
||||
Schreibt ein detailliertes Protokoll in die angegebene Datei.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
</pre>
|
||||
<pre>
|
||||
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT]
|
||||
|
|
@ -348,7 +348,7 @@ se marcan como defectuosos.
|
|||
Pooling
|
||||
</h2>
|
||||
<p>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 <b>sync</b> y <b>scrub</b>.
|
|||
completa, con la única excepción de que <b>dup</b> no puede detectar
|
||||
archivos duplicados utilizando un hash diferente.
|
||||
</p></div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-17" class="manual-title-level-2">
|
||||
locate
|
||||
</h2>
|
||||
<p>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.
|
||||
</p><p>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.
|
||||
</p><p>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.
|
||||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec6" class="manual-title-level-1">
|
||||
|
|
@ -1148,6 +1162,19 @@ multiplicador como K, M o G (por ejemplo, --bw-limit 1G).
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-t, --tail TAMAÑO
|
||||
</div><div class="manual-option-description">
|
||||
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
|
||||
<b>locate</b>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-A, --stats
|
||||
</div><div class="manual-option-description">
|
||||
Habilita una vista de estado extendida que muestra información
|
||||
|
|
@ -1297,6 +1324,34 @@ NO tiene protección de datos durante la operación <b>sync</b>.
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-W, --force-realloc-tail TAMAÑO
|
||||
</div><div class="manual-option-description">
|
||||
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 <b>sync</b>
|
||||
para los archivos afectados.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-l, --log FILE
|
||||
</div><div class="manual-option-description">
|
||||
Escribe un registro detallado en el archivo especificado.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
</pre>
|
||||
<pre>
|
||||
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENU]
|
||||
|
|
@ -354,7 +354,7 @@ ne sont pas marqués comme mauvais.
|
|||
Mise en commun (Pooling)
|
||||
</h2>
|
||||
<p>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 <b>sync</b> et <b>scrub</b>.
|
|||
fonctionnalités, à la seule exception que <b>dup</b> ne peut pas
|
||||
détecter les fichiers en double utilisant un hachage différent.
|
||||
</p></div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-17" class="manual-title-level-2">
|
||||
locate
|
||||
</h2>
|
||||
<p>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.
|
||||
</p><p>Vous pouvez utiliser l'option -t, --tail pour restreindre l'opération aux fichiers
|
||||
occupant la partie terminale spécifiée de la parité.
|
||||
</p><p>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.
|
||||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec6" class="manual-title-level-1">
|
||||
|
|
@ -1175,6 +1189,19 @@ un multiplicateur tel que K, M ou G (par exemple, --bw-limit 1G).
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-t, --tail TAILLE
|
||||
</div><div class="manual-option-description">
|
||||
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 <b>locate</b>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-A, --stats
|
||||
</div><div class="manual-option-description">
|
||||
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 <b>sync</b>.
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-W, --force-realloc-tail TAILLE
|
||||
</div><div class="manual-option-description">
|
||||
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 <b>sync</b>
|
||||
pour les fichiers affectés.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-l, --log FICHIER
|
||||
</div><div class="manual-option-description">
|
||||
Écrit un journal détaillé dans le fichier spécifié.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
</pre>
|
||||
<pre>
|
||||
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT]
|
||||
|
|
@ -349,7 +349,7 @@ come bad.
|
|||
Pooling
|
||||
</h2>
|
||||
<p>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 <b>sync</b> e <b>scrub</b>.
|
|||
con l'unica eccezione che <b>dup</b> non è in grado di rilevare file
|
||||
duplicati utilizzando un hash diverso.
|
||||
</p></div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-17" class="manual-title-level-2">
|
||||
locate
|
||||
</h2>
|
||||
<p>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.
|
||||
</p><p>È 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.
|
||||
</p><p>Si tenga presente che tali file non saranno protetti dalla parità durante
|
||||
il processo di riallocazione.
|
||||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec6" class="manual-title-level-1">
|
||||
|
|
@ -1162,7 +1176,20 @@ arrestati in modo sicuro anche in caso di errore di un comando.
|
|||
</div><div class="manual-option-description">
|
||||
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).
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-t, --tail DIMENSIONE
|
||||
</div><div class="manual-option-description">
|
||||
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
|
||||
<b>locate</b>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -1321,6 +1348,34 @@ NON si ha protezione dei dati durante l'operazione <b>sync</b>.
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-W, --force-realloc-tail DIMENSIONE
|
||||
</div><div class="manual-option-description">
|
||||
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 <b>sync</b>
|
||||
per i file interessati.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-l, --log FILE
|
||||
</div><div class="manual-option-description">
|
||||
Scrive un log dettagliato nel file specificato.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
</pre>
|
||||
<pre>
|
||||
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT]
|
||||
|
|
@ -326,8 +326,8 @@ snapraid -p bad scrub
|
|||
<h2 id="sec4-2" class="manual-title-level-2">
|
||||
Pooling
|
||||
</h2>
|
||||
<p>注: ここで説明するプーリング機能は、**mergefs** ツールに取って代わられました。
|
||||
mergefs は、SnapRAIDコミュニティのLinuxユーザーに推奨されるオプションです。
|
||||
<p>注: ここで説明するプーリング機能は、**mergerfs** ツールに取って代わられました。
|
||||
mergerfs は、SnapRAIDコミュニティのLinuxユーザーに推奨されるオプションです。
|
||||
Mergefs は、複数のドライブを単一の統合されたマウントポイントにプールするための、
|
||||
より柔軟で効率的な方法を提供し、シンボリックリンクに頼ることなくアレイ全体の
|
||||
ファイルにシームレスにアクセスできます。これは、パリティ保護のためにSnapRAIDと
|
||||
|
|
@ -920,6 +920,26 @@ rehash
|
|||
</p><p>リハッシュ中もSnapRAIDは完全な機能を維持しますが、唯一の例外として、
|
||||
<b>dup</b> は異なるハッシュを使用している重複ファイルを検出できません。
|
||||
</p></div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-17" class="manual-title-level-2">
|
||||
locate
|
||||
</h2>
|
||||
<p>パリティディスクに保存されているファイルを検索します。一致する各ファイルについて、
|
||||
パリティファイル内での位置と、それが占有するフラグメントの数を出力します。
|
||||
</p><div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-t, --tail オプションを使用すると、パリティの指定された末尾部分を占有する
|
||||
</div><div class="manual-option-description">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>ファイルに操作を制限できます。
|
||||
</p><p>これらのファイルを再配置したい場合は、-W, --force-realloc-tail オプションを
|
||||
使用できます。
|
||||
再配置プロセス中、これらのファイルはパリティによって保護されないことに
|
||||
注意してください。
|
||||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec6" class="manual-title-level-1">
|
||||
|
|
@ -1101,6 +1121,19 @@ DAYS は、ブロックがスクラブされるための最小経過日数であ
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-t, --tail サイズ
|
||||
</div><div class="manual-option-description">
|
||||
ファイルリストを、パリティディスクの指定された末尾サイズ以下を
|
||||
使用しているものに制限します。
|
||||
K、M、G、T などの倍数を使用できます(例:--tail 1G)。
|
||||
このオプションは、<b>locate</b> コマンドと一緒に使用された場合にのみ
|
||||
有効です。
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-A, --stats
|
||||
</div><div class="manual-option-description">
|
||||
追加情報を表示する拡張ステータスビューを有効にします。
|
||||
|
|
@ -1227,6 +1260,33 @@ SnapRAIDが一部のディスクがUUIDを変更したことを検出した場
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-W, --force-realloc-tail サイズ
|
||||
</div><div class="manual-option-description">
|
||||
-R, --force-realloc と同様に動作しますが、各パリティファイルの
|
||||
指定された末尾部分(最後の「サイズ」バイト)に制限されます。
|
||||
現在その末尾セクションに保存されているファイルフラグメント/ブロックの
|
||||
再配置(移動)を強制し、空きスペースがあるパリティファイル内の
|
||||
任意の場所(既存のホールを含む)に配置できるようにします。
|
||||
このオプションの主な目的は、パリティファイルのディスク上でのサイズを
|
||||
縮小することです。
|
||||
再配置によって末尾セクション全体が正常にクリアされた場合
|
||||
(それを使用するブロックが残っていない場合)、パリティファイルは
|
||||
切り詰められ、未使用の末尾スペースが回収されます。
|
||||
K、M、G、T などの倍数を使用できます(例:
|
||||
--force-realloc-tail 1G)。
|
||||
locate -t, --tail を使用して、影響を受けるファイルを事前に
|
||||
知ることができます。
|
||||
警告!
|
||||
このオプションはエキスパート専用であり、使用しないことが
|
||||
強く推奨されます。
|
||||
影響を受けるファイルについては、<b>sync</b> 操作中にデータ保護は
|
||||
行われません。
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-l, --log FILE
|
||||
</div><div class="manual-option-description">
|
||||
詳細なログを指定されたファイルに書き込みます。
|
||||
|
|
|
|||
|
|
@ -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
|
||||
</pre>
|
||||
<pre>
|
||||
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT]
|
||||
|
|
@ -336,7 +336,7 @@ snapraid -p bad scrub
|
|||
<h2 id="sec4-2" class="manual-title-level-2">
|
||||
Pooling
|
||||
</h2>
|
||||
<p>참고: 아래에 설명된 풀링(pooling) 기능은 **mergefs** 도구로 대체되었으며,
|
||||
<p>참고: 아래에 설명된 풀링(pooling) 기능은 **mergerfs** 도구로 대체되었으며,
|
||||
이는 SnapRAID 커뮤니티에서 Linux 사용자를 위한 권장 옵션입니다.
|
||||
Mergefs는 여러 드라이브를 단일 통합 마운트 지점으로 풀링하는 더 유연하고
|
||||
효율적인 방법을 제공하여, 심볼릭 링크에 의존하지 않고 어레이 전체의
|
||||
|
|
@ -938,6 +938,27 @@ rehash
|
|||
</p><p>재해시 중에도 SnapRAID는 전체 기능을 유지하며, 유일한 예외는
|
||||
<b>dup</b>가 다른 해시를 사용하는 중복 파일을 감지할 수 없다는 것입니다.
|
||||
</p></div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-17" class="manual-title-level-2">
|
||||
locate
|
||||
</h2>
|
||||
<p>패리티 디스크에 저장된 파일을 찾습니다. 일치하는 각 파일에 대해
|
||||
패리티 파일 내의 위치와 점유하고 있는 조각(fragment)의 수를
|
||||
출력합니다.
|
||||
</p><div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-t, --tail 옵션을 사용하여 패리티의 지정된 꼬리(tail) 부분을 점유하는
|
||||
</div><div class="manual-option-description">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>파일로 작업을 제한할 수 있습니다.
|
||||
</p><p>이 파일들을 재할당하려면 -W, --force-realloc-tail 옵션을
|
||||
사용할 수 있습니다.
|
||||
재할당 과정 동안 해당 파일들은 패리티에 의해 보호되지 않으므로
|
||||
주의하십시오.
|
||||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec6" class="manual-title-level-1">
|
||||
|
|
@ -1121,6 +1142,18 @@ bad로 표시된 블록은 이 옵션에 관계없이 항상 스크럽됩니다.
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-t, --tail 크기
|
||||
</div><div class="manual-option-description">
|
||||
패리티 디스크의 지정된 꼬리 크기 이하를 사용하는 파일로
|
||||
목록을 제한합니다.
|
||||
K, M, G, T와 같은 배수를 사용할 수 있습니다 (예: --tail 1G).
|
||||
이 옵션은 <b>locate</b> 명령과 함께 사용할 때만 유효합니다.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-A, --stats
|
||||
</div><div class="manual-option-description">
|
||||
추가 정보를 보여주는 확장된 상태 보기를 활성화합니다.
|
||||
|
|
@ -1262,6 +1295,31 @@ content 파일에 있는 해시를 재사용하여 데이터를 검증하고
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-W, --force-realloc-tail 크기
|
||||
</div><div class="manual-option-description">
|
||||
-R, --force-realloc과 같이 작동하지만, 각 패리티 파일의 지정된
|
||||
꼬리 부분(마지막 '크기' 바이트)으로 제한됩니다.
|
||||
현재 해당 꼬리 섹션에 저장된 모든 파일 조각/블록의 재할당(이동)을
|
||||
강제하여, 여유 공간이 있는 패리티 파일 내의 어느 곳이든(기존
|
||||
빈 공간 포함) 배치될 수 있도록 합니다.
|
||||
이 옵션의 주요 목적은 패리티 파일의 디스크상 크기를 줄이는 것입니다.
|
||||
재할당을 통해 전체 꼬리 섹션이 성공적으로 비워지면(남은 블록이 없음),
|
||||
패리티 파일이 잘리고(truncated) 사용되지 않는 꼬리 공간을 회수합니다.
|
||||
K, M, G, T와 같은 배수를 사용할 수 있습니다 (예:
|
||||
--force-realloc-tail 1G).
|
||||
locate -t, --tail을 사용하여 영향을 받는 파일을 사전에
|
||||
확인할 수 있습니다.
|
||||
경고!
|
||||
이 옵션은 전문가 전용이며, 사용하지 않을 것을 강력히
|
||||
권장합니다.
|
||||
영향을 받는 파일에 대해서는 <b>sync</b> 작업 동안 데이터 보호를
|
||||
받을 수 없습니다.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-l, --log FILE
|
||||
</div><div class="manual-option-description">
|
||||
지정된 파일에 자세한 로그를 기록합니다.
|
||||
|
|
|
|||
|
|
@ -3542,7 +3542,7 @@ The raw flags value (uint, hexadecimal).
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
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>
|
||||
</div><div class="manual-option-description">
|
||||
Logs the raw value of any assigned SMART attribute.
|
||||
</div>
|
||||
|
|
@ -3558,18 +3558,67 @@ The SMART attribute ID (uint).
|
|||
</div>
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
<value_decimal>
|
||||
<raw_decimal>
|
||||
</div><div class="manual-tag-description">
|
||||
The raw attribute value (uint, decimal).
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
<value_hex>
|
||||
<raw_hex>
|
||||
</div><div class="manual-tag-description">
|
||||
The raw attribute value (uint, hexadecimal).
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
<norm>
|
||||
</div><div class="manual-tag-description">
|
||||
The normalized value (uint).
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
<worst>
|
||||
</div><div class="manual-tag-description">
|
||||
The worst value (uint).
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
<thresh>
|
||||
</div><div class="manual-tag-description">
|
||||
The threshold value (uint).
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
<name>
|
||||
</div><div class="manual-tag-description">
|
||||
Name of the attribute.
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
<type>
|
||||
</div><div class="manual-tag-description">
|
||||
Type of the attribute: <b>prefail</b> or <b>oldage</b>.
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
<updated>
|
||||
</div><div class="manual-tag-description">
|
||||
Update method of the attribute: <b>always</b> or <b>offline</b>.
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-tag-entry">
|
||||
<div class="manual-tag-name">
|
||||
<when_failed>
|
||||
</div><div class="manual-tag-description">
|
||||
If and when the attribute failed: <b>never</b> or <b>past</b> or <b>now</b>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
|
|
|
|||
|
|
@ -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
|
||||
</pre>
|
||||
<pre>
|
||||
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT]
|
||||
|
|
@ -343,7 +343,7 @@ w wyniku <b>scrub</b>, ale powiązane bloki nie są oznaczane jako złe.
|
|||
Pooling
|
||||
</h2>
|
||||
<p>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 <b>sync</b> i <b>scrub</b>.
|
|||
z jedynym wyjątkiem, że <b>dup</b> nie może wykryć zduplikowanych
|
||||
plików używających innego hasza.
|
||||
</p></div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-17" class="manual-title-level-2">
|
||||
locate
|
||||
</h2>
|
||||
<p>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.
|
||||
</p><p>Możesz użyć opcji -t, --tail, aby ograniczyć operację do plików zajmujących
|
||||
określoną końcową część parzystości.
|
||||
</p><p>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.
|
||||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec6" class="manual-title-level-1">
|
||||
|
|
@ -1101,6 +1115,19 @@ taki jak K, M lub G (np. --bw-limit 1G).
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-t, --tail ROZMIAR
|
||||
</div><div class="manual-option-description">
|
||||
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
|
||||
<b>locate</b>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-A, --stats
|
||||
</div><div class="manual-option-description">
|
||||
Włącza rozszerzony widok statusu, który pokazuje dodatkowe informacje.
|
||||
|
|
@ -1242,6 +1269,34 @@ NIE MASZ ochrony danych podczas operacji <b>sync</b>.
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-W, --force-realloc-tail ROZMIAR
|
||||
</div><div class="manual-option-description">
|
||||
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 <b>sync</b> pliki, których to dotyczy, NIE mają ochrony
|
||||
danych.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-l, --log FILE
|
||||
</div><div class="manual-option-description">
|
||||
Zapisuje szczegółowy log do określonego pliku.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
</pre>
|
||||
<pre>
|
||||
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
|
||||
</h2>
|
||||
<p>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 <b>sync</b> e <b>scrub</b>.
|
|||
com a única exceção de que <b>dup</b> não pode detectar arquivos duplicados
|
||||
usando um hash diferente.
|
||||
</p></div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-17" class="manual-title-level-2">
|
||||
locate
|
||||
</h2>
|
||||
<p>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.
|
||||
</p><p>Você pode usar a opção -t, --tail para restringir a operação aos arquivos
|
||||
que ocupam a parte final especificada da paridade.
|
||||
</p><p>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.
|
||||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec6" class="manual-title-level-1">
|
||||
|
|
@ -1124,6 +1138,19 @@ multiplicador como K, M ou G (por exemplo, --bw-limit 1G).
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-t, --tail TAMANHO
|
||||
</div><div class="manual-option-description">
|
||||
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
|
||||
<b>locate</b>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-A, --stats
|
||||
</div><div class="manual-option-description">
|
||||
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 <b>sync</b>.
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-W, --force-realloc-tail TAMANHO
|
||||
</div><div class="manual-option-description">
|
||||
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 <b>sync</b> para os
|
||||
arquivos afetados.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-l, --log FILE
|
||||
</div><div class="manual-option-description">
|
||||
Escreve um log detalhado para o arquivo especificado.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
</pre>
|
||||
<pre>
|
||||
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT]
|
||||
|
|
@ -341,7 +341,7 @@ dar blocurile aferente nu sunt marcate ca defecte.
|
|||
Pooling (Agregare)
|
||||
</h2>
|
||||
<p>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 <b>sync</b> și <b>scrub</b>.
|
|||
cu singura excepție că <b>dup</b> nu poate detecta fișierele duplicate
|
||||
folosind un hash diferit.
|
||||
</p></div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-17" class="manual-title-level-2">
|
||||
locate
|
||||
</h2>
|
||||
<p>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ă.
|
||||
</p><p>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.
|
||||
</p><p>Rețineți că astfel de fișiere nu vor fi protejate de paritate în timpul procesului
|
||||
de realocare.
|
||||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec6" class="manual-title-level-1">
|
||||
|
|
@ -1097,6 +1111,19 @@ cum ar fi K, M sau G (de exemplu, --bw-limit 1G).
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-t, --tail DIMENSIUNE
|
||||
</div><div class="manual-option-description">
|
||||
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 <b>locate</b>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-A, --stats
|
||||
</div><div class="manual-option-description">
|
||||
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 <b>sync</b>.
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-W, --force-realloc-tail DIMENSIUNE
|
||||
</div><div class="manual-option-description">
|
||||
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 <b>sync</b>
|
||||
pentru fișierele afectate.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-l, --log FILE
|
||||
</div><div class="manual-option-description">
|
||||
Scrie un jurnal detaliat în fișierul specificat.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
</pre>
|
||||
<pre>
|
||||
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT]
|
||||
|
|
@ -340,7 +340,7 @@ snapraid -p bad scrub
|
|||
Pooling
|
||||
</h2>
|
||||
<p>Примечание: Функция объединения (pooling), описанная ниже, была заменена инструментом
|
||||
mergefs, который теперь является рекомендуемым вариантом для пользователей Linux
|
||||
mergerfs, который теперь является рекомендуемым вариантом для пользователей Linux
|
||||
в сообществе SnapRAID. Mergefs предоставляет более гибкий и эффективный
|
||||
способ объединения нескольких дисков в единую точку монтирования,
|
||||
обеспечивая беспрепятственный доступ к файлам по всему массиву без
|
||||
|
|
@ -913,6 +913,20 @@ MurmurHash3 на более быстрый SpookyHash.
|
|||
за единственным исключением, что <b>dup</b> не может обнаружить дублирующиеся
|
||||
файлы, использующие другой хэш.
|
||||
</p></div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-17" class="manual-title-level-2">
|
||||
locate
|
||||
</h2>
|
||||
<p>Находит файлы, хранящиеся на дисках четности. Для каждого найденного файла
|
||||
выводится его расположение внутри файла четности и количество занимаемых
|
||||
им фрагментов.
|
||||
</p><p>Вы можете использовать параметр -t, --tail, чтобы ограничить операцию файлами,
|
||||
занимающими указанную хвостовую часть четности.
|
||||
</p><p>Если вы хотите перераспределить эти файлы, вы можете использовать параметр
|
||||
-W, --force-realloc-tail.
|
||||
Имейте в виду, что такие файлы не будут защищены четностью во время процесса
|
||||
перераспределения.
|
||||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec6" class="manual-title-level-1">
|
||||
|
|
@ -1102,6 +1116,19 @@ DAYS — это минимальный возраст в днях для бло
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-t, --tail РАЗМЕР
|
||||
</div><div class="manual-option-description">
|
||||
Ограничивает список файлов теми, которые используют не более
|
||||
указанного размера хвоста дисков четности.
|
||||
Можно использовать множители, такие как K, M, G или T (например, --tail 1G).
|
||||
Этот параметр действителен только при использовании вместе с
|
||||
командой <b>locate</b>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-A, --stats
|
||||
</div><div class="manual-option-description">
|
||||
Включает расширенный вид статуса, который показывает дополнительную информацию.
|
||||
|
|
@ -1245,6 +1272,34 @@ DAYS — это минимальный возраст в днях для бло
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-W, --force-realloc-tail РАЗМЕР
|
||||
</div><div class="manual-option-description">
|
||||
Работает как -R, --force-realloc, но ограничивается указанной хвостовой
|
||||
частью (последние РАЗМЕР байт) каждого файла четности.
|
||||
Принудительно перераспределяет (перемещает) любые фрагменты/блоки файлов,
|
||||
хранящиеся в данный момент в этой хвостовой части, позволяя разместить
|
||||
их в любом месте файла(ов) четности, где есть свободное место
|
||||
(включая существующие пустоты).
|
||||
Основная цель этого параметра — уменьшить занимаемый на диске
|
||||
размер файла четности.
|
||||
Если перераспределение успешно очистит всю хвостовую часть
|
||||
(в ней не останется блоков), файл четности будет обрезан, высвобождая
|
||||
неиспользуемое хвостовое пространство.
|
||||
Можно использовать множители, такие как K, M, G или T (например,
|
||||
--force-realloc-tail 1G).
|
||||
Вы можете использовать locate -t, --tail, чтобы заранее узнать
|
||||
затронутые файлы.
|
||||
ВНИМАНИЕ!
|
||||
Этот параметр предназначен только для экспертов, и его настоятельно
|
||||
не рекомендуется использовать.
|
||||
Во время операции <b>sync</b> защита данных для затронутых файлов
|
||||
ОТСУТСТВУЕТ.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-l, --log FILE
|
||||
</div><div class="manual-option-description">
|
||||
Записывает подробный журнал в указанный файл.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
</pre>
|
||||
<pre>
|
||||
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT]
|
||||
|
|
@ -342,7 +342,7 @@ utdata, men de relaterade blocken markeras inte som dåliga.
|
|||
Poolning
|
||||
</h2>
|
||||
<p>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 <b>sync</b> och <b>scrub</b>.
|
|||
med det enda undantaget att <b>dup</b> inte kan upptäcka dubbletter
|
||||
med hjälp av en annan hash.
|
||||
</p></div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-17" class="manual-title-level-2">
|
||||
locate
|
||||
</h2>
|
||||
<p>Lokaliserar filer som lagras på paritetsdiskarna. För varje matchande fil
|
||||
skrivs dess plats i paritetsfilen och antalet fragment den upptar ut.
|
||||
</p><p>Du kan använda alternativet -t, --tail för att begränsa åtgärden till filer som
|
||||
upptar den angivna slutdelen (tail) av pariteten.
|
||||
</p><p>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.
|
||||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec6" class="manual-title-level-1">
|
||||
|
|
@ -1105,6 +1118,19 @@ som K, M eller G (t.ex. --bw-limit 1G).
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-t, --tail STORLEK
|
||||
</div><div class="manual-option-description">
|
||||
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 <b>locate</b>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-A, --stats
|
||||
</div><div class="manual-option-description">
|
||||
Aktiverar en utökad statusvy som visar ytterligare information.
|
||||
|
|
@ -1247,6 +1273,33 @@ Du HAR INGET dataskydd under <b>sync</b>-operationen.
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-W, --force-realloc-tail STORLEK
|
||||
</div><div class="manual-option-description">
|
||||
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 <b>sync</b>-åtgärden för de berörda filerna.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-l, --log FILE
|
||||
</div><div class="manual-option-description">
|
||||
Skriver en detaljerad logg till den specificerade filen.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
</pre>
|
||||
<pre>
|
||||
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT]
|
||||
|
|
@ -360,7 +360,7 @@ snapraid -p bad scrub
|
|||
Об'єднання (Pooling)
|
||||
</h2>
|
||||
<p>Примітка: Функція об'єднання, описана нижче, була замінена
|
||||
інструментом mergefs, який тепер є рекомендованою опцією для
|
||||
інструментом mergerfs, який тепер є рекомендованою опцією для
|
||||
користувачів Linux у спільноті SnapRAID. Mergefs забезпечує
|
||||
більш гнучкий та ефективний спосіб об'єднання кількох дисків
|
||||
в єдину уніфіковану точку монтування, дозволяючи безперешкодний
|
||||
|
|
@ -998,6 +998,20 @@ rehash
|
|||
функціональність, за єдиним винятком, що <b>dup</b> не може
|
||||
виявити дублікати файлів, використовуючи інший хеш.
|
||||
</p></div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-17" class="manual-title-level-2">
|
||||
locate
|
||||
</h2>
|
||||
<p>Знаходить файли, що зберігаються на дисках парності. Для кожного знайденого
|
||||
файлу виводиться його розташування всередині файлу парності та кількість
|
||||
фрагментів, які він займає.
|
||||
</p><p>Ви можете використовувати параметр -t, --tail, щоб обмежити операцію файлами,
|
||||
що займають зазначену кінцеву частину (хвіст) парності.
|
||||
</p><p>Якщо ви хочете перерозподілити ці файли, ви можете скористатися параметром
|
||||
-W, --force-realloc-tail.
|
||||
Майте на увазі, що такі файли не будуть захищені парністю під час процесу
|
||||
перерозподілу.
|
||||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec6" class="manual-title-level-1">
|
||||
|
|
@ -1203,6 +1217,18 @@ DAYS — це мінімальний вік у днях для блоку, як
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-t, --tail РОЗМІР
|
||||
</div><div class="manual-option-description">
|
||||
Обмежує список файлів тими, що використовують не більше зазначеного
|
||||
розміру хвоста дисків парності.
|
||||
Можна використовувати множники, такі як K, M, G або T (наприклад, --tail 1G).
|
||||
Цей параметр дійсний лише при використанні разом із командою <b>locate</b>.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-A, --stats
|
||||
</div><div class="manual-option-description">
|
||||
Вмикає розширений перегляд стану, який показує
|
||||
|
|
@ -1361,6 +1387,32 @@ ext3/ext4.
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-W, --force-realloc-tail РОЗМІР
|
||||
</div><div class="manual-option-description">
|
||||
Працює як -R, --force-realloc, але обмежується вказаною кінцевою
|
||||
частиною (останні РОЗМІР байт) кожного файлу парності.
|
||||
Примусово перерозподіляє (переміщує) будь-які фрагменти/блоки файлів,
|
||||
що наразі зберігаються в цій кінцевій секції, дозволяючи розмістити
|
||||
їх будь-де у файлі(ах) парності, де є вільне місце (включно з
|
||||
наявними пустотами).
|
||||
Основна мета цього параметра — зменшити розмір файлу парності на диску.
|
||||
Якщо перерозподіл успішно очистить всю кінцеву секцію (у ній не
|
||||
залишиться блоків), файл парності буде обрізаний, вивільняючи
|
||||
невикористаний простір хвоста.
|
||||
Можна використовувати множники, такі як K, M, G або T (наприклад,
|
||||
--force-realloc-tail 1G).
|
||||
Ви можете використовувати locate -t, --tail, щоб заздалегідь дізнатися
|
||||
про зачеплені файли.
|
||||
УВАГА!
|
||||
Цей параметр призначений лише для експертів, і його настійно
|
||||
не рекомендується використовувати.
|
||||
Під час операції <b>sync</b> захист даних для зачеплених файлів ВІДСУТНІЙ.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-l, --log FILE
|
||||
</div><div class="manual-option-description">
|
||||
Записує детальний журнал у вказаний файл.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
</pre>
|
||||
<pre>
|
||||
snapraid [-V, --version] [-H, --help] [-C, --gen-conf CONTENT]
|
||||
|
|
@ -312,8 +312,8 @@ snapraid -p bad scrub
|
|||
<h2 id="sec4-2" class="manual-title-level-2">
|
||||
Pooling
|
||||
</h2>
|
||||
<p>注意:下面描述的 pooling 功能已被 mergefs 工具取代,
|
||||
mergefs 现在是 SnapRAID 社区推荐的 Linux 用户选项。
|
||||
<p>注意:下面描述的 pooling 功能已被 mergerfs 工具取代,
|
||||
mergerfs 现在是 SnapRAID 社区推荐的 Linux 用户选项。
|
||||
Mergefs 提供了一种更灵活、更高效的方式,将多个驱动器汇集到一个
|
||||
统一的挂载点中,允许跨阵列无缝访问文件,而无需依赖符号链接。
|
||||
它与 SnapRAID 很好地集成以提供奇偶校验保护,常用于
|
||||
|
|
@ -840,6 +840,17 @@ rehash
|
|||
</p><p>在重新散列期间,SnapRAID 保持完全功能,
|
||||
唯一的例外是 <b>dup</b> 无法使用不同的散列检测重复的文件。
|
||||
</p></div>
|
||||
<div class="manual-section-level-2">
|
||||
<h2 id="sec5-17" class="manual-title-level-2">
|
||||
locate
|
||||
</h2>
|
||||
<p>查找存储在校验盘中的文件。对于每个匹配的文件,它会打印其在校验文件中的位置
|
||||
以及占用的分片数量。
|
||||
</p><p>您可以使用 -t, --tail 选项将操作限制在占用校验盘指定尾部部分的
|
||||
文件上。
|
||||
</p><p>如果您想重新分配这些文件,可以使用 -W, --force-realloc-tail 选项。
|
||||
请注意,在重新分配过程中,此类文件将不受校验保护。
|
||||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
<h1 id="sec6" class="manual-title-level-1">
|
||||
|
|
@ -1017,6 +1028,17 @@ DAYS 是块被 scrub 的最小天数;默认值为 10。
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-t, --tail 大小
|
||||
</div><div class="manual-option-description">
|
||||
将文件列表限制为那些使用校验盘指定尾部大小以内的文件。
|
||||
您可以使用乘数,如 K、M、G 或 T(例如 --tail 1G)。
|
||||
此选项仅在与 <b>locate</b> 命令配合使用时有效。
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-A, --stats
|
||||
</div><div class="manual-option-description">
|
||||
启用扩展状态视图,显示附加信息。
|
||||
|
|
@ -1143,6 +1165,28 @@ DAYS 是块被 scrub 的最小天数;默认值为 10。
|
|||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-W, --force-realloc-tail 大小
|
||||
</div><div class="manual-option-description">
|
||||
工作方式类似于 -R, --force-realloc,但仅限于每个校验文件的
|
||||
指定尾部部分(最后“大小”字节)。
|
||||
它会强制重新分配(移动)当前存储在该尾部部分的任何文件分片/块,
|
||||
允许它们被放置在校验文件中任何有可用空间的地方(包括现有的
|
||||
空隙)。
|
||||
此选项的主要目的是缩小校验文件的磁盘占用大小。
|
||||
如果重新分配成功清空了整个尾部区域(没有块继续使用它),
|
||||
则校验文件将被截断,回收未使用的尾部空间。
|
||||
您可以使用乘数,如 K、M、G 或 T(例如
|
||||
--force-realloc-tail 1G)。
|
||||
您可以使用 locate -t, --tail 提前了解受影响的文件。
|
||||
警告!
|
||||
此选项仅供专家使用,强烈建议不要使用。
|
||||
在执行 <b>sync</b> 操作期间,受影响的文件将没有数据保护。
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="manual-option-list">
|
||||
<div class="manual-option-entry">
|
||||
<div class="manual-option-name">
|
||||
-l, --log FILE
|
||||
</div><div class="manual-option-description">
|
||||
将详细日志写入指定文件。
|
||||
|
|
|
|||
|
|
@ -343,7 +343,7 @@ output, but the related blocks are not marked as bad.
|
|||
Pooling
|
||||
</h2>
|
||||
<p>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.
|
||||
</p><p>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.
|
||||
</p><p>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.
|
||||
</p></div>
|
||||
</div>
|
||||
<div class="manual-section-level-1">
|
||||
|
|
@ -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 <b>sync</b> operation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue