Commit graph

82 commits

Author SHA1 Message Date
Andrea Mazzoleni
8fb9803b34 Changes sync to hash as a separate step. 2014-02-02 23:03:37 +01:00
Andrea Mazzoleni
91c3de2182 Refactors the regression test. 2014-01-15 19:57:02 +01:00
Andrea Mazzoleni
abc05c612c Splits the RAID engine in multiple files. 2013-12-28 09:10:00 +01:00
Andrea Mazzoleni
de0c8db8d7 Refactors the RAID engine for a potential independent release. 2013-12-27 13:56:56 +01:00
Andrea Mazzoleni
a5a3c33854 Adds support for fast triple parity without SSSE3. 2013-11-04 23:47:49 +01:00
Andrea Mazzoleni
066709370e Changes again the output of check/fix.
Now the file name are printed unless the undocumented -q is specified.
2013-10-31 18:41:10 +01:00
Andrea Mazzoleni
185d3a4a18 Checks that filter disks match at least one disk. 2013-10-30 21:45:53 +01:00
Andrea Mazzoleni
1b46d03d70 Adds preliminary list command. 2013-10-04 21:35:08 +02:00
Andrea Mazzoleni
70244133f4 Changes the meaning of the -G, --gui option to now remove only
the interactive output. All the other log options are not enabled
by default.
2013-10-03 22:44:33 +02:00
Andrea Mazzoleni
d35beda689 Improves the -G, --gui output. 2013-09-30 22:24:30 +02:00
Andrea Mazzoleni
1582dba2c5 Doesn't update parity for blocks that are not changed even if the file has a different timestamp. 2013-09-29 21:01:31 +02:00
Andrea Mazzoleni
82f85ed45d Removes the detailed log from the screen. 2013-09-28 12:39:55 +02:00
Andrea Mazzoleni
d525b4a14a Reduces memory usage, with new array growing by fixed size and not exponential. 2013-09-28 09:40:08 +02:00
Andrea Mazzoleni
c5d0aa01c1 Adds a new -C, --gen-conf option to generate the configuration file from the content file. 2013-09-21 15:53:46 +02:00
Andrea Mazzoleni
3b6dfd9ffe Fixes the -G option and adds test for it. 2013-09-16 18:52:10 +02:00
Andrea Mazzoleni
4fb96c0dec In the messages uses WARNING in uppercase. 2013-08-27 22:42:50 +02:00
Andrea Mazzoleni
8eafeafcb6 Removes the --find-by-name, -N option. Now it automatically searches
by name if a file is not found searching by inode, automatically
reassigning inodes in restored files
2013-08-26 20:33:25 +02:00
Andrea Mazzoleni
524ffa00f2 Adds options -p and -o for scrub. 2013-08-22 23:03:13 +02:00
Andrea Mazzoleni
49bc1e0af7 Fixes the help screen. 2013-08-21 20:09:01 +02:00
Andrea Mazzoleni
746901d0be Adds a the new -e, --filter-error option for fix and check. 2013-08-18 19:24:55 +02:00
Andrea Mazzoleni
37ac46a284 Uses the fast crc32 instruction if SSE4.2 is available. 2013-08-17 17:38:18 +02:00
Andrea Mazzoleni
3698064040 Uses a binary content file. 2013-08-17 16:17:53 +02:00
Andrea Mazzoleni
d0671e87eb Adds new test commands for saving the content file. 2013-08-09 14:12:08 +02:00
Andrea Mazzoleni
d8870cdd42 Adds a new --force-device option to allow to fix with disk with same device ID. 2013-07-26 14:50:52 +02:00
Andrea Mazzoleni
275ef2ed3c Implements an incremental rehash. 2013-07-01 23:08:25 +02:00
Andrea Mazzoleni
33cf866699 Adds test for scrub. 2013-06-29 18:34:10 +02:00
Andrea Mazzoleni
d93f2f0595 Some variables renaming and relocation. 2013-06-29 18:15:24 +02:00
Andrea Mazzoleni
1ddb24da46 Groups all the startup options in the new snapraid_option struct. 2013-06-29 18:11:36 +02:00
Andrea Mazzoleni
a32a1cd9a8 Adds the new status and scrub commands. 2013-06-29 17:53:40 +02:00
Andrea Mazzoleni
fef9ea7ccd Removes some warning in Windows builds. 2013-06-25 22:44:29 +02:00
Andrea Mazzoleni
6032576650 Sorts the files by physical address before inserting them for the first time. 2013-06-25 22:41:10 +02:00
Andrea Mazzoleni
fceaa8a4cf Uses a lock file instead than a pid file.
It's more appropriate for a not daemon.
2013-06-18 21:06:31 +02:00
Andrea Mazzoleni
bc2a837953 Adds pid file support. 2013-06-17 23:50:26 +02:00
Andrea Mazzoleni
548e90c30f Activates spooky2 and adds the new rehash command. 2013-06-15 23:42:11 +02:00
Andrea Mazzoleni
aeb167bb16 Adds --test-skip-sequential to disable the sequential hint for the disk cache. 2013-04-04 22:52:56 +02:00
Andrea Mazzoleni
8271203691 Removes a debug printf. 2013-03-05 19:02:04 +01:00
Andrea Mazzoleni
768113c670 Adds UUID to check to detect disk misplacement. 2013-03-03 22:39:46 +01:00
Andrea Mazzoleni
8bb7cf9f29 Removes the -S options. It was left in by mistake. 2013-03-03 14:16:08 +01:00
Andrea Mazzoleni
bcf04a01a7 Changes the log default. Now it's stderr. 2013-03-02 18:20:37 +01:00
Andrea Mazzoleni
0200a2b7fa Adds a new -l, --log option. 2013-03-01 20:13:56 +01:00
Andrea Mazzoleni
4c058d25e2 Adds some more undocumented --test options. 2013-02-28 23:06:42 +01:00
Andrea Mazzoleni
6da21cdbd9 Adds the -i, --import options to import deleted files for fix. 2013-02-27 21:07:16 +01:00
Andrea Mazzoleni
acad6aad04 Adds the new -m, --filter-missing options to undelete files. 2013-02-24 11:33:09 +01:00
Andrea Mazzoleni
38e1f4e251 Adds the new pool command to create a virtual view for the array. 2013-02-22 22:17:54 +01:00
Andrea Mazzoleni
9b95d5951c Merges the two filtering operation to keep valid verbose output. 2012-11-23 00:09:50 +01:00
Andrea Mazzoleni
99223533eb Uses an inplicit AND operation between -d and -f filter options. 2012-11-23 00:01:02 +01:00
Andrea Mazzoleni
dc3b03c4c4 Ignore nanoseconds if -N is specified. 2012-11-12 23:01:07 +01:00
Andrea Mazzoleni
3d30a87952 Removes the -H option. 2012-10-14 10:08:39 +02:00
Andrea Mazzoleni
4ed9e0803f Adds some check about options compatibility. 2012-10-14 10:02:22 +02:00
Andrea Mazzoleni
a93379f672 Adds a new -d command to filter by disk name.
Renames -A to -a for consistency.
2012-10-10 23:32:09 +02:00