Andrea Mazzoleni
327bae506d
Add some warnings in the manual about data that rarely changes
2015-04-19 22:07:06 +02:00
Andrea Mazzoleni
adbc74f862
Suppress missing file warnings if -m is specified
2015-04-19 21:21:49 +02:00
Andrea Mazzoleni
a5a72f4a31
Change some warnings to errors to always print them on screen
2015-04-19 21:13:05 +02:00
Andrea Mazzoleni
2e248b42ae
Change the scrub error msg if there are too many errors
2015-04-19 21:10:58 +02:00
Andrea Mazzoleni
6c91927803
In "devices" command format the disk serial as 8 hex digits in Windows
2015-04-14 20:49:03 +02:00
Andrea Mazzoleni
f935c8f828
More documentation about the new "smart" command
2015-04-12 21:25:16 +02:00
Andrea Mazzoleni
f0fc3a8889
Some more change at smart log
2015-04-12 20:57:48 +02:00
Andrea Mazzoleni
c34e3875e0
Minor change in log format
2015-04-11 22:59:58 +02:00
Andrea Mazzoleni
db3c417481
Log all the smartctl output
2015-04-11 07:43:12 +02:00
Andrea Mazzoleni
258ab45eef
Add missing lock in msg_tag() call
2015-04-11 07:10:11 +02:00
Andrea Mazzoleni
69c80d0460
Change some output strings for "smart" command
2015-04-10 22:26:06 +02:00
Andrea Mazzoleni
8334ddc7c1
Log also the the SMART FLAGS returned by smartctl
2015-04-10 18:34:16 +02:00
Andrea Mazzoleni
827eb2117e
Remove the 0x usage in log files
2015-04-10 18:30:06 +02:00
Andrea Mazzoleni
4af4504515
Validate the smartctl string before accepting it
2015-04-10 18:29:06 +02:00
Andrea Mazzoleni
0477ed36c6
Add lock protection at the output in all platforms
2015-04-09 21:22:14 +02:00
Andrea Mazzoleni
57b7d0be95
Drop hdparm use replaced by smartctl even for "down" command
2015-04-09 21:16:06 +02:00
Andrea Mazzoleni
228ca866e2
Fix a missed initialization of the new smartctl variable
2015-04-08 23:10:43 +02:00
Andrea Mazzoleni
214070dc4d
Add support for a new "smartctl" config option
...
This option allows to configure custom smartctl
commands for devices that cannot be autodetected.
2015-04-08 22:56:44 +02:00
Andrea Mazzoleni
024b3f80fa
Print failure rate also without rotation rate
2015-04-08 18:13:24 +02:00
Andrea Mazzoleni
1613ca1c86
Remove dependency to SMART 199 attribute
...
This is in general not an indication of disk failure,
but only a problem in communication with the controller.
After fixing that problem, the errors disappear, but the counter
cannot be zeroed.
2015-04-08 17:30:34 +02:00
Andrea Mazzoleni
9a10c94946
Retry smartctl command in Windows with -d sat if no info
2015-04-07 21:59:09 +02:00
Andrea Mazzoleni
bb76d48ace
Update SMART 188 table after masking to 16 bit also on generation
2015-04-06 22:30:20 +02:00
Andrea Mazzoleni
99138c402e
Change "test-devices" to "devices" in the test
2015-04-06 17:18:15 +02:00
Andrea Mazzoleni
55ad36d1a5
Add the "devices" command as an official one
2015-04-06 17:11:27 +02:00
Andrea Mazzoleni
36a05fe53a
Mask the SMART values before using them
...
The 188 value for Seagate disk must use only the lower 16 bits,
others value are generally limited to 32 bits.
2015-04-06 17:10:28 +02:00
Andrea Mazzoleni
edcc9dcd52
Set release version
2015-04-02 22:37:48 +02:00
Andrea Mazzoleni
3dde106f6d
Add extra testing for the new 'smart' command
2015-03-31 23:47:34 +02:00
Andrea Mazzoleni
35b1b08b6c
Clean the cpu.h header
2015-03-30 23:36:36 +02:00
Andrea Mazzoleni
8a0d49b21e
Fix the selftest due missing return value
2015-03-30 22:23:23 +02:00
Andrea Mazzoleni
0ac0a8eceb
Extend the raid regression test with some more case
2015-03-30 18:57:33 +02:00
Andrea Mazzoleni
36061561cc
Some more GiB to GB conversion
2015-03-29 23:18:30 +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
dd888c30db
Add better checks at the raid funtions
2015-03-27 08:44:20 +01:00
Andrea Mazzoleni
5f29608ebf
Fix wrong pairing of va_start and va_end
2015-03-26 19:41:31 +01:00
Andrea Mazzoleni
1bbca4ca40
Remove impossible condition about io_error in hashing
2015-03-26 19:37:21 +01:00
Andrea Mazzoleni
21ce043725
Use manual line buffering for stdout/stderr.
...
This is needed for Windows where line buffering is not supported.
2015-03-23 22:57:36 +01:00
Andrea Mazzoleni
20a565a8c1
Add missing new file
2015-03-21 17:18:03 +01:00
Andrea Mazzoleni
f48c0c3cd0
Rename raid_rec_dataonly() to raid_data()
2015-03-21 17:16:16 +01:00
Andrea Mazzoleni
7bdee2c1d9
Add new raid_check() and raid_scan() functions
...
They are aimed to find the broken blocks using the extra
redundancy information.
2015-03-21 17:03:55 +01:00
Andrea Mazzoleni
b0891290eb
More raid coverage extensions
2015-03-18 22:55:17 +01:00
Andrea Mazzoleni
a60e7a9bb5
Extend the raid coverage test
2015-03-18 19:19:32 +01:00
Andrea Mazzoleni
7fd0beb36a
Review of the new alignment method
2015-03-18 08:21:28 +01:00
Andrea Mazzoleni
f197cfbe45
Fix the regression test after diff command changes
2015-03-18 08:16:47 +01:00
Andrea Mazzoleni
b0d2368cce
Use a more generic approach to align the stack
...
This is independent of the compiler used.
2015-03-17 21:46:20 +01:00
Andrea Mazzoleni
a424772122
More comments about raid function property
2015-03-15 22:44:04 +01:00
Andrea Mazzoleni
eb5ac437b2
Review manpage about memory size
2015-03-13 19:34:45 +01:00
Andrea Mazzoleni
529226087a
Minor adjustment in the SMART status output info
2015-03-12 21:13:09 +01:00
Andrea Mazzoleni
c8558c28ac
Fix some formatting issues of the code
...
Now it matches the Linux kernel style.
2015-03-12 18:53:36 +01:00
Andrea Mazzoleni
2bcca4f2ec
Fix some formatting issues
2015-03-10 22:20:11 +01:00