Skip to content

Implement retrieval of SMART data for Ubuntu #61

Description

@jamesmarkchan

Research Linux API/Tools for SMART:

smartctl (from smartmontools): This is the standard and most common tool on Linux for accessing SMART data. It's usually pre-installed or easily installable via package managers.

/dev/sdX devices: Direct device interaction can be done, but smartctl abstracts this nicely.

Choose a Method and Implement:

Recommendation: smartctl via subprocess is the clear winner for Linux.

Parsing Output: Parse the smartctl output.

Populate Benchmark Object: Map the retrieved SMART values to the Benchmark object.

corresponding web implementation:

Objectives

  • implement core features
    • Total Bytes Written
    • Power-On Hours
    • Drive Temperature
    • Remaining Life Percentage
  • implement vendor dependent data
    • Wear Leveling Count
    • Bad Block Count
    • Program Fail Count / Erase Fail Count:
    • ECC Error Rate / Un correctable Soft Read Error Rate (raw read error rate)
  • error log solution - cdm or comparable solution
  • persists smart record through derby
  • SMART Reports table for viewing saved and loading past SMART reports
  • button (intuitive maybe green button) to trigger smart query - vs current tabbed solution
  • GUI looks professional and intuitive layout

Metadata

Metadata

Assignees

Labels

linuxlinux environment

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions