Commit graph

56 commits

Author SHA1 Message Date
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
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
746901d0be Adds a the new -e, --filter-error option for fix and check. 2013-08-18 19:24:55 +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
cefe021e60 Doesn't start sync if Ctrl+C is pressed. 2013-07-10 19:37:58 +02:00
Andrea Mazzoleni
275ef2ed3c Implements an incremental rehash. 2013-07-01 23:08:25 +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
6032576650 Sorts the files by physical address before inserting them for the first time. 2013-06-25 22:41:10 +02:00
Andrea Mazzoleni
ef53cd4086 Uses the new tommy_arrayof type. 2013-06-23 21:49:36 +02:00
Andrea Mazzoleni
29c7155d22 Ensures to call memhash with aligned data. 2013-06-23 21:27:38 +02:00
Andrea Mazzoleni
8fc805c272 Adds preliminary support to store additional information for each offset. 2013-06-22 18:13:19 +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
4455ba7e4f Adds a random hash seed. 2013-06-16 00:33:46 +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
768113c670 Adds UUID to check to detect disk misplacement. 2013-03-03 22:39:46 +01:00
Andrea Mazzoleni
c06605a568 Prints the result of each file in check and fix. 2013-03-02 23:17:55 +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
a0a213664b Saves and restores also empty directories. 2013-01-27 16:44:04 +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
9e1ea619c5 Removes MD5 support. 2012-11-04 00:53:14 +01:00
Andrea Mazzoleni
3d30a87952 Removes the -H option. 2012-10-14 10:08:39 +02:00
Andrea Mazzoleni
91e74e91b8 Checks the parity size in sync. 2012-10-09 23:02:46 +02:00
Andrea Mazzoleni
1078bd4500 Adds and new -A option to only check hashes. 2012-10-07 23:18:10 +02:00
Andrea Mazzoleni
2a50ec747d Adds the new autosave configuration option.
Checks the parity validity invariant after reading the content file.
2012-03-13 23:59:59 +01:00
Andrea Mazzoleni
98fc24c195 Faster and parallel writing of content files. 2011-12-14 21:08:17 +01:00
Andrea Mazzoleni
0099c8957c Adds a new --filter-nohidden option to filter out hidden files. 2011-12-08 22:40:30 +01:00
Andrea Mazzoleni
cec7b2f2b4 Adds a new "dup" command to find duplicates. 2011-12-08 20:37:27 +01:00
Andrea Mazzoleni
191dcdf3d4 Adds the --find-by-name option to find files by path instead than by inode. 2011-10-09 23:41:08 +02:00
Andrea Mazzoleni
4adef9dc17 Saves the disk mapping inside the content file. 2011-10-01 19:18:32 +02:00
Andrea Mazzoleni
99515f610c Separates the disk array in a disk list and a handle mapping vector. 2011-09-23 21:48:50 +02:00
Andrea Mazzoleni
e80d0ccdcf Use the st_dev field to ensure to use different disks. 2011-09-20 22:35:15 +02:00
Andrea Mazzoleni
2aa36a5df5 Adds -G and diff commands. 2011-06-20 20:35:04 +02:00
Andrea Mazzoleni
cb4a72afca Adds include logic in filtering. 2011-04-26 18:51:42 +02:00
Andrea Mazzoleni
99420cffab Allow to specify multiple content files. 2011-04-25 13:43:51 +02:00
Andrea Mazzoleni
08831c6641 Initial RAID6 support. Not yet complete.
Uses Murmur3 as default hash.
Check now returns and error even if only recoverable errors are present.
2011-04-23 21:38:26 +02:00
Andrea Mazzoleni
d9f560e013 Adds dry command for speed measurement. 2011-04-08 22:32:40 +02:00
Andrea Mazzoleni
a70eb4ed2b Adds filter capability in check and fix.
Fixes the context saving when only changed files are detected.
2011-03-30 00:14:43 +02:00
Andrea Mazzoleni
81f14d1dfb The progress estimation not takes care of the actual work to do. 2011-03-28 20:55:57 +02:00
Andrea Mazzoleni
87bb5c7a66 Adds the -t option to limit the number of blocks processed.
More tests with incomplete sync.
2011-03-23 18:54:08 +01:00
Andrea Mazzoleni
e80009334b Even better error management. More precise and explicative. 2011-03-19 22:00:08 +01:00