Commit graph

1149 commits

Author SHA1 Message Date
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
ed8686a93e Sync the parity file before printing Everything OK
This avoids misinterpretation in case of errors.
2015-01-31 16:44:46 +01:00
Andrea Mazzoleni
a2a70f3e89 Fix a typo in a message 2015-01-31 09:33:05 +01:00
Andrea Mazzoleni
65bfca5699 Fix some leak on error found by coverity scan 2015-01-30 23:00:27 +01:00
Andrea Mazzoleni
c110a00452 Make readdir calls in devuuid consistent with other functions 2015-01-30 22:59:53 +01:00
Andrea Mazzoleni
029df96268 Fix an output message 2015-01-30 22:39:32 +01:00
Andrea Mazzoleni
d70c0c22dd Add preliminary documentation for new options 2015-01-30 22:32:22 +01:00
Andrea Mazzoleni
cd1186e434 Support the case of device not in smartctl database 2015-01-29 22:52:17 +01:00
Andrea Mazzoleni
a02ea3da76 Use the midpoint from Backblaze stats 2015-01-28 19:36:45 +01:00
Andrea Mazzoleni
d303ade101 Reduce the precision of SMART data point
We don't need so many digits...
2015-01-28 19:07:29 +01:00
Andrea Mazzoleni
705ed89d3e Make the "smart" command to fail in a prefail condition 2015-01-28 19:04:52 +01:00
Andrea Mazzoleni
e4d33e9d28 Remove a double % in the output 2015-01-28 18:50:08 +01:00
Andrea Mazzoleni
17631345c6 Log the filter rules in the config file 2015-01-27 23:32:51 +01:00
Andrea Mazzoleni
5665336c16 Change the rule output format to match the input one 2015-01-27 23:32:13 +01:00
Andrea Mazzoleni
83e1629868 When excluding files print also the rule excluding them 2015-01-27 23:10:38 +01:00
Andrea Mazzoleni
a435fabf90 Allow the "devices" command during operations 2015-01-26 18:25:52 +01:00
Andrea Mazzoleni
831779e506 Don't print the "not in stat" as not really clear 2015-01-26 18:24:12 +01:00
Andrea Mazzoleni
8713e6fa72 Allow to use the "smart" command while running 2015-01-25 15:34:46 +01:00
Andrea Mazzoleni
74026ddca8 Add smartctl_scan into support module 2015-01-24 22:50:42 +01:00
Andrea Mazzoleni
ebabaacfe9 Use a simpler smart attribute printing 2015-01-24 22:50:24 +01:00
Andrea Mazzoleni
be6640b65f Add rotation rate in smart attribute 2015-01-24 22:37:37 +01:00
Andrea Mazzoleni
f706da1cc6 Share smartctl support between different platforms 2015-01-24 19:43:01 +01:00
Andrea Mazzoleni
467bf0256b Add preliminary Windows support for "smart" command 2015-01-24 19:17:34 +01:00
Andrea Mazzoleni
57c501546e Remove printf without format specification 2015-01-24 19:16:42 +01:00
Andrea Mazzoleni
356c36cda0 Report the smartctl fail/prefail conditions 2015-01-24 17:55:59 +01:00
Andrea Mazzoleni
3df837b224 Clean the configure script 2015-01-24 14:34:53 +01:00
Andrea Mazzoleni
61117794b5 Print full stats only if verbose is specified 2015-01-24 14:10:51 +01:00
Andrea Mazzoleni
88aa107596 Use a more precise error detection when running external programs 2015-01-24 14:10:23 +01:00
Andrea Mazzoleni
f974a8378b Add error control at the smart command 2015-01-23 22:59:29 +01:00
Andrea Mazzoleni
e0601593bd Add log support to smart command 2015-01-23 22:43:46 +01:00
Andrea Mazzoleni
6e02deb5d8 Adjust the "smart" output formatting. 2015-01-20 23:04:17 +01:00
Andrea Mazzoleni
41a496fe99 Add a new list count operation to TommyDS 2015-01-19 22:22:36 +01:00
Andrea Mazzoleni
c0970c02b3 Change to use the full scrub time in failure prediction
This take into account that you have to detect a failure
before fixing it.
2015-01-19 22:15:01 +01:00
Andrea Mazzoleni
d1363b02f3 Change to use the more common MTTDL model to predict failures 2015-01-19 22:10:58 +01:00
Andrea Mazzoleni
e3f9a7a866 Reformat the output of the "smart" command. 2015-01-18 22:34:18 +01:00
Andrea Mazzoleni
0e4b5053b9 Add basic stat analysis of the failure rate 2015-01-17 23:36:44 +01:00
Andrea Mazzoleni
fca475f136 Remove device sorting to keep the original order 2015-01-16 19:14:07 +01:00
Andrea Mazzoleni
1796d1cd01 Pad the SMART report to have it looks better 2015-01-16 18:55:27 +01:00
Andrea Mazzoleni
80982a8455 Scan for all devices in the SMART report 2015-01-16 18:52:31 +01:00
Andrea Mazzoleni
951e4e5c98 Add the ATA error count in the SMART report.
And other minor changes.
2015-01-15 22:47:21 +01:00
Andrea Mazzoleni
be22724a95 Add a comment about reserving space in Windows. 2015-01-15 22:45:07 +01:00
Andrea Mazzoleni
4a41adc807 Add preliminary SMART support with a new "smart" command. 2015-01-14 22:29:20 +01:00
Andrea Mazzoleni
16b872e30c Refactors the new spin support with some rename and function splitting. 2015-01-11 17:43:31 +01:00
Andrea Mazzoleni
9517e0c622 Prints also the disk name when listing devices. 2015-01-10 10:21:26 +01:00
Andrea Mazzoleni
bd475e5314 Fixes a typo in comment. 2015-01-10 10:21:05 +01:00
Andrea Mazzoleni
de2c68ddb5 Adds FILE_SHARE_DELETE in all open file operations in Windows.
Without this flag the open call may fail if the file
is already opened with delete access.
2015-01-07 22:58:49 +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
501c74b0fb Adds a new TODO entry. 2015-01-06 22:40:18 +01:00
Andrea Mazzoleni
0152f289f4 Adds the elapsed time in seconds in the -G progress output. 2015-01-06 22:29:22 +01:00