SMART drives do not always support the conveyance test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Expired
|
Medium
|
Unassigned |
Bug Description
I have several drives that don't support the conveyance test. Not all drives support this test, so it should be detected and skipped with a reason given when that's the case.
Using 'smartctl -c /dev/sdX' will tell if the conveyance test is supported. In this example, the phrase "No Conveyance Self-test supported." is the hint you are looking for :)
For example:
sudo smartctl -c /dev/sda
smartctl 6.6 2016-05-31 r4324 [x86_64-
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontoo
=== START OF READ SMART DATA SECTION ===
General SMART Values:
Offline data collection status: (0x84) Offline data collection activity
was suspended by an interrupting command from host.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 6731) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 113) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
Changed in maas: | |
milestone: | none → 2.6.0 |
Changed in maas: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Lee Trager (ltrager) |
no longer affects: | maas/2.5 |
Changed in maas: | |
status: | Confirmed → Triaged |
assignee: | Lee Trager (ltrager) → nobody |
milestone: | 2.6.0 → none |
$ smartctl -c /dev/sdX
supported