Andrea Mazzoleni
9d3773a2d4
Rename the 'nano' command to 'touch'
2016-01-18 19:41:04 +01:00
Andrea Mazzoleni
3e30cfc3f2
Better nano message in 'status'
2016-01-18 19:23:37 +01:00
Andrea Mazzoleni
d2991f736c
Function renaming to get better consistency
2016-01-16 14:30:08 +01:00
Andrea Mazzoleni
74fa6e9274
Add the "maybe" function also to par2block
2016-01-15 20:36:20 +01:00
Andrea Mazzoleni
6ac01901b0
In 'status' print the number of files with zero subsecond timestamp
2016-01-11 21:56:19 +01:00
Andrea Mazzoleni
04e3a7f719
Fix the latest column of the status graph
...
The convertion from info to time was not necessary, as the value
is already a time. It was clearing the TIME_NEW bit, not showing
corretly the latest column in the graph.
2015-11-13 21:47:13 +01:00
Andrea Mazzoleni
cba363e898
Fix a wrong logic increment in status report
2015-11-13 21:07:30 +01:00
Andrea Mazzoleni
4030b18d40
Show differently scrubbed and new blocks in the graph
2015-11-10 21:27:56 +01:00
Andrea Mazzoleni
4b5c27900f
Change the status message for the not scrubbed percentage
2015-11-10 19:51:38 +01:00
Andrea Mazzoleni
fb759fec84
Rename some shadow variables
...
This removes some warnings in gcc 4.6 version.
2015-10-08 22:33:41 +02:00
Andrea Mazzoleni
0407c945db
Change the interface for parity allocation
...
This will allow a more compact representation
of the parity allocation
2015-10-01 23:24:06 +02:00
Andrea Mazzoleni
cca2cbb23f
Scrub first the just synced blocks
2015-08-27 18:58:25 +02:00
Andrea Mazzoleni
77117b1cd5
Add some more warning checks, and fix the ones reported
2015-08-05 09:42:11 +02:00
Andrea Mazzoleni
6a19a3d3e2
Fix a typo in the status command
2015-06-11 19:16:50 +02:00
Andrea Mazzoleni
de0c437bd2
Put a clear separation between log and msg functions
2015-04-20 22:07:42 +02:00
Andrea Mazzoleni
966abd6f16
Don't print free space in "status" if the info is not available
2015-04-20 20:57:10 +02:00
Andrea Mazzoleni
fb46313666
Use a simpler method to print disk space
2015-03-29 22:23:24 +02:00
Andrea Mazzoleni
3a4ce0b1e2
Use GB instead of GiB to be more consistent with HD size.
2015-03-29 22:18:21 +02:00
Andrea Mazzoleni
76cb3d5b88
Fix printing of wasted space in "status" command
2015-03-01 19:20:03 +01:00
Andrea Mazzoleni
e56de653da
Introduce a new messaging system
2015-02-22 14:31:03 +01:00
Andrea Mazzoleni
8f2b148ff1
Extend the "Wasted" column to show space still to waste
2015-02-12 21:03:38 +01:00
Andrea Mazzoleni
798de7ca99
Change the flush logic for streams
...
Now stdout and stderr are always line buffered, and stdlog only
flushed on request.
2015-02-03 18:29:11 +01:00
Andrea Mazzoleni
b5ce575981
Change the log and output handling
...
Now the log file contains all the errors messages,
and all the tag lines.
2015-02-02 23:39:46 +01:00
Andrea Mazzoleni
ad57aafd8f
Refactor the parity size detection before sync.
...
Now we resize the parity only after checking the size of all
the parity file.
2015-02-01 18:48:50 +01:00
Andrea Mazzoleni
6844fb7527
Print only the first 100 error to avoid to clutter the output
2015-01-31 17:05:31 +01:00
Andrea Mazzoleni
4a41adc807
Add preliminary SMART support with a new "smart" command.
2015-01-14 22:29:20 +01:00
Andrea Mazzoleni
49a66da494
Removes the "silent" error specification as now also input/output errors are possible.
2015-01-06 22:55:40 +01:00
Andrea Mazzoleni
ffe7f6fa57
Adds new files support.c/h for low level support functions.
2015-01-02 18:52:04 +01:00
Andrea Mazzoleni
0c539a0b35
Handles better upgrading in the status command.
2014-11-09 22:24:20 +01:00
Andrea Mazzoleni
7e9a5e6a6d
Stores the free space in the content file.
...
This avoids the need to access data and parity disks in
the status command.
Also removed some data disk access, in list, dup and similar
commands that don't need to scan the disks.
2014-11-09 19:14:29 +01:00
Andrea Mazzoleni
4419801674
Merges parity info in a parity struct.
2014-11-09 10:32:00 +01:00
Andrea Mazzoleni
0b36b3205c
Adds more info in the status log.
2014-11-01 17:38:14 +01:00
Andrea Mazzoleni
acb1bad9b0
Computes the effective wasted space, taking into account the parity size.
2014-10-25 16:36:19 +02:00
Andrea Mazzoleni
3e2d805d08
Extends the status command to show free space.
2014-10-13 23:47:25 +02:00
Andrea Mazzoleni
876bddcf4c
Beautifies the code.
2014-09-27 00:32:39 +02:00
Andrea Mazzoleni
2652438f6d
More logging info for scrub and commandline.
2014-06-29 10:49:13 +02:00
Andrea Mazzoleni
44ef039a13
Different source organization.
2014-03-23 17:50:27 +01:00