]> git.proxmox.com Git - pve-storage.git/commit
Diskmanage: Use S.M.A.R.T. attributes for SSDs wearout lookup
authorJan-Jonas Sämann <sprinterfreak@binary-kitchen.de>
Fri, 30 Oct 2020 03:57:22 +0000 (04:57 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 30 Oct 2020 14:25:11 +0000 (15:25 +0100)
commitdbad606d575dd8c76f46448014c39fc2163a6a14
treed84a5d124e52649635dd2115746bd74b06218b41
parent641146add8b37af2852d783991beb50a02b6a928
Diskmanage: Use S.M.A.R.T. attributes for SSDs wearout lookup

This replaces a locally maintained hardware map in
get_wear_leveling_info() by commonly used register names of
smartmontool. Smartmontool maintains a labeled register database that
contains a majority of drives (including versions). The current lookup
produces false estimates, this approach hopefully provides more reliable
data.

Signed-off-by: Jan-Jonas Sämann <sprinterfreak@binary-kitchen.de>
PVE/Diskmanage.pm