diff --git a/beta/manual-daemon.html b/beta/manual-daemon.html index 280c565c..a2f64645 100644 --- a/beta/manual-daemon.html +++ b/beta/manual-daemon.html @@ -210,23 +210,29 @@ Getting Started

The daemon acts as a management layer for the SnapRAID CLI. Therefore, SnapRAID CLI must be installed and fully configured before starting the service. -

All data, parity, and extra disks defined in the SnapRAID CLI -configuration file are considered part of the array and are managed -by the daemon. All interactions with the underlying array are handled -through the standard SnapRAID CLI binary. +

Because the daemon performs direct hardware-level telemetry probes +(such as reading SMART attributes and managing disk power states), it +requires elevated privileges to function correctly. On Linux systems, +the daemon must be run as the root user. On Windows, it must be +executed as a service with equivalent system access rights. +

It is important to note that the daemon never directly reads the +SnapRAID CLI configuration file snapraid.conf. Instead, it relies +entirely on the output and logs generated by the SnapRAID binary. +

By processing these logs, the daemon identifies the data, parity, +and extra disks and establishes the current state of the array.

During the installation process of the daemon, a default configuration file is provisioned to enable the REST API and the Web UI. For users installing via binary packages, this file is typically placed at /etc/snapraidd.conf. If you are installing from source, it is recommended to run ./configure --sysconfdir=/etc during the build -process to ensure theconfiguration is placed in the standard /etc +process to ensure the configuration is placed in the standard /etc directory.

Using this default configuration file, the UI is accessible locally via a web browser at the following address:

http://localhost:7627

The default port, 7627, was chosen as a mnemonic, representing the -word "SNAP" as typed on a standard telephone keypad. +word SNAP as typed on a standard telephone keypad.

At startup, the daemon parses historical logs from /var/log/snapraid to reconstruct the current state of the array. These logs are generated and saved by the daemon itself during the execution @@ -359,7 +365,7 @@ path chosen at build time (typically via the --prefix argument to the configure script).

This file governs the behavior of the automation engine, network accessibility, safety interlocks, and hardware monitoring parameters. -

The configuration system is designed with a "triple-tier" management +

The configuration system is designed with a triple-tier management philosophy to balance operational convenience with rigorous system security:

Tier 1 Core Network (Immutable) - This tier includes critical security @@ -422,7 +428,7 @@ explicitly disable the saving of command output to persistent files.

IMPORTANT: While it is possible to leave this empty to avoid saving files, these logs are used by the daemon to reconstruct the past state of the array (e.g., tracking the last successful sync or scrub). If no log -directory is provided, the daemon will lose its "memory" of previous +directory is provided, the daemon will lose its memory of previous task results every time it is restarted.

@@ -505,7 +511,7 @@ subnets using a comma-separated Access Control List (ACL). (e.g., /24). The rules are processed sequentially, and the last matching rule determines the outcome. If unset, it defaults to accept everything. If any rules are defined, -the daemon adopts a "deny by default" stance. +the daemon adopts a deny by default stance.

To allow access via Tailscale or similar services, ensure you add the relevant network prefix (e.g., +100.0.0.0/8).

Examples: @@ -728,8 +734,8 @@ sync_prevent_truncations

If set to 1, the sync is halted to prevent overwriting parity with empty file data. This provides a safety -barrier against truncated data, which may occurs -during system crashes or filesystem errors. +barrier against truncated data, which may occur during system +crashes or filesystem errors. If this is missing or set to 0, the sync is allowed to proceed even if files have shrunk to zero size.

@@ -850,10 +856,10 @@ hook_run_as_user

Specifies the user account used to execute the hook_script. If this is missing or blank, the script is executed with the same privileges as the daemon process. -

On Linux, "nobody" is the standard choice for maximum isolation. -On Windows, "LocalService" is the preferred choice as it provides +

On Linux, nobody is the standard choice for maximum isolation. +On Windows, LocalService is the preferred choice as it provides minimal local access while maintaining network capabilities. -Alternatively, "NetworkService" can be used if the script specifically +Alternatively, NetworkService can be used if the script specifically requires the computer's network identity to access remote resources.

@@ -886,7 +892,7 @@ notify_heartbeat

Defines a command to run ONLY if the maintenance task was successful (it is not triggered by other tasks, such as heal or undelete). -This is ideal for external monitoring services like "Dead Man's Snitch" +This is ideal for external monitoring services like Dead Man's Snitch or Healthchecks.io. If this ping stops, it indicates the server is down or the task is failing.

@@ -900,8 +906,8 @@ executed if the task's result matches the notify_result_level. The daemon pipes a structured, plain-text task report directly into the command's stdin.

The daemon automatically chooses a wide (80-col) or narrow (32-col) -report based on the command and arguments used (e.g., presence of "mail" -or "smtps" strings). Users can manually override this by adding --wide or +report based on the command and arguments used (e.g., presence of mail +or smtps strings). Users can manually override this by adding --wide or --narrow to the command string. These tags are stripped before execution.

Before execution, the daemon scans the command string and replaces the following tokens with dynamic values corresponding to the current @@ -970,10 +976,10 @@ notify_run_as_user

The user account used for notify_heartbeat, notify_result and mail notifications. If missing or left blank, the task runs with the daemon's current privileges. -

On Linux, "nobody" is the standard choice for maximum isolation. -On Windows, "LocalService" is the preferred choice as it provides +

On Linux, nobody is the standard choice for maximum isolation. +On Windows, LocalService is the preferred choice as it provides minimal local access while maintaining network capabilities. -Alternatively, "NetworkService" can be used if the script specifically +Alternatively, NetworkService can be used if the script specifically requires the computer's network identity to access remote resources.

@@ -1129,7 +1135,7 @@ curl -X POST http://loc

-/snapraid/v1/refresh: +/snapraid/v1/refresh

Forces the daemon to re-synchronize its internal state with the content file. This is intended for use after manual interventions @@ -1182,7 +1188,7 @@ curl -s http://localhost:7627/

-Configuration +Runtime Configuration

Provides a programmatic interface to retrieve and modify the operational parameters of the daemon in real-time. @@ -1448,8 +1454,13 @@ Files

The following list specifies the default filesystem paths used by the daemon for configuration, data persistence, and inter-process communication. +

+

+Linux +

+

On Linux and Unix-like systems:

-

+

$PREFIX/etc/snapraidd.conf

The primary configuration file location. The $PREFIX variable @@ -1459,7 +1470,7 @@ values include /usr/local or /usr. If this file does not exist, the daemon falls back to /etc/snapraidd.conf.

-

+

$PREFIX/share/snapraidd

The primary system data directory. This is the first location @@ -1467,33 +1478,65 @@ searched for the web dashboard ZIP file (e.g., commander.zip). If not found here, the daemon falls back to /usr/share/snapraidd.

-

+

/etc/snapraidd.conf

The secondary/system-wide configuration file location, used if the prefix-specific file is missing.

-

+

/usr/share/snapraidd

The secondary/system-wide data directory, used as a fallback for web assets.

-

+

/run/snapraidd.pid

Default PID file location.

-

+

/var/log/snapraid

Default directory for SnapRAID command execution logs. This directory contains the output of the SnapRAID binary itself, rather than the daemon's service logs. +If this directory does not exist, the daemon will attempt to create it +upon the first execution of a SnapRAID command.

+
+
+

+Windows +

+

On Windows systems: +

+

+snapraidd.conf +

+

The configuration file is expected to be in the same directory +where the snapraidd.exe binary is located. +

+
+

+log\ +

+

A subdirectory named log within the installation directory is +used to store the SnapRAID command execution logs. If this +directory does not exist, the service will attempt to create it +upon the first execution of a SnapRAID command. +

+
+

+commander.zip +

+

The web dashboard assets are searched for in the same directory +as the executable. +

+
diff --git a/beta/manual-de.html b/beta/manual-de.html index 6fb4615e..f345d625 100644 --- a/beta/manual-de.html +++ b/beta/manual-de.html @@ -755,22 +755,37 @@ aber ein anderes Verzeichnis identifiziert.
copied
-Auf dieselbe oder eine andere Festplatte kopierte -Dateien. Beachten Sie, dass wenn sie tatsächlich auf eine -andere Festplatte verschoben werden, sie auch unter removed -gezählt werden. Sie werden durch denselben Namen, dieselbe -Größe und denselben Zeitstempel identifiziert. Wenn der -Untersekunden-Zeitstempel Null ist, muss der vollständige -Pfad übereinstimmen, nicht nur der Name. +Dateien, die auf dieselbe oder eine andere Festplatte +kopiert wurden, wobei die Originaldatei noch vorhanden ist. +Sie werden dadurch identifiziert, dass sie denselben Namen, +dieselbe Größe und denselben Zeitstempel haben. +Wenn der Subsekunden-Zeitstempel Null ist, muss der vollständige +Pfad übereinstimmen, um identifiziert zu werden, nicht nur +der Name. +
+ +
+
+relocated +
+Dateien, die auf dieselbe oder eine andere Festplatte +verschoben wurden, wobei das Original verschwunden ist. +Sie werden dadurch identifiziert, dass sie denselben Namen, +dieselbe Größe und denselben Zeitstempel haben. +Wenn der Subsekunden-Zeitstempel Null ist, muss der vollständige +Pfad übereinstimmen, um identifiziert zu werden. +Im Gegensatz zu 'moved' Dateien auf derselben Festplatte haben +verschobene Dateien einen anderen Inode.
restored
-Dateien mit einer anderen Inode, aber übereinstimmendem -Namen, Größe und Zeitstempel. Dies sind normalerweise -Dateien, die nach dem Löschen wiederhergestellt wurden. +Dateien mit einem anderen Inode, aber passendem +Verzeichnis, Namen, Größe und Zeitstempel. +Dies sind in der Regel Dateien, die nach dem Löschen +wiederhergestellt wurden.
@@ -1634,6 +1649,18 @@ mithilfe der gespeicherten UUID der Festplatten.

+extra NAME DIR +

+

Definiert den Namen und Einhängepunkt zusätzlicher Festplatten, die mit den +Befehlen smart und probe überwacht werden sollen. +

Dies ist nützlich für die Überwachung von Festplatten, die nicht Teil des +Arrays sind, aber für das Funktionieren des Systems erforderlich sind, wie +z. B. die Boot-Festplatte. +

Beachten Sie, dass solche Festplatten nicht von den Befehlen up und down +betroffen sind, da von ihnen erwartet wird, dass sie sich immer drehen. +

+
+

nohidden

Schließt alle versteckten Dateien und Verzeichnisse aus. @@ -1641,7 +1668,7 @@ Unter Unix sind versteckte Dateien solche, die mit . beginnen. Unter Windows sind es solche mit dem versteckten Attribut.

-

+

exclude/include PATTERN

Definiert die Datei- oder Verzeichnismuster, die im sync-Vorgang @@ -1658,7 +1685,7 @@ PATTERN.

Diese Option kann mehrmals verwendet werden.

-

+

blocksize SIZE_IN_KIBIBYTES

Definiert die grundlegende Blockgröße in Kibibytes für die Parität. @@ -1705,7 +1732,7 @@ für eine 4 TB Festplatte, was etwa 460.000 Dateien auf jeder Datenfestplatte ohne verschwendeten Platz ermöglicht.

-

+

hashsize SIZE_IN_BYTES

Definiert die Hash-Größe in Bytes für die gespeicherten Blöcke. @@ -1741,7 +1768,7 @@ RAM = (8 * 4 * 10^12) * (1+8) / (512 * 2^10) = 0.51 GiB

-

+

autosave SIZE_IN_GIGABYTES

Speichert den Zustand beim Synchronisieren oder Scrubben automatisch @@ -1751,7 +1778,7 @@ von vorne gestartet werden müssen, wenn sie durch einen Maschinenabsturz oder ein anderes Ereignis unterbrochen werden.

-

+

temp_limit TEMPERATURE_CELSIUS

Legt die maximal zulässige Festplattentemperatur in Celsius fest. @@ -1785,7 +1812,7 @@ Festplatte an. Um die Temperatur aller Festplatten anzuzeigen, verwenden Sie die Option -A oder --stats.

-

+

temp_sleep TIME_IN_MINUTES

Legt die Standby-Zeit in Minuten fest, wenn der Temperaturgrenzwert @@ -1793,7 +1820,7 @@ erreicht wird. Während dieser Zeit bleiben die Festplatten heruntergefahren. Der Standardwert ist 5 Minuten.

-

+

pool DIR

Definiert das Pooling-Verzeichnis, in dem die virtuelle Ansicht des @@ -1801,7 +1828,7 @@ Festplatten-Arrays mithilfe des Befehls pool erstellt wird.

Das Verzeichnis muss bereits existieren.

-

+

share UNC_DIR

Definiert den Windows UNC-Pfad, der für den Remote-Zugriff auf die @@ -1817,7 +1844,7 @@ und schließlich das Dateiverzeichnis und der Name hinzugefügt werden.

Diese Option ist nur für Windows erforderlich.

-

+

smartctl DISK/PARITY OPTIONS...

Definiert benutzerdefinierte smartctl-Optionen, um die SMART-Attribute @@ -1842,7 +1869,7 @@ smartctl parity -d sat %s

-

+

smartignore DISK/PARITY ATTR [ATTR...]

Ignoriert das angegebene SMART-Attribut bei der Berechnung der @@ -1865,7 +1892,7 @@ smartignore parity 197

-

+

Examples

Ein Beispiel für eine typische Konfiguration für Unix ist: diff --git a/beta/manual-es.html b/beta/manual-es.html index 89fb4d8d..b7420396 100644 --- a/beta/manual-es.html +++ b/beta/manual-es.html @@ -726,22 +726,36 @@ marca de tiempo e inodo, pero un directorio diferente.

copied
-Archivos copiados en el mismo o un disco diferente. -Tenga en cuenta que si realmente se mueven a un disco -diferente, también se contarán en removed. +Archivos copiados en el mismo disco o en uno diferente +donde el archivo original todavía existe. Se identifican por tener el mismo nombre, tamaño y -marca de tiempo. Si la marca de tiempo de subsegundo es -cero, la ruta completa debe coincidir, no solo el nombre. +marca de tiempo. +Si la marca de tiempo de subsegundo es cero, la ruta +completa debe coincidir para ser identificado, no solo el nombre. +
+
+
+
+relocated +
+Archivos movidos en el mismo disco o en uno +diferente donde el original ha desaparecido. +Se identifican por tener el mismo nombre, tamaño y +marca de tiempo. +Si la marca de tiempo de subsegundo es cero, la ruta +completa debe coincidir para ser identificado. +A diferencia de los archivos moved en el mismo disco, +los archivos reubicados tienen un inodo diferente.
restored
-Archivos con un inodo diferente pero que coinciden -en nombre, tamaño y marca de tiempo. -Estos suelen ser archivos restaurados después de ser -eliminados. +Archivos con un inodo diferente pero con directorio, +nombre, tamaño y marca de tiempo coincidentes. +Estos son usualmente archivos restaurados después de +haber sido eliminados.
@@ -1581,6 +1595,18 @@ realiza utilizando el UUID almacenado de los discos.

+extra NAME DIR +

+

Define el nombre y el punto de montaje de discos adicionales para monitorear +con los comandos smart y probe. +

Esto es útil para monitorear discos que no forman parte de la +matriz pero que son necesarios para que el sistema funcione, como +el disco de arranque. +

Tenga en cuenta que dichos discos no se ven afectados por los comandos up y down +porque se espera que estén siempre girando. +

+
+

nohidden

Excluye todos los archivos y directorios ocultos. @@ -1588,7 +1614,7 @@ En Unix, los archivos ocultos son los que comienzan con .. En Windows, son los que tienen el atributo oculto.

-

+

exclude/include PATTERN

Define los patrones de archivo o directorio a excluir o incluir @@ -1604,7 +1630,7 @@ las especificaciones de patrones.

Esta opción se puede usar varias veces.

-

+

blocksize SIZE_IN_KIBIBYTES

Define el tamaño de bloque básico en kibibytes para la paridad. @@ -1651,7 +1677,7 @@ alrededor de 460,000 archivos en cada disco de datos sin ningún espacio desperdiciado.

-

+

hashsize SIZE_IN_BYTES

Define el tamaño del hash en bytes para los bloques guardados. @@ -1687,7 +1713,7 @@ RAM = (8 * 4 * 10^12) * (1+8) / (512 * 2^10) = 0.51 GiB

-

+

autosave SIZE_IN_GIGABYTES

Guarda automáticamente el estado al sincronizar o fregar después de @@ -1697,7 +1723,7 @@ desde cero si son interrumpidos por un fallo de la máquina o cualquier otro evento.

-

+

temp_limit TEMPERATURE_CELSIUS

Establece la temperatura máxima permitida del disco en Celsius. @@ -1732,7 +1758,7 @@ caliente. Para mostrar la temperatura de todos los discos, use la opción -A o --stats.

-

+

temp_sleep TIME_IN_MINUTES

Establece el tiempo de espera, en minutos, cuando se alcanza el @@ -1740,7 +1766,7 @@ límite de temperatura. Durante este período, los discos permanecen detenidos. El valor predeterminado es de 5 minutos.

-

+

pool DIR

Define el directorio de agrupación (pooling) donde se crea la vista @@ -1748,7 +1774,7 @@ virtual del array de discos utilizando el comando pool.

El directorio ya debe existir.

-

+

share UNC_DIR

Define la ruta UNC de Windows requerida para acceder a los discos @@ -1764,7 +1790,7 @@ y finalmente agregando el directorio y el nombre del archivo.

Esta opción solo es necesaria para Windows.

-

+

smartctl DISK/PARITY OPTIONS...

Define opciones personalizadas de smartctl para obtener los atributos @@ -1790,7 +1816,7 @@ smartctl parity -d sat %s

-

+

smartignore DISK/PARITY ATTR [ATTR...]

Ignora el atributo SMART especificado al calcular la probabilidad @@ -1812,7 +1838,7 @@ smartignore parity 197

-

+

Examples

Un ejemplo de una configuración típica para Unix es: diff --git a/beta/manual-fr.html b/beta/manual-fr.html index 801b366a..6099d566 100644 --- a/beta/manual-fr.html +++ b/beta/manual-fr.html @@ -743,22 +743,36 @@ un répertoire différent.

copied
-Fichiers copiés sur le même disque ou un disque différent. -Notez que s'ils sont vraiment déplacés vers un autre -disque, ils seront également comptés dans removed. -Ils sont identifiés par le même nom, la même taille -et le même horodatage. Si l'horodatage en sous-seconde -est zéro, le chemin complet doit correspondre, pas seulement -le nom. +Fichiers copiés sur le même disque ou sur un disque +différent où le fichier original existe toujours. +Ils sont identifiés par le fait qu'ils ont le même nom, la même +taille et le même horodatage. +Si l'horodatage à la sous-seconde est nul, le chemin complet +doit correspondre pour être identifié, pas seulement le nom. +
+
+
+
+relocated +
+Fichiers déplacés sur le même disque ou sur un disque +différent où l'original a disparu. +Ils sont identifiés par le fait qu'ils ont le même nom, la même +taille et le même horodatage. +Si l'horodatage à la sous-seconde est nul, le chemin complet +doit correspondre pour être identifié. +Contrairement aux fichiers 'moved' sur le même disque, les +fichiers relocalisés ont un inode différent.
restored
-Fichiers avec un inode différent mais correspondant -au nom, à la taille et à l'horodatage. Il s'agit -généralement de fichiers restaurés après avoir été supprimés. +Fichiers avec un inode différent mais dont le +répertoire, le nom, la taille et l'horodatage correspondent. +Il s'agit généralement de fichiers restaurés après avoir été +supprimés.
@@ -1618,6 +1632,18 @@ stocké des disques.

+extra NAME DIR +

+

Définit le nom et le point de montage de disques supplémentaires à +surveiller avec les commandes smart et probe. +

Ceci est utile pour surveiller des disques qui ne font pas partie de +la grappe mais qui sont nécessaires au fonctionnement du système, +comme le disque de démarrage. +

Notez que ces disques ne sont pas affectés par les commandes up et +down car ils sont censés toujours être en rotation. +

+
+

nohidden

Exclut tous les fichiers et répertoires cachés. @@ -1625,7 +1651,7 @@ Sous Unix, les fichiers cachés sont ceux commençant par .. Sous Windows, ce sont ceux avec l'attribut caché.

-

+

exclude/include MOTIF

Définit les motifs de fichiers ou de répertoires à exclure ou à inclure @@ -1641,7 +1667,7 @@ spécifications de motifs.

Cette option peut être utilisée plusieurs fois.

-

+

blocksize TAILLE_EN_KIBIOCTETS

Définit la taille de bloc de base en kibioctets pour la parité. @@ -1689,7 +1715,7 @@ pour un disque de 4 To, ce qui permet environ 460 000 fichiers sur chaque disque de données sans aucun espace gaspillé.

-

+

hashsize TAILLE_EN_OCTETS

Définit la taille du hachage en octets pour les blocs enregistrés. @@ -1725,7 +1751,7 @@ RAM = (8 * 4 * 10^12) * (1+8) / (512 * 2^10) = 0,51 Gio

-

+

autosave TAILLE_EN_GIGAOCTETS

Enregistre automatiquement l'état lors de la synchronisation ou du @@ -1735,7 +1761,7 @@ Cette option est utile pour éviter de redémarrer de longues commandes de la machine ou tout autre événement.

-

+

temp_limit TEMPÉRATURE_CELSIUS

Définit la température maximale autorisée du disque en Celsius. @@ -1769,7 +1795,7 @@ Pour afficher la température de tous les disques, utilisez l'option -A ou --stats.

-

+

temp_sleep TEMPS_EN_MINUTES

Définit le temps de veille, en minutes, lorsque la limite de température @@ -1777,7 +1803,7 @@ est atteinte. Pendant cette période, les disques restent arrêtés. La valeur par défaut est de 5 minutes.

-

+

pool DOSSIER

Définit le répertoire de mise en commun où la vue virtuelle de la @@ -1785,7 +1811,7 @@ baie de disques est créée à l'aide de la commande pool.

Le répertoire doit déjà exister.

-

+

share CHEMIN_UNC

Définit le chemin UNC Windows requis pour accéder aux disques à distance. @@ -1800,7 +1826,7 @@ et en ajoutant enfin le répertoire et le nom du fichier.

Cette option est requise uniquement pour Windows.

-

+

smartctl DISQUE/PARITÉ OPTIONS...

Définit les options smartctl personnalisées pour obtenir les attributs @@ -1826,7 +1852,7 @@ smartctl parity -d sat %s

-

+

smartignore DISQUE/PARITÉ ATTR [ATTR...]

Ignore l'attribut SMART spécifié lors du calcul de la probabilité @@ -1848,7 +1874,7 @@ smartignore parity 197

-

+

Exemples

Un exemple de configuration typique pour Unix est : diff --git a/beta/manual-it.html b/beta/manual-it.html index 5b254e3d..7187bd92 100644 --- a/beta/manual-it.html +++ b/beta/manual-it.html @@ -729,21 +729,37 @@ dimensioni, timestamp e inode, ma una directory diversa.

copied
-File copiati sullo stesso o su un disco diverso. -Si noti che se sono stati veramente spostati su un altro -disco, saranno contati anche in removed. -Sono identificati dall'avere lo stesso nome, dimensioni -e timestamp. Se il timestamp sotto il secondo è zero, -il percorso completo deve corrispondere, non solo il nome. +File copiati sullo stesso disco o su un disco diverso dove il +file originale esiste ancora. +Sono identificati dall'avere lo stesso nome, dimensione e timestamp. +Se il timestamp al sottomultiplo del secondo è zero, +il percorso completo deve corrispondere per essere +identificato, non solo il nome. +
+
+
+
+relocated +
+File spostati sullo stesso disco o su un disco +diverso dove l'originale è scomparso. +Sono identificati dall' avere lo stesso nome, dimensione +e timestamp. +Se il timestamp al sottomultiplo del secondo è zero, +il percorso completo deve corrispondere per essere +identificato. +A differenza dei file moved sullo stesso disco, +i file ricollocati hanno un inode diverso.
restored
-File con un inode diverso ma nome, dimensioni e -timestamp corrispondenti. Questi sono di solito file -ripristinati dopo essere stati eliminati. +File con un inode diverso ma directory, +nome, dimensione e timestamp corrispondenti. +Questi sono solitamente file ripristinati dopo essere +stati eliminati.
@@ -1607,6 +1623,18 @@ l'UUID memorizzato dei dischi.

+extra NAME DIR +

+

Definisce il nome e il punto di montaggio di dischi aggiuntivi da monitorare +con i comandi smart e probe. +

Questo è utile per monitorare i dischi che non fanno parte dell' +array ma sono necessari per il funzionamento del sistema, come +il disco di avvio. +

Si noti che tali dischi non sono influenzati dai comandi up e down +perché si prevede che siano sempre in rotazione. +

+
+

nohidden

Esclude tutti i file e le directory nascosti. @@ -1614,7 +1642,7 @@ In Unix, i file nascosti sono quelli che iniziano con .. In Windows, sono quelli con l'attributo nascosto.

-

+

exclude/include PATTERN

Definisce i modelli di file o directory da escludere o includere @@ -1630,7 +1658,7 @@ del modello.

Questa opzione può essere utilizzata più volte.

-

+

blocksize SIZE_IN_KIBIBYTES

Definisce la dimensione di blocco di base in kibibyte per la parità. @@ -1677,7 +1705,7 @@ un disco da 4 TB, che consente circa 460.000 file su ogni disco dati senza alcuno spreco di spazio.

-

+

hashsize SIZE_IN_BYTES

Definisce la dimensione dell'hash in byte per i blocchi salvati. @@ -1713,7 +1741,7 @@ RAM = $(8 * 4 * 10^{12}) * (1+8) / (512 * 2^{10}) = 0.51 \text{ GiB}$

-

+

autosave SIZE_IN_GIGABYTES

Salva automaticamente lo stato durante la sincronizzazione o lo scrubbing @@ -1723,7 +1751,7 @@ da zero se interrotti da un arresto anomalo della macchina o qualsiasi altro evento.

-

+

temp_limit TEMPERATURE_CELSIUS

Imposta la temperatura massima del disco consentita in Celsius. Se @@ -1757,7 +1785,7 @@ Per visualizzare la temperatura di tutti i dischi, utilizzare l'opzione -A o --stats.

-

+

temp_sleep TIME_IN_MINUTES

Imposta il tempo di stand-by, in minuti, quando il limite di temperatura @@ -1765,7 +1793,7 @@ viene raggiunto. Durante questo periodo, i dischi rimangono fermi (spin down). Il valore predefinito è 5 minuti.

-

+

pool DIR

Definisce la directory di pooling in cui viene creata la vista virtuale @@ -1773,7 +1801,7 @@ dell'array di dischi utilizzando il comando pool.

La directory deve già esistere.

-

+

share UNC_DIR

Definisce il percorso UNC di Windows necessario per accedere ai dischi @@ -1789,7 +1817,7 @@ specificato, aggiungendo il nome del disco come specificato nell'opzione

Questa opzione è richiesta solo per Windows.

-

+

smartctl DISK/PARITY OPTIONS...

Definisce opzioni smartctl personalizzate per ottenere gli attributi @@ -1815,7 +1843,7 @@ smartctl parity -d sat %s

-

+

smartignore DISK/PARITY ATTR [ATTR...]

Ignora l'attributo SMART specificato durante il calcolo della @@ -1837,7 +1865,7 @@ smartignore parity 197

-

+

Esempi

Un esempio di configurazione tipica per Unix è: diff --git a/beta/manual-ja.html b/beta/manual-ja.html index 85a1e913..72ff7651 100644 --- a/beta/manual-ja.html +++ b/beta/manual-ja.html @@ -701,20 +701,35 @@ moved

copied
-同じディスクまたは異なるディスクにコピーされたファイル。 -異なるディスクに真に移動された場合、removed にも -カウントされることに注意してください。 -同じ名前、サイズ、およびタイムスタンプを持つことで識別されます。 -サブ秒のタイムスタンプがゼロの場合、ファイル名だけでなく、 -フルパスが一致する必要があります。 +元のファイルがまだ存在する、同じディスクまたは別の +ディスクにコピーされたファイル。 +これらは、同じ名前、サイズ、およびタイムスタンプを持つこと +によって識別されます。 +サブ秒のタイムスタンプがゼロの場合、名前だけでなくフルパス +が一致する必要があります。 +
+
+
+
+relocated +
+オリジナルが消失した、同じディスクまたは別のディ +スクに移動されたファイル。 +これらは、同じ名前、サイズ、およびタイムスタンプを持つこと +によって識別されます。 +サブ秒のタイムスタンプがゼロの場合、識別するにはフルパスが +一致する必要があります。 +同じディスク上の 'moved' ファイルとは異なり、再配置された +ファイルは異なる inode を持ちます。
restored
-inodeは異なるが、名前、サイズ、タイムスタンプが一致するファイル。 -これらは通常、削除後に復元されたファイルです。 +inode は異なるが、ディレクトリ、名前、サイズ、お +よびタイムスタンプが一致するファイル。 +これらは通常、削除された後に復元されたファイルです。
@@ -1495,6 +1510,17 @@ DIR はファイルシステム内のディスクの**マウントポイント**

+extra NAME DIR +

+

smart および probe コマンドで監視する追加ディスクの名前とマウ +ントポイントを定義します。 +

これは、ブートディスクなど、アレイの一部ではないがシステムの機能に必 +要なディスクを監視するのに役立ちます。 +

これらのディスクは常に回転していることが期待されるため、up およ +び down コマンドの影響を受けないことに注意してください。 +

+
+

nohidden

すべての隠しファイルとディレクトリを除外します。 @@ -1502,7 +1528,7 @@ Unixでは、隠しファイルは . で始まるファイルです。 Windowsでは、隠し属性を持つファイルです。

-

+

exclude/include PATTERN

syncプロセスで除外または含めるファイルまたはディレクトリのパターンを定義します。 @@ -1515,7 +1541,7 @@ exclude/include PATTERN

このオプションは複数回使用できます。

-

+

blocksize SIZE_IN_KIBIBYTES

パリティの基本ブロックサイズをキビバイト単位で定義します。 @@ -1552,7 +1578,7 @@ mkfs.ext4 -m 0 -T largefile4 DEVICE 浪費スペースなしで各データディスクで約460,000ファイルが可能になります。

-

+

hashsize SIZE_IN_BYTES

保存されたブロックのハッシュサイズをバイト単位で定義します。 @@ -1583,7 +1609,7 @@ RAM = $(8 \cdot 4 \cdot 10^{12}) \cdot (1 + 8) / (512 \cdot 2^{10}) = 0.51 \text

-

+

autosave SIZE_IN_GIGABYTES

処理された指定されたGB量後に、同期またはスクラビング時に状態を自動的に保存します。 @@ -1591,7 +1617,7 @@ autosave SIZE_IN_GIGABYTES 長い sync コマンドを最初から再起動するのを避けるのに役立ちます。

-

+

temp_limit TEMPERATURE_CELSIUS

許容される最大ディスク温度を摂氏で設定します。指定されている場合、 @@ -1617,14 +1643,14 @@ SnapRAIDの動作には影響しません。プログラムの動作は、実際 すべてのディスクの温度を表示するには、-A または --stats オプションを使用します。

-

+

temp_sleep TIME_IN_MINUTES

温度制限に達したときのスタンバイ時間(分単位)を設定します。この期間中、ディスクは スピンダウンしたままです。デフォルトは5分です。

-

+

pool DIR

pool コマンドを使用してディスクアレイの仮想ビューが作成されるプーリングディレクトリを @@ -1632,7 +1658,7 @@ pool DIR

ディレクトリは既に存在している必要があります。

-

+

share UNC_DIR

ディスクにリモートでアクセスするために必要なWindows UNCパスを定義します。 @@ -1645,7 +1671,7 @@ share UNC_DIR

このオプションはWindowsでのみ必要です。

-

+

smartctl DISK/PARITY OPTIONS...

各ディスクのSMART属性を取得するためのカスタムsmartctlオプションを定義します。 @@ -1669,7 +1695,7 @@ smartctl parity -d sat %s

-

+

smartignore DISK/PARITY ATTR [ATTR...]

ディスク障害の確率を計算するときに、指定されたSMART属性を無視します。 @@ -1689,7 +1715,7 @@ smartignore parity 197

-

+

Examples

Unixの一般的な構成の例は次のとおりです。 diff --git a/beta/manual-ko.html b/beta/manual-ko.html index b260b4e2..f8a0cbb3 100644 --- a/beta/manual-ko.html +++ b/beta/manual-ko.html @@ -720,19 +720,35 @@ moved

copied
-동일하거나 다른 디스크에 복사된 파일. 다른 디스크로 -실제로 이동된 경우 removed에도 포함된다는 점에 유의하십시오. -이들은 이름, 크기 및 타임스탬프가 동일한 것으로 식별됩니다. -하위 초 타임스탬프(sub-second timestamp)가 0인 경우, -이름뿐만 아니라 전체 경로가 일치해야 합니다. +원본 파일이 여전히 존재하는 동일한 디스크 또는 다른 +디스크에 복사된 파일. +이들은 동일한 이름, 크기 및 타임스탬프를 가짐으로써 식별됩니 +다. +하위 초 타임스탬프가 0인 경우, 이름뿐만 아니라 전체 경로가 +일치해야 식별됩니다. +
+
+
+
+relocated +
+원본이 사라진 동일한 디스크 또는 다른 디스크로 이 +동된 파일. +이들은 동일한 이름, 크기 및 타임스탬프를 가짐으로써 식별됩니 +다. +하위 초 타임스탬프가 0인 경우, 식별을 위해 전체 경로가 일치 +해야 합니다. +동일한 디스크의 'moved' 파일과 달리, 재배치된 파일은 다른 +inode를 가집니다.
restored
-아이노드는 다르지만 이름, 크기 및 타임스탬프가 일치하는 파일. -이들은 일반적으로 삭제 후 복원된 파일입니다. +inode는 다르지만 디렉토리, 이름, 크기 및 타임스탬 +프가 일치하는 파일. +이들은 대개 삭제된 후 복구된 파일들입니다.
@@ -1538,6 +1554,17 @@ NAME은 디스크를 식별하는 데 사용되며 고유해야 합니다. DIR

+extra NAME DIR +

+

smart 및 probe 명령으로 모니터링할 추가 디스크의 이름과 마운트 +지점을 정의합니다. +

이것은 부팅 디스크와 같이 어레이의 일부는 아니지만 시스템 작동에 필요 +한 디스크를 모니터링하는 데 유용합니다. +

이러한 디스크는 항상 회전할 것으로 예상되므로 up 및 down 명령의 +영향을 받지 않습니다. +

+
+

nohidden

모든 숨겨진 파일 및 디렉토리를 제외합니다. @@ -1545,7 +1572,7 @@ Unix에서는 숨겨진 파일은 '.'으로 시작하는 파일입니다. Windows에서는 숨김 속성을 가진 파일입니다.

-

+

exclude/include PATTERN

sync 프로세스에서 제외하거나 포함할 파일 또는 디렉토리 패턴을 @@ -1559,7 +1586,7 @@ exclude/include PATTERN

이 옵션은 여러 번 사용될 수 있습니다.

-

+

blocksize SIZE_IN_KIBIBYTES

패리티의 기본 블록 크기를 키비바이트(kibibyte) 단위로 정의합니다. @@ -1600,7 +1627,7 @@ mkfs.ext4 -m 0 -T largefile4 DEVICE 허용합니다.

-

+

hashsize SIZE_IN_BYTES

저장된 블록의 해시 크기를 바이트 단위로 정의합니다. @@ -1634,7 +1661,7 @@ RAM = (8 * 4 * 10^12) * (1+8) / (512 * 2^10) = 0.51 GiB

-

+

autosave SIZE_IN_GIGABYTES

지정된 GB 양이 처리된 후 동기화 또는 스크럽 시 상태를 자동으로 저장합니다. @@ -1642,7 +1669,7 @@ autosave SIZE_IN_GIGABYTES 명령을 처음부터 다시 시작하는 것을 방지하는 데 유용합니다.

-

+

temp_limit TEMPERATURE_CELSIUS

허용되는 최대 디스크 온도를 섭씨로 설정합니다. 지정되면 SnapRAID는 @@ -1668,14 +1695,14 @@ SnapRAID가 작동하는 동안 현재 디스크 온도가 표시됩니다. 모든 디스크의 온도를 표시하려면 -A 또는 --stats 옵션을 사용하십시오.

-

+

temp_sleep TIME_IN_MINUTES

온도 제한에 도달했을 때의 대기 시간(분)을 설정합니다. 이 기간 동안 디스크는 회전 중지 상태를 유지합니다. 기본값은 5분입니다.

-

+

pool DIR

pool 명령을 사용하여 디스크 어레이의 가상 뷰가 생성되는 풀링 @@ -1683,7 +1710,7 @@ pool DIR

디렉토리는 이미 존재해야 합니다.

-

+

share UNC_DIR

디스크에 원격으로 액세스하는 데 필요한 Windows UNC 경로를 정의합니다. @@ -1697,7 +1724,7 @@ share UNC_DIR

이 옵션은 Windows에만 필요합니다.

-

+

smartctl DISK/PARITY OPTIONS...

각 디스크에 대한 SMART 속성을 얻기 위한 사용자 정의 smartctl 옵션을 @@ -1721,7 +1748,7 @@ smartctl parity -d sat %s

-

+

smartignore DISK/PARITY ATTR [ATTR...]

디스크 실패 확률을 계산할 때 지정된 SMART 속성을 무시합니다. @@ -1742,7 +1769,7 @@ smartignore parity 197

-

+

Examples

Unix의 일반적인 설정 예는 다음과 같습니다: diff --git a/beta/manual-pl.html b/beta/manual-pl.html index 4d894249..4b8c8d5a 100644 --- a/beta/manual-pl.html +++ b/beta/manual-pl.html @@ -704,20 +704,36 @@ i inode, ale inny katalog.

copied
-Pliki skopiowane na tym samym lub innym dysku. Zauważ, że jeśli -zostały faktycznie przeniesione na inny dysk, zostaną również -policzone w removed. -Są one identyfikowane przez tę samą nazwę, rozmiar i -znacznik czasu. Jeśli znacznik czasu z dokładnością do podsekundy wynosi zero, -musi pasować pełna ścieżka, a nie tylko nazwa. +Pliki skopiowane na ten sam lub inny dysk, gdzie +oryginalny plik nadal istnieje. +Są one identyfikowane przez posiadanie tej samej nazwy, rozmiaru +i znacznika czasu. +Jeśli podsekundowy znacznik czasu wynosi zero, pełna ścieżka +musi być zgodna, aby plik został zidentyfikowany, a nie +tylko nazwa. +
+
+
+
+relocated +
+Pliki przeniesione na ten sam lub inny dysk, gdzie +oryginał zniknął. +Są one identyfikowane przez posiadanie tej samej nazwy, rozmiaru +i znacznika czasu. +Jeśli podsekundowy znacznik czasu wynosi zero, pełna ścieżka +musi być zgodna, aby plik został zidentyfikowany. +W przeciwieństwie do plików 'moved' na tym samym dysku, pliki +relokowane mają inny i-węzeł.
restored
-Pliki o innym inode, ale pasującej nazwie, rozmiarze i znaczniku czasu. -Są to zazwyczaj pliki przywrócone po usunięciu. +Pliki o innym i-węźle, ale pasującym katalogu, +nazwie, rozmiarze i znaczniku czasu. +Są to zazwyczaj pliki przywrócone po ich usunięciu.
@@ -1522,6 +1538,18 @@ UUID dysków.

+extra NAME DIR +

+

Definiuje nazwę i punkt montowania dodatkowych dysków do +monitorowania za pomocą poleceń smart oraz probe. +

Jest to przydatne do monitorowania dysków, które nie są częścią +macierzy, ale są wymagane do funkcjonowania systemu, takich jak +dysk rozruchowy. +

Należy zauważyć, że polecenia up i down nie mają wpływu na takie +dyski, ponieważ oczekuje się, że będą one zawsze w ruchu. +

+
+

nohidden

Wyklucza wszystkie ukryte pliki i katalogi. @@ -1529,7 +1557,7 @@ W systemie Unix ukryte pliki to te zaczynające się od .. W systemie Windows są to te z atrybutem ukrycia.

-

+

exclude/include PATTERN

Definiuje wzorce plików lub katalogów do wykluczenia lub włączenia @@ -1544,7 +1572,7 @@ wzorców.

Ta opcja może być używana wielokrotnie.

-

+

blocksize SIZE_IN_KIBIBYTES

Definiuje podstawowy rozmiar bloku w kibibajtach dla parzystości. @@ -1585,7 +1613,7 @@ dysku 4 TB, co pozwala na około 460 000 plików na każdym dysku danych bez marnowania miejsca.

-

+

hashsize SIZE_IN_BYTES

Definiuje rozmiar hasza w bajtach dla zapisanych bloków. @@ -1620,7 +1648,7 @@ RAM = (8 * 4 * 10^12) * (1+8) / (512 * 2^10) = 0,51 GiB

-

+

autosave SIZE_IN_GIGABYTES

Automatycznie zapisuje stan podczas synchronizacji lub sprawdzania po przetworzeniu @@ -1629,7 +1657,7 @@ Ta opcja jest przydatna, aby uniknąć ponownego uruchamiania długich poleceń od zera, jeśli zostaną przerwane przez awarię maszyny lub inne zdarzenie.

-

+

temp_limit TEMPERATURE_CELSIUS

Ustawia maksymalną dozwoloną temperaturę dysku w stopniach Celsjusza. Po określeniu, @@ -1658,14 +1686,14 @@ wykorzystuje najniższą temperaturę dysku zmierzoną na początku uruchomienia Aby wyświetlić temperaturę wszystkich dysków, użyj opcji -A lub --stats.

-

+

temp_sleep TIME_IN_MINUTES

Ustawia czas gotowości, w minutach, po osiągnięciu limitu temperatury. W tym okresie dyski pozostają zatrzymane. Domyślnie jest to 5 minut.

-

+

pool DIR

Definiuje katalog puli, w którym tworzony jest wirtualny widok macierzy @@ -1673,7 +1701,7 @@ dysków za pomocą polecenia pool.

Katalog musi już istnieć.

-

+

share UNC_DIR

Definiuje ścieżkę UNC Windows wymaganą do zdalnego dostępu do dysków. @@ -1687,7 +1715,7 @@ katalog i nazwę pliku.

Ta opcja jest wymagana tylko dla systemu Windows.

-

+

smartctl DISK/PARITY OPTIONS...

Definiuje niestandardowe opcje smartctl do uzyskania atrybutów SMART dla @@ -1711,7 +1739,7 @@ smartctl parity -d sat %s

-

+

smartignore DISK/PARITY ATTR [ATTR...]

Ignoruje określony atrybut SMART podczas obliczania prawdopodobieństwa @@ -1732,7 +1760,7 @@ smartignore parity 197

-

+

Examples

Przykład typowej konfiguracji dla systemu Unix: diff --git a/beta/manual-pt.html b/beta/manual-pt.html index 7d895c4c..229c6905 100644 --- a/beta/manual-pt.html +++ b/beta/manual-pt.html @@ -714,22 +714,36 @@ carimbo de data/hora e inode, mas um diretório diferente.

copied
-Arquivos copiados no mesmo ou em um disco diferente. -Observe que se eles forem realmente movidos para um disco -diferente, eles também serão contados em removed. +Arquivos copiados no mesmo disco ou em um disco +diferente onde o arquivo original ainda existe. Eles são identificados por terem o mesmo nome, tamanho e -carimbo de data/hora. Se o carimbo de data/hora sub-segundo -for zero, o caminho completo deve corresponder, não apenas +carimbo de data/hora. +Se o carimbo de data/hora de subsegundos for zero, o caminho +completo deve corresponder para ser identificado, não apenas o nome.
+relocated +
+Arquivos movidos no mesmo disco ou em um disco +diferente onde o original desapareceu. +Eles são identificados por terem o mesmo nome, tamanho e +carimbo de data/hora. +Se o carimbo de data/hora de subsegundos for zero, o caminho +completo deve corresponder para ser identificado. +Ao contrário dos arquivos 'moved' no mesmo disco, os arquivos +realocados têm um inode diferente. +
+
+
+
restored
-Arquivos com um inode diferente, mas nome, tamanho e carimbo -de data/hora correspondentes. Estes são geralmente arquivos -restaurados após terem sido excluídos. +Arquivos com um inode diferente, mas com diretório, +nome, tamanho e carimbo de data/hora correspondentes. +Geralmente são arquivos restaurados após serem excluídos.
@@ -1554,6 +1568,18 @@ armazenado dos discos.

+extra NAME DIR +

+

Define o nome e o ponto de montagem de discos adicionais para +monitorar com os comandos smart e probe. +

Isso é útil para monitorar discos que não fazem parte da matriz, +mas que são necessários para o funcionamento do sistema, como o +disco de inicialização. +

Observe que tais discos não são afetados pelos comandos up e down +porque se espera que estejam sempre girando. +

+
+

nohidden

Exclui todos os arquivos e diretórios ocultos. @@ -1561,7 +1587,7 @@ No Unix, arquivos ocultos são aqueles que começam com .. No Windows, são aqueles com o atributo oculto.

-

+

exclude/include PATTERN

Define os padrões de arquivo ou diretório a serem excluídos ou incluídos @@ -1577,7 +1603,7 @@ especificações de padrão.

Esta opção pode ser usada várias vezes.

-

+

blocksize SIZE_IN_KIBIBYTES

Define o tamanho básico do bloco em kibibytes para a paridade. @@ -1620,7 +1646,7 @@ um disco de 4 TB, o que permite cerca de 460.000 arquivos em cada disco de dados sem qualquer espaço desperdiçado.

-

+

hashsize SIZE_IN_BYTES

Define o tamanho do hash em bytes para os blocos salvos. @@ -1655,7 +1681,7 @@ RAM = (8 * 4 * 10^12) * (1+8) / (512 * 2^10) = 0.51 GiB

-

+

autosave SIZE_IN_GIGABYTES

Salva automaticamente o estado ao sincronizar ou examinar após a @@ -1664,7 +1690,7 @@ Esta opção é útil para evitar reiniciar longos comandos sync do zero se interrompidos por uma falha de máquina ou qualquer outro evento.

-

+

temp_limit TEMPERATURE_CELSIUS

Define a temperatura máxima permitida do disco em Celsius. Quando especificado, @@ -1695,7 +1721,7 @@ referência de fallback. Para exibir a temperatura de todos os discos, use a opção -A ou --stats.

-

+

temp_sleep TIME_IN_MINUTES

Define o tempo de espera (standby time), em minutos, quando o limite de @@ -1703,7 +1729,7 @@ temperatura é atingido. Durante este período, os discos permanecem desligados. O padrão é 5 minutos.

-

+

pool DIR

Define o diretório de pooling onde a visualização virtual do array @@ -1711,7 +1737,7 @@ de discos é criada usando o comando pool.

O diretório já deve existir.

-

+

share UNC_DIR

Define o caminho UNC do Windows necessário para acessar os discos remotamente. @@ -1725,7 +1751,7 @@ e finalmente adicionando o diretório e nome do arquivo.

Esta opção é necessária apenas para Windows.

-

+

smartctl DISK/PARITY OPTIONS...

Define opções smartctl personalizadas para obter os atributos SMART para @@ -1750,7 +1776,7 @@ smartctl parity -d sat %s

-

+

smartignore DISK/PARITY ATTR [ATTR...]

Ignora o atributo SMART especificado ao calcular a probabilidade @@ -1771,7 +1797,7 @@ smartignore parity 197

-

+

Exemplos

Um exemplo de uma configuração típica para Unix é: diff --git a/beta/manual-ro.html b/beta/manual-ro.html index 119e47a6..4e4a3dda 100644 --- a/beta/manual-ro.html +++ b/beta/manual-ro.html @@ -700,19 +700,35 @@ Sunt identificate având același nume, dimensiune, marcă temporală

copied
-Fișiere copiate pe același disc sau pe un disc diferit. Rețineți că dacă -sunt mutate cu adevărat pe un alt disc, vor fi, de asemenea, -numărate în removed. -Sunt identificate având același nume, dimensiune și -marcă temporală. Dacă marca temporală sub-secundă este zero, -întreaga cale trebuie să se potrivească, nu doar numele. +Fișiere copiate pe același disc sau pe un disc diferit +unde fișierul original încă există. +Acestea sunt identificate prin faptul că au același nume, +dimensiune și amprentă temporală. +Dacă amprenta temporală sub-secundă este zero, calea completă +trebuie să se potrivească pentru a fi identificate, nu doar +numele. +
+
+
+
+relocated +
+Fișiere mutate pe același disc sau pe un disc diferit +unde originalul a dispărut. +Acestea sunt identificate prin faptul că au același nume, +dimensiune și amprentă temporală. +Dacă amprenta temporală sub-secundă este zero, calea completă +trebuie să se potrivească pentru a fi identificate. +Spre deosebire de fișierele 'moved' de pe același disc, fișierele +relocate au un inod diferit.
restored
-Fișiere cu un inod diferit, dar nume, dimensiune și marcă temporală care se potrivesc. +Fișiere cu un inod diferit, dar care se potrivesc ca +director, nume, dimensiune și amprentă temporală. Acestea sunt de obicei fișiere restaurate după ce au fost șterse.
@@ -1522,6 +1538,18 @@ al discurilor.

+extra NAME DIR +

+

Definește numele și punctul de montare al discurilor suplimentare +care vor fi monitorizate cu comenzile smart și probe. +

Acest lucru este util pentru monitorizarea discurilor care nu fac +parte din matrice, dar sunt necesare pentru funcționarea +sistemului, cum ar fi discul de pornire. +

Rețineți că astfel de discuri nu sunt afectate de comenzile up și +down deoarece se așteaptă ca acestea să se rotească mereu. +

+
+

nohidden

Exclude toate fișierele și directoarele ascunse. @@ -1529,7 +1557,7 @@ nohidden În Windows, sunt cele cu atributul ascuns.

-

+

exclude/include PATTERN

Definește modelele de fișiere sau directoare de exclus sau inclus @@ -1545,7 +1573,7 @@ specificațiile modelului.

Această opțiune poate fi utilizată de mai multe ori.

-

+

blocksize SIZE_IN_KIBIBYTES

Definește dimensiunea de bază a blocului în kibibytes pentru paritate. @@ -1586,7 +1614,7 @@ un disc de 4 TB, ceea ce permite aproximativ 460.000 de fișiere pe fiecare disc niciun spațiu irosit.

-

+

hashsize SIZE_IN_BYTES

Definește dimensiunea hash-ului în octeți pentru blocurile salvate. @@ -1621,7 +1649,7 @@ RAM = (8 * 4 * 10^12) * (1+8) / (512 * 2^10) = 0,51 GiB

-

+

autosave SIZE_IN_GIGABYTES

Salvează automat starea la sincronizare sau verificare după @@ -1630,7 +1658,7 @@ Această opțiune este utilă pentru a evita repornirea comenzilor sync l de la zero dacă sunt întrerupte de o cădere a mașinii sau de orice alt eveniment.

-

+

temp_limit TEMPERATURE_CELSIUS

Setează temperatura maximă permisă a discului în Celsius. Când este specificată, @@ -1659,7 +1687,7 @@ cea mai scăzută temperatură a discului măsurată la începutul rulării ca r Pentru a afișa temperatura tuturor discurilor, utilizați opțiunea -A sau --stats.

-

+

temp_sleep TIME_IN_MINUTES

Setează timpul de așteptare (standby), în minute, când limita de temperatură este @@ -1667,7 +1695,7 @@ atinsă. În această perioadă, discurile rămân oprite. Valoarea implicită este 5 minute.

-

+

pool DIR

Definește directorul de pooling unde este creată vizualizarea virtuală a matricei @@ -1675,7 +1703,7 @@ de discuri utilizând comanda pool.

Directorul trebuie să existe deja.

-

+

share UNC_DIR

Definește calea UNC Windows necesară pentru a accesa discurile de la distanță. @@ -1689,7 +1717,7 @@ directorul și numele fișierului.

Această opțiune este necesară doar pentru Windows.

-

+

smartctl DISK/PARITY OPTIONS...

Definește opțiuni smartctl personalizate pentru a obține atributele SMART pentru @@ -1713,7 +1741,7 @@ smartctl parity -d sat %s

-

+

smartignore DISK/PARITY ATTR [ATTR...]

Ignoră atributul SMART specificat la calcularea probabilității @@ -1734,7 +1762,7 @@ smartignore parity 197

-

+

Exemple

Un exemplu de configurare tipică pentru Unix este: diff --git a/beta/manual-ru.html b/beta/manual-ru.html index ced27885..916d6c39 100644 --- a/beta/manual-ru.html +++ b/beta/manual-ru.html @@ -705,19 +705,34 @@ moved

copied
-Файлы, скопированные на тот же или другой диск. Обратите внимание, что если -они действительно перемещены на другой диск, они также будут -учтены в removed. -Они идентифицируются как имеющие то же имя, размер и -метку времени. Если метка времени с точностью до доли секунды равна нулю, -полный путь должен совпадать, а не только имя. +файлы, скопированные на тот же или другой диск, где +исходный файл все еще существует. +Они идентифицируются по совпадению имени, размера и метки +времени. +Если дробная часть метки времени равна нулю, для идентификации +должен совпадать полный путь, а не только имя. +
+
+
+
+relocated +
+файлы, перемещенные на тот же или другой диск, где +оригинал исчез. +Они идентифицируются по совпадению имени, размера и метки +времени. +Если дробная часть метки времени равна нулю, для идентификации +должен совпадать полный путь. +В отличие от файлов 'moved' на том же диске, перемещенные файлы +имеют другой inode.
restored
-Файлы с другим inode, но совпадающими именем, размером и меткой времени. +файлы с другим inode, но совпадающим каталогом, +именем, размером и меткой времени. Обычно это файлы, восстановленные после удаления.
@@ -1524,6 +1539,18 @@ UUID дисков.

+extra NAME DIR +

+

Определяет имя и точку монтирования дополнительных дисков для +мониторинга с помощью команд smart и probe. +

Это полезно для мониторинга дисков, которые не являются частью +массива, но необходимы для функционирования системы, таких как +загрузочный диск. +

Обратите внимание, что такие диски не затрагиваются командами up и +down, так как предполагается, что они всегда вращаются. +

+
+

nohidden

Исключает все скрытые файлы и каталоги. @@ -1531,7 +1558,7 @@ nohidden В Windows — это те, у которых есть скрытый атрибут.

-

+

exclude/include PATTERN

Определяет шаблоны файлов или каталогов для исключения или включения @@ -1546,7 +1573,7 @@ exclude/include PATTERN

Эту опцию можно использовать несколько раз.

-

+

blocksize SIZE_IN_KIBIBYTES

Определяет базовый размер блока в кибибайтах для четности. @@ -1588,7 +1615,7 @@ mkfs.ext4 -m 0 -T largefile4 DEVICE каких-либо потерь пространства.

-

+

hashsize SIZE_IN_BYTES

Определяет размер хэша в байтах для сохраненных блоков. @@ -1623,7 +1650,7 @@ RAM = (8 * 4 * 10^12) * (1+8) / (512 * 2^10) = 0.51 GiB

-

+

autosave SIZE_IN_GIGABYTES

Автоматически сохраняет состояние при синхронизации или проверке после @@ -1632,7 +1659,7 @@ autosave SIZE_IN_GIGABYTES с нуля, если они были прерваны сбоем машины или любым другим событием.

-

+

temp_limit TEMPERATURE_CELSIUS

Устанавливает максимально допустимую температуру диска в Цельсиях. Если указано, @@ -1663,14 +1690,14 @@ SnapRAID периодически проверяет температуру вс Чтобы отобразить температуру всех дисков, используйте опцию -A или --stats.

-

+

temp_sleep TIME_IN_MINUTES

Устанавливает время ожидания, в минутах, когда достигается предел температуры. В течение этого периода диски остаются остановленными. По умолчанию — 5 минут.

-

+

pool DIR

Определяет каталог объединения (pooling), где создается виртуальное представление @@ -1678,7 +1705,7 @@ pool DIR

Каталог должен уже существовать.

-

+

share UNC_DIR

Определяет путь UNC Windows, необходимый для удаленного доступа к дискам. @@ -1692,7 +1719,7 @@ share UNC_DIR

Эта опция требуется только для Windows.

-

+

smartctl DISK/PARITY OPTIONS...

Определяет пользовательские опции smartctl для получения атрибутов SMART для @@ -1717,7 +1744,7 @@ smartctl parity -d sat %s

-

+

smartignore DISK/PARITY ATTR [ATTR...]

Игнорирует указанный атрибут SMART при вычислении вероятности @@ -1738,7 +1765,7 @@ smartignore parity 197

-

+

Examples

Пример типичной конфигурации для Unix: diff --git a/beta/manual-sv.html b/beta/manual-sv.html index ae97ec3e..72fe8361 100644 --- a/beta/manual-sv.html +++ b/beta/manual-sv.html @@ -707,19 +707,34 @@ och inode, men en annan katalog.

copied
-Filer kopierade på samma eller en annan disk. Observera att om -de verkligen flyttas till en annan disk, kommer de också att -räknas i removed. +Filer som kopierats på samma eller en annan disk där +originalfilen fortfarande finns kvar. De identifieras genom att ha samma namn, storlek och -tidsstämpel. Om undertidsstämpeln är noll, -måste hela sökvägen matcha, inte bara namnet. +tidsstämpel. +Om tidsstämpeln för undersekunder är noll måste hela sökvägen +matcha för att identifieras, inte bara namnet. +
+
+
+
+relocated +
+Filer som flyttats på samma eller en annan disk där +originalet har försvunnit. +De identifieras genom att ha samma namn, storlek och +tidsstämpel. +Om tidsstämpeln för undersekunder är noll måste hela sökvägen +matcha för att identifieras. +Till skillnad från 'moved' filer på samma disk har omlokaliserade +filer en annan inode.
restored
-Filer med en annan inode men matchande namn, storlek och tidsstämpel. +Filer med en annan inode men matchande katalog, namn, +storlek och tidsstämpel. Dessa är vanligtvis filer som återställts efter att ha raderats.
@@ -1525,6 +1540,18 @@ UUID:n för diskarna.

+extra NAME DIR +

+

Definierar namn och monteringspunkt för ytterligare diskar som ska +övervakas med kommandona smart och probe. +

Detta är användbart för att övervaka diskar som inte ingår i arrayen +men som krävs för att systemet ska fungera, till exempel +startdisken. +

Observera att sådana diskar inte påverkas av kommandona up och +down eftersom de förväntas alltid snurra. +

+
+

nohidden

Exkluderar alla dolda filer och kataloger. @@ -1532,7 +1559,7 @@ I Unix är dolda filer de som börjar med .. I Windows är de de med det dolda attributet.

-

+

exclude/include MÖNSTER

Definierar fil- eller katalogmönstren att exkludera eller inkludera @@ -1548,7 +1575,7 @@ specifikationer.

Detta alternativ kan användas flera gånger.

-

+

blocksize STORLEK_I_KIBIBYTES

Definierar den grundläggande blockstorleken i kibibytes för pariteten. @@ -1589,7 +1616,7 @@ en 4 TB-disk, vilket möjliggör cirka 460 000 filer på varje datadisk utan något bortkastat utrymme.

-

+

hashsize STORLEK_I_BYTE

Definierar hash-storleken i byte för de sparade blocken. @@ -1624,7 +1651,7 @@ RAM = (8 * 4 * 10^12) * (1+8) / (512 * 2^10) = 0,51 GiB

-

+

autosave STORLEK_I_GIGABYTES

Sparar automatiskt tillståndet vid synkronisering eller skrubbning efter att den @@ -1633,7 +1660,7 @@ Detta alternativ är användbart för att undvika att starta om långa sync

-

+

temp_limit TEMPERATUR_CELSIUS

Anger den maximalt tillåtna disk-temperaturen i Celsius. När den specificeras, @@ -1662,7 +1689,7 @@ temperaturen som mättes vid start av körningen som en reservreferens. För att visa temperaturen på alla diskar, använd alternativet -A eller --stats.

-

+

temp_sleep TID_I_MINUTER

Anger standby-tiden, i minuter, när temperaturgränsen har @@ -1670,7 +1697,7 @@ nåtts. Under denna period förblir diskarna nedsnurrade. Standard är 5 minuter.

-

+

pool KATALOG

Definierar poolningskatalogen där den virtuella vyn av disk- @@ -1678,7 +1705,7 @@ arrayen skapas med hjälp av kommandot pool.

Katalogen måste redan existera.

-

+

share UNC_KATALOG

Definierar Windows UNC-sökvägen som krävs för att få åtkomst till diskarna på distans. @@ -1692,7 +1719,7 @@ katalog och namn.

Detta alternativ krävs endast för Windows.

-

+

smartctl DISK/PARITY ALTERNATIV...

Definierar anpassade smartctl-alternativ för att få SMART-attributen för @@ -1716,7 +1743,7 @@ smartctl parity -d sat %s

-

+

smartignore DISK/PARITY ATTR [ATTR...]

Ignorerar det specificerade SMART-attributet vid beräkning av sannolikheten @@ -1737,7 +1764,7 @@ smartignore parity 197

-

+

Exempel

Ett exempel på en typisk konfiguration för Unix är: diff --git a/beta/manual-uk.html b/beta/manual-uk.html index 866cb520..424cb6b1 100644 --- a/beta/manual-uk.html +++ b/beta/manual-uk.html @@ -751,25 +751,37 @@ moved (переміщені)

-copied (скопійовані) +copied
-Файли, скопійовані на тому ж -або іншому диску. Зауважте, що якщо вони справді -переміщені на інший диск, вони також будуть враховані -як removed. -Вони ідентифікуються за тим же іменем, розміром -та часовою міткою. Якщо часова мітка з точністю -до долі секунди дорівнює нулю, повний шлях повинен -збігатися, а не лише ім'я. +файли, скопійовані на той самий або інший диск, де +оригінальний файл все ще існує. +Вони ідентифікуються за однаковою назвою, розміром та міткою +часу. +Якщо мітка часу з точністю до часток секунди дорівнює нулю, для +ідентифікації має збігатися повний шлях, а не лише назва.
-restored (відновлені) +relocated
-Файли з іншим inode, але -збігаються ім'я, розмір та часова мітка. Це -зазвичай файли, відновлені після видалення. +файли, переміщені на той самий або інший диск, де +оригінал зник. +Вони ідентифікуються за однаковою назвою, розміром та міткою +часу. +Якщо мітка часу з точністю до часток секунди дорівнює нулю, для +ідентифікації має збігатися повний шлях. +На відміну від файлів 'moved' на тому ж диску, переміщені файли +мають інший inode. +
+
+
+
+restored +
+файли з іншим inode, але зі збігом каталогу, назви, +розміру та мітки часу. +Зазвичай це файли, відновлені після видалення.
@@ -1660,6 +1672,18 @@ UUID дисків.

+extra NAME DIR +

+

Визначає назву та точку монтування додаткових дисків для +моніторингу за допомогою команд smart та probe. +

Це корисно для моніторингу дисків, які не є частиною масиву, але +необхідні для функціонування системи, наприклад, завантажувального +диска. +

Зверніть увагу, що на такі диски не впливають команди up та down, +оскільки очікується, що вони завжди обертаються. +

+
+

nohidden

Виключає всі приховані файли та каталоги. @@ -1667,7 +1691,7 @@ nohidden У Windows це ті, що мають прихований атрибут.

-

+

exclude/include PATTERN

Визначає шаблони файлів або каталогів для виключення @@ -1684,7 +1708,7 @@ exclude/include PATTERN

Цю опцію можна використовувати кілька разів.

-

+

blocksize SIZE_IN_KIBIBYTES

Визначає основний розмір блоку в кібібайтах для парності. @@ -1737,7 +1761,7 @@ mkfs.ext4 -m 0 -T largefile4 DEVICE без будь-якого витраченого місця.

-

+

hashsize SIZE_IN_BYTES

Визначає розмір хешу в байтах для збережених блоків. @@ -1775,7 +1799,7 @@ RAM = $(8 \times 4 \times 10^{12}) \times (1+8) / (512 \times 2^{10}) = 0.51$ Г

-

+

autosave SIZE_IN_GIGABYTES

Автоматично зберігає стан під час синхронізації або @@ -1785,7 +1809,7 @@ autosave SIZE_IN_GIGABYTES збоєм машини або будь-якою іншою подією.

-

+

temp_limit TEMPERATURE_CELSIUS

Встановлює максимальну дозволену температуру диска @@ -1826,7 +1850,7 @@ smartctl. Поточні температури дисків відобража всіх дисків, використовуйте опцію -A або --stats.

-

+

temp_sleep TIME_IN_MINUTES

Встановлює час очікування, у хвилинах, коли @@ -1835,7 +1859,7 @@ temp_sleep TIME_IN_MINUTES За замовчуванням 5 хвилин.

-

+

pool DIR

Визначає каталог об'єднання, де створюється @@ -1844,7 +1868,7 @@ pool DIR

Каталог повинен вже існувати.

-

+

share UNC_DIR

Визначає шлях Windows UNC, необхідний для @@ -1863,7 +1887,7 @@ share UNC_DIR

Ця опція потрібна лише для Windows.

-

+

smartctl DISK/PARITY OPTIONS...

Визначає користувацькі опції smartctl для @@ -1894,7 +1918,7 @@ smartctl parity -d sat %s

-

+

smartignore DISK/PARITY ATTR [ATTR...]

Ігнорує вказаний атрибут SMART при обчисленні @@ -1918,7 +1942,7 @@ smartignore parity 197

-

+

Приклади

Приклад типової конфігурації для Unix: diff --git a/beta/manual-zh.html b/beta/manual-zh.html index b9a847d7..8333bded 100644 --- a/beta/manual-zh.html +++ b/beta/manual-zh.html @@ -653,17 +653,27 @@ moved

copied
-在同一磁盘或不同磁盘上复制的文件。请注意,如果 -它们确实移动到了不同的磁盘,它们也会被计入 removed 中。 -它们通过具有相同的名称、大小和时间戳来识别。如果亚秒级时间戳为零, -则必须匹配完整路径,而不仅仅是名称。 +在相同或不同磁盘上复制的文件,且原始文件仍然存在。 +它们通过具有相同的名称、大小和时间戳进行识别。 +如果亚秒级时间戳为零,则必须完整路径匹配才能识别,而不仅仅是名 +称。 +
+
+
+
+relocated +
+在相同或不同磁盘上移动的文件,且原始文件已消失。 +它们通过具有相同的名称、大小和时间戳进行识别。 +如果亚秒级时间戳为零,则必须完整路径匹配才能识别。 +与同一磁盘上的 'moved' 文件不同,重定位的文件具有不同的 inode。
restored
-inode 不同但名称、大小和时间戳匹配的文件。 +inode 不同但目录、名称、大小和时间戳匹配的文件。 这些通常是删除后恢复的文件。
@@ -1394,6 +1404,15 @@ DIR 是磁盘在文件系统中的挂载点。

+extra NAME DIR +

+

定义要通过 smart 和 probe 命令监控的额外磁盘的名称和挂载点。 +

这对于监控不属于阵列但系统运行所必需的磁盘(例如启动盘)非常有用。 +

请注意,此类磁盘不受 up 和 down 命令的影响,因为它们被预期始终处于 +旋转状态。 +

+
+

nohidden

排除所有隐藏文件和目录。 @@ -1401,7 +1420,7 @@ nohidden 在 Windows 中,它们是具有隐藏属性的文件。

-

+

exclude/include PATTERN

定义要从同步过程中排除或包含的文件或目录模式。 @@ -1414,7 +1433,7 @@ exclude/include PATTERN

此选项可以多次使用。

-

+

blocksize SIZE_IN_KIBIBYTES

定义奇偶校验的基本块大小(以 KiB 为单位)。 @@ -1451,7 +1470,7 @@ mkfs.ext4 -m 0 -T largefile4 DEVICE 这允许每个数据磁盘上大约 460,000 个文件而不会浪费任何空间。

-

+

hashsize SIZE_IN_BYTES

定义保存块的散列大小(以字节为单位)。 @@ -1483,7 +1502,7 @@ RAM = $(8 * 4 * 10^{12}) * (1+8) / (512 * 2^{10}) = 0.51$ GiB

-

+

autosave SIZE_IN_GIGABYTES

在同步或 scrub 之后,处理指定数量的 GB 后,自动保存状态。 @@ -1491,7 +1510,7 @@ autosave SIZE_IN_GIGABYTES 从头开始重新启动长时间的 sync 命令。

-

+

temp_limit TEMPERATURE_CELSIUS

设置允许的最高磁盘温度(摄氏度)。指定后, @@ -1517,14 +1536,14 @@ SnapRAID 运行时会显示当前磁盘温度。 要显示所有磁盘的温度,请使用 -A 或 --stats 选项。

-

+

temp_sleep TIME_IN_MINUTES

设置达到温度限制时的待机时间(以分钟为单位)。 在此期间,磁盘保持停转状态。默认值为 5 分钟。

-

+

pool DIR

定义 pooling 目录,其中使用 pool 命令创建磁盘 @@ -1532,7 +1551,7 @@ pool DIR

目录必须已经存在。

-

+

share UNC_DIR

定义远程访问磁盘所需的 Windows UNC 路径。 @@ -1545,7 +1564,7 @@ share UNC_DIR

此选项仅在 Windows 中需要。

-

+

smartctl DISK/PARITY OPTIONS...

定义自定义 smartctl 选项以获取每个磁盘的 SMART 属性。 @@ -1569,7 +1588,7 @@ smartctl parity -d sat %s

-

+

smartignore DISK/PARITY ATTR [ATTR...]

在计算磁盘故障概率时忽略指定的 SMART 属性。 @@ -1588,7 +1607,7 @@ smartignore parity 197

-

+

Examples

Unix 的典型配置示例如下: diff --git a/beta/manual.html b/beta/manual.html index 9230e071..c6d7c31f 100644 --- a/beta/manual.html +++ b/beta/manual.html @@ -1546,7 +1546,8 @@ with the smart and probe commands.

This is useful for monitoring disks that are not part of the array but are required for the system to function, such as the boot disk. -

Note that such disks are not affected by the up and down commands. +

Note that such disks are not affected by the up and down commands +because they are expected to be always spinning.