]> git.proxmox.com Git - pve-storage.git/commit
Diskmanage: extend wearout detection for SAS disk
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 11 Dec 2020 13:52:41 +0000 (14:52 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 15 Dec 2020 13:42:16 +0000 (14:42 +0100)
commit2c048efdaf2ac73c3a50edeaaf8280b2738a7f98
treedcd69296b72fff83f4db83cc565acd814a1f281f
parenta66db4ae553bde8ade0de9a962724a60751b2f77
Diskmanage: extend wearout detection for SAS disk

for some controllers/disks there the line is
Percentage used endurance indicator: x%

so extend the regex for that possibilty.
We even had a test-case for SAS but did not notice we could extract
that info from there...

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