BlockDev.SmartSCSI¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
background_medium_scan_runs |
r/w |
Number of background medium scans performed. |
|
background_scan_progress |
r/w |
Percent of a background scan progress. |
|
background_scan_runs |
r/w |
Number of background scans performed. |
|
background_scan_status |
r/w |
Background scan status, see |
|
load_unload_cycle_count |
r/w |
Accumulated load-unload cycles. |
|
load_unload_cycle_lifetime |
r/w |
Specified load-unload count over device lifetime. |
|
overall_status_passed |
r/w |
|
|
power_on_time |
r/w |
Accumulated power on time in minutes. |
|
read_errors_corrected_eccdelayed |
r/w |
Error counter log - read errors corrected by ECC delayed. |
|
read_errors_corrected_eccfast |
r/w |
Error counter log - read errors corrected by ECC fast. |
|
read_errors_corrected_rereads |
r/w |
Error counter log - read errors corrected by rereads. |
|
read_errors_corrected_total |
r/w |
Error counter log - total read errors corrected. |
|
read_errors_uncorrected |
r/w |
Error counter log - total uncorrected read errors. |
|
read_processed_bytes |
r/w |
Error counter log - total bytes processed. |
|
scsi_grown_defect_list |
r/w |
Elements in grown defect list. |
|
scsi_ie |
r/w |
The reported SCSI Informational Exception in a simplified form. See |
|
scsi_ie_asc |
r/w |
The reported SCSI Informational Exception ASC (Additional Sense Code) value (only values of 0xb - warnings and 0x5d - impending failures are taken in account). |
|
scsi_ie_ascq |
r/w |
The reported SCSI Informational Exception ASCQ (Additional Sense Code Qualifier) value. |
|
scsi_ie_string |
r/w |
String representation of the current SCSI Informational Exception. |
|
smart_enabled |
r/w |
Indicates that the SMART support is enabled. |
|
smart_supported |
r/w |
Indicates that the device has SMART capability. |
|
start_stop_cycle_count |
r/w |
Accumulated start-stop cycles. |
|
start_stop_cycle_lifetime |
r/w |
Specified cycle count over device lifetime. |
|
temperature |
r/w |
The current drive temperature in Kelvin or 0 when temperature is not reported. |
|
temperature_drive_trip |
r/w |
The drive trip temperature in Kelvin or 0 when temperature is not reported. |
|
temperature_warning_enabled |
r/w |
Indicates that temperature warning is enabled. |
|
write_errors_corrected_eccdelayed |
r/w |
Error counter log - write errors corrected by ECC delayed. |
|
write_errors_corrected_eccfast |
r/w |
Error counter log - write errors corrected by ECC fast. |
|
write_errors_corrected_rewrites |
r/w |
Error counter log - write errors corrected by rewrites. |
|
write_errors_corrected_total |
r/w |
Error counter log - total write errors corrected. |
|
write_errors_uncorrected |
r/w |
Error counter log - total uncorrected write errors. |
|
write_processed_bytes |
r/w |
Error counter log - total bytes processed. |
Methods¶
class |
|
Details¶
- class BlockDev.SmartSCSI¶
- classmethod get_info(device, extra)¶
- Parameters:
device (
str
) – device to check.extra ([
BlockDev.ExtraArg
] orNone
) – extra options to pass through.
- Raises:
- Returns:
SCSI SMART log or
None
in case of an error (with error set).Tech category:
BlockDev.SmartTech.SCSI
-BlockDev.SmartTechMode.INFO
- Return type:
Retrieve SMART information from SCSI or SAS-compliant drive.