diff --git a/manual.html b/manual.html index cbfb80b3..d9705513 100644 --- a/manual.html +++ b/manual.html @@ -52,8 +52,8 @@ snapraid [-c, --conf CONFIG] [-f, --filter PATTERN] [-d, --filter-disk NAME] [-m, --filter-missing] [-e, --filter-error] [-a, --audit-only] [-h, --pre-hash] [-i, --import DIR] - [-p, --percentage PERC] [-o, --older-than DAYS] - [-l, --log FILE] + [-p, --plan PERC|bad|new|full] + [-o, --older-than DAYS] [-l, --log FILE] [-Z, --force-zero] [-E, --force-empty] [-U, --force-uuid] [-D, --force-device] [-N, --force-nocopy] [-F, --force-full] @@ -106,6 +106,10 @@ You can add disks at any time. It doesn't lock-in your data. You can stop using SnapRAID at any time without the need to reformat or move data. +
The official site of SnapRAID is: @@ -276,9 +280,9 @@ snapraid scrub This command verifies the data in your array comparing it with the hash computed in the "sync" command.
-Every run of the command checks about 12% of the array, but not data newer -than 10 days. -You can use the -p, --percentage option to specify a different amount, +Every run of the command checks about the 8% of the array, but not data +already scrubbed in the previous 10 days. +You can use the -p, --plan option to specify a different amount, and the -o, --older-than option to specify a different age in days. For example, to check 5% of the array older than 20 days use:
@@ -308,12 +312,12 @@ snapraid -e fix
At the next "scrub" the errors will disappear from the "status" report -if really fixed. To make it fast, you can use -p 0 to scrub only blocks +if really fixed. To make it fast, you can use -p bad to scrub only blocks marked as bad.
-snapraid -p 0 scrub +snapraid -p bad scrub |
@@ -324,8 +328,9 @@ in the "scrub" result, but related blocks are not marked as bad. Pooling To have all the files in your array shown in the same directory tree, -you can enable "pooling", that consists in creating a virtual view of all -the files in your array using symbolic links. +you can enable the "pooling" feature. It consists in creating a +read-only virtual view of all the files in your array using symbolic +links.
You can configure the "pooling" directory in the configuration file with:
@@ -411,8 +416,8 @@ and share the following dirs in the network:
to allow remote clients to access all the files at \\darkstar\\pool.
-You may also need to configure remote clients, to enable the access at -remote symlinks with the command: +You may also need to configure remote clients enablinh access at remote +symlinks with the command:
@@ -599,6 +604,10 @@ run "sync". Later modifications are not taken into account. If bad blocks were detected, their block numbers are listed. To fix them, you can use the "fix -e" command. |
| --p, --percentage PERC +-p, --plan PERC|bad|new|full |
| -Selects the part of the array to process in "scrub". -PERC is a numeric value from 0 to 100, default is 12. -When specifying 0, only the blocks marked as bad are scrubbed. +Selects the scrub plan. If PERC is a numeric value from 0 to 100, +it's interpreted as the percentage of blocks to scrub. +Instead of a percentage, you can also specify a plan: +"bad" scrubs bad blocks, "new" the blocks not yet scrubbed, +and "full" for everything. This option can be used only with "scrub". |
-In more details SnapRAID requires about TS*28/BS bytes -of RAM memory to run in the 32 bits version, and TS*36/BS -in the 64 bits one. Where TS is the total size in bytes of -your disk array, and BS is the block size in bytes. +In more details SnapRAID requires about TS*17/BS bytes of RAM memory. +Where TS is the total size in bytes of your disk array, and BS is the +block size in bytes.
-For example with 8 disk of 4 TB and a block size of 256 KiB +For example with 8 disks of 4 TB and a block size of 256 KiB (1 KiB = 1024 bytes) you have:
-RAM = (8 * 4 * 10^12) * 28 / (256 * 2^10) = 3.2 GiB +RAM = (8 * 4 * 10^12) * 17 / (256 * 2^10) = 1.9 GiB
Another reason to use a different blocksize is if you have a lot of @@ -1382,7 +1413,7 @@ any wasted space.