Commit graph

76 commits

Author SHA1 Message Date
Andrea Mazzoleni
3dadfb99e9 Keeps the fast sync mode as the default mode. 2014-02-10 20:53:47 +01:00
Andrea Mazzoleni
8fb9803b34 Changes sync to hash as a separate step. 2014-02-02 23:03:37 +01:00
Andrea Mazzoleni
74493a5f3d When reallocating REP blocks keep the hash information. 2014-02-01 23:32:53 +01:00
Andrea Mazzoleni
3df99a03ee Adds the new "share" configuration option to allow to share the pool directory in Windows. 2013-12-18 19:26:57 +01:00
Andrea Mazzoleni
22b3ca77b3 Changes configuration to use numbers to specify the parity level instead than letters. 2013-11-17 14:12:57 +01:00
Andrea Mazzoleni
915c3b9202 Renames parity level from RAID to PAR. 2013-11-13 21:35:44 +01:00
Andrea Mazzoleni
a5a3c33854 Adds support for fast triple parity without SSSE3. 2013-11-04 23:47:49 +01:00
Andrea Mazzoleni
675df548aa Some renaming and other minor changes. 2013-11-03 10:41:52 +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
136af37e96 Adds preliminary support for RAID based on a Cauchy matrix. 2013-10-22 23:40:05 +02:00
Andrea Mazzoleni
6c3d84d775 Merge branch 'b4'
Conflicts:
	HISTORY
	configure.ac
	state.c
	state.h
2013-10-21 19:52:28 +02:00
Andrea Mazzoleni
cef30125a2 Relax the check about small parity files, to allow to recover
after a failed sync before resizing the parity files.
2013-10-21 19:43:01 +02:00
Andrea Mazzoleni
1b46d03d70 Adds preliminary list command. 2013-10-04 21:35:08 +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
d525b4a14a Reduces memory usage, with new array growing by fixed size and not exponential. 2013-09-28 09:40:08 +02:00
Andrea Mazzoleni
31b8abb9bd Merge branch 'b4'
Conflicts:
	HISTORY
	configure.ac
2013-09-21 16:04:22 +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
f8303d2963 Adds preliminary support for QuadParity. 2013-09-17 23:05:44 +02:00
Andrea Mazzoleni
b72f7bf9b3 Uses a for loop to handle parities. 2013-09-15 21:12:41 +02:00
Andrea Mazzoleni
142f6ce119 Implements full RAIDTP support. 2013-09-11 23:30:32 +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