[pve-devel] applied: [PATCH storage 2/2] Diskmanage: extend wearout detection for SAS disk

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Dec 15 14:42:59 CET 2020


On 11.12.20 14:52, Dominik Csapak wrote:
> 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 at proxmox.com>
> ---
>  PVE/Diskmanage.pm                               | 4 ++--
>  test/disk_tests/sas/sda_smart_expected.json     | 3 ++-
>  test/disk_tests/sas_ssd/disklist_expected.json  | 2 +-
>  test/disk_tests/sas_ssd/sda_smart_expected.json | 3 ++-
>  4 files changed, 7 insertions(+), 5 deletions(-)
> 
>

applied, thanks!





More information about the pve-devel mailing list