]> git.proxmox.com Git - pve-storage.git/commit
Diskmanage: extract nvme wearout from smartctl text
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 4 Jun 2019 11:05:27 +0000 (13:05 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 4 Jun 2019 11:14:45 +0000 (13:14 +0200)
commitea928fd41ab09128bd3ef37c65da1eb3fc96dc78
treef40d7179e58ed93bf2495433644fba328b39bbac
parentd0a217f624d2652e333ef43a2e13e601251f0144
Diskmanage: extract nvme wearout from smartctl text

extract the info from the line:
Percentage Used: XX%

also adapt the tests

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/Diskmanage.pm
test/disk_tests/nvme_smart/disklist_expected.json
test/disk_tests/nvme_smart/nvme0n1_smart_expected.json