Page MenuHomeSolus

Update smartmontools to 7.0
ClosedPublic

Authored by kyrios123 on Jan 1 2019, 6:38 PM.
Tags
None
Referenced Files
F10895524: D4921.diff
Jul 1 2023, 5:27 PM
F10878474: D4921.id11999.diff
Jun 21 2023, 9:39 AM
F10873750: D4921.id12130.diff
Jun 19 2023, 5:26 PM
F10873626: D4921.id11999.diff
Jun 19 2023, 4:01 PM
F10862789: D4921.diff
Jun 16 2023, 10:49 PM
F10831166: D4921.id11999.diff
Jun 5 2023, 7:42 AM
F10727295: D4921.diff
May 9 2023, 8:28 PM
Subscribers

Details

Summary
  • smartctl: New options '-j' and '--json[=giosu]' to enable experimental JSON output mode. Also supports an alternative flat format suitable for grep ('--json=g').
  • smartctl '-l devstat': Fix for logs with 256 sectors.
  • smartctl '-l error': Prints SCSI Pending Defects log page if supported.
  • smartctl '-H': Prints SCSI Format Status log page if supported.
  • smartctl '-x': Now includes '-l defects'.
  • NVMe/USB: Device type '-d sntjmicron' for NVMe drives behind JMicron USB to NVMe bridges.
  • NVMe: SMART/Health Information and Error Information are always read with broadcast NSID.
  • SCSI: Various improvements for the decoding of log pages.
  • SCSI: Improved handling of READ CAPACITY command.
  • SCSI: Support for SAS host managed drives.
  • New option '-d scsi+TYPE' to disable SAT auto detection for 'aacraid' and 'cciss'.
  • update-smart-drivedb: New option '-u github'.
  • update-smart-drivedb: New signing key.
  • configure: New options '--with-cxx11-regex' and '--with-libsystemd'.
  • configure: Default for '--with-nvme-devicescan' is now 'yes' on Linux and Windows.
  • configure: Default for '--with-scriptpath' now includes '/usr/local/bin'.
  • configure: Options '-with-initscriptdir=[auto|yes]' are no longer supported.
  • Reworked handling of unaligned LE and BE integers.
  • Dropped various backward compatibility fixes for very old compilers.
  • Replaced GPL header with 'SPDX-License-Identifier' in all source files.
  • HDD, SSD and USB additions to drive database.
  • Always use '-d sat' for USB vendor IDs with known SAT support.
  • Linux: Device scan with '-d by-id' scans '/dev/disk/by-id/*' symlinks.
  • Linux: Dropped device scan support for devfs.
  • Linux: Fixed device scan with multiple '-d TYPE' options.
  • Linux: Fixed device scan crash on missing '/proc/devices'.
  • Linux: USB ID detection also for '/dev/sgN'.
  • Linux: Compile fix for systems with musl libc.
  • Linux smartd: Could now run as systemd service with 'Type=notify' set.

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan
  • sudo smartctl --scan
  • sudo smartctl -i /dev/sda3
  • sudo smartctl -x /dev/sdb1
  • sudo update-smart-drivedb

Diff Detail

Repository
R2915 smartmontools
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

DataDrake added a subscriber: DataDrake.

LGTM. Thanks!

This revision is now accepted and ready to land.Jan 7 2019, 1:07 PM
This revision was automatically updated to reflect the committed changes.