SMART drives do not always support the conveyance test

Bug #1818267 reported by Mark Shuttleworth
6
This bug affects 1 person
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-linux-4.15.0-45-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== 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
Lee Trager (ltrager)
Changed in maas:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Lee Trager (ltrager)
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

$ smartctl -c /dev/sdX
supported

no longer affects: maas/2.5
Changed in maas:
status: Confirmed → Triaged
assignee: Lee Trager (ltrager) → nobody
milestone: 2.6.0 → none
Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

What's the error message/observed MAAS behavior when the conveyance test is not supported but the scripts still attempt to run it?

Changed in maas:
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for MAAS because there has been no activity for 60 days.]

Changed in maas:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.