[pve-devel] [PATCH v3 storage 0/4] improve SMART handling

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Sep 28 13:42:21 CEST 2016


this patch series partly fix #1123 and #1126:
- no longer fail completely as soon as one NVME (or other unsupported) device
  is installed
- limit smartctl commands to what we actually want
- stricter matching for (ATA) attribute list output

further todos:
- investigate backport of smartmontools >= 6.5 for NVME support
- include parsers (pve-storage) and output (pve-manager) for non-ATA disks

the latter have (more than one) completely different "attribute" list formats
and apparently different "health" strings as well..

changes to v2:
- no longer mark #1123 as fixed, since NVME is not yet supported
- add patches #2,3,4

Fabian Grünbichler (4):
  move SMART error handling into get_disks
  disks: use smartctl -H -A
  disks: parse smart attributes using RE
  disks: fix typo

 PVE/API2/Disks.pm |  2 ++
 PVE/Diskmanage.pm | 94 +++++++++++++++++++++++++++----------------------------
 2 files changed, 48 insertions(+), 48 deletions(-)

-- 
2.1.4





More information about the pve-devel mailing list