385b2158fd
Improved method to avoid crash during self-tests
2020-01-30 13:28:52 -07:00
dc6dcfb845
Revert "Avoid crash during SMART self-test"
...
This reverts commit cc8c0992f6 .
2020-01-30 13:25:46 -07:00
98032a0fed
Removed stale TODO statements
2020-01-28 19:00:47 -07:00
0c8701e3e4
Support get_disks_macOS() on older macOS versions
2020-01-28 18:10:10 -07:00
cc8c0992f6
Avoid crash during SMART self-test
2020-01-28 18:09:33 -07:00
bfc17942cd
Added header to SMART self-test output
...
* Matches badblocks header
* Also added Initializing message
2020-01-22 11:22:47 -07:00
79abbcfaf8
Avoid crash when getting NVMe attributes
2020-01-22 11:20:39 -07:00
16dbffd91c
Enable SAT usage for USBs to expand SMART support
...
* Only enabled for USB devices
* Only enabled if attributes weren't found using --device=auto
* Addresses issue #109
2020-01-13 17:12:58 -07:00
e6e51498dd
Clear ddrescue pane every minute
2020-01-03 18:36:53 -07:00
6dc887b04e
Added initial disk formatting sections
2020-01-02 15:50:26 -07:00
bcd46d4017
Added SMART/Journal panes
2019-12-30 19:25:46 -07:00
2fb2c3fa6e
Adjusted loopback device descriptions
2019-12-19 11:31:32 -07:00
c72372d55c
Replaced platform.system() with PLATFORM var
...
* Better?
2019-12-13 19:01:26 -07:00
bc2c3a2c80
Expanded source/dest disk selection sections
2019-12-13 18:37:36 -07:00
b746cda6e7
Bugfix
2019-12-12 18:46:44 -07:00
3733da17fc
Moved get_disks() from wk/hw/diags to wk/hw/obj
2019-12-12 18:36:57 -07:00
8e5bfa12f4
Added NVMe SMART status checks
...
* Addresses issue #130
2019-12-09 16:48:35 -07:00
cc85e3e8ed
Improve abort handling
2019-12-09 16:32:35 -07:00
9dc8329dec
Updated self-test sections
...
* Improved abort handling
* Always include report if state.tests['Disk Self-Test'] is enabled
* Send abort command via smartctl if aborting self-test(s)
2019-12-08 16:37:37 -07:00
c09cd0c9c2
Added disk safety check before each test
...
* Includes possible workaround for SMART self-test TimedOut errors
2019-12-08 15:29:18 -07:00
6167d0d78d
Get disk serial numbers under macOS
2019-12-05 14:24:57 -07:00
0eadb784bb
Updated get_ram_list_linux()
2019-11-13 11:14:55 -07:00
205c5ed0fc
Support model-specifc attribute thresholds
...
* Addresses issue #142
2019-11-08 16:00:27 -07:00
a053931c17
Added Test() object
2019-11-07 20:46:21 -07:00
b162c99d6e
Added BaseObj() class
2019-11-07 20:40:50 -07:00
12de0e5b84
Inlcude RAM vendor ID for unknown IDs
2019-11-07 18:58:20 -07:00
0e9b1af56b
Added safety check to Disk().get_details()
2019-11-07 18:57:31 -07:00
d933ff9742
Reordered functions
2019-11-01 18:52:26 -06:00
e634d1691f
Added SMART self-test sections
2019-11-01 18:51:02 -06:00
93102b5144
Reworked checking Disk() attributes
...
* Added separate Disk().check_attributes() function
* Can be used to check all KNOWN_ATTRIBUTES or just blocking ones
* Renamed ATTRIBUTES to KNOWN_ATTRIBUTES for clarity
* Renamed 'Critical' column to 'Blocking'
* Added '(Failed)' note to attribute report
* Addresses issue #131
2019-10-31 19:19:52 -06:00
07fdbcdd7c
Added Disk().safety_checks()
...
* Raises an exception for blocking events
* Removed "Ignore" column from ATTRIBUTES
* Listed attributes should either be warnings or errors
* Only 'Critical' attributes should block futher tests
2019-10-31 18:28:34 -06:00
d25b341eb3
Added is_4k_aligned_macos()
2019-10-31 16:48:30 -06:00
5d6b7578d3
Fixed 4K alignment check under Linux
2019-10-31 16:34:54 -06:00
2a019d09a0
Updated Disk notes sections
2019-10-31 16:33:35 -06:00
117df6158a
Fix attribute value colors
2019-10-28 20:57:34 -06:00
ae5e9b8f34
Added 4K alignment check
2019-10-28 20:45:30 -06:00
c7090e77c2
Added Disk().generate_report()
...
* Uses new merged ATTRIBUTES config
2019-10-28 20:15:58 -06:00
fbb480dae6
Adjusted drive details
...
* Use 'bus' instead of 'proto(col)' or 'tran'
* I think it's a better description
* Reordered details alphanumerically
* Removed 'log-sec' from required details
* Only concerned with the phy-sec
2019-10-28 17:55:37 -06:00
6a1be5cf06
Moved wk.obj to wk.hw.obj
...
* Done because the main classes are CpuRam() and Disk()
* The rest are there for uniformity while working with HW objects
2019-10-28 17:46:17 -06:00