With ZFS 2.4.0 `arcstat` was renamed to `zarcstat`, without providing
a symlink for backward compatibility [0].

This patch fixes the invocation in pvereport.

[0] 
https://git.proxmox.com/?p=zfsonlinux.git;a=commit;h=b52bb3caa4e4c7fab516c3aa828caa7b48b5ed7f

Reported-by: Friedrich Weber <[email protected]>
Signed-off-by: Stoiko Ivanov <[email protected]>
---
 PVE/Report.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Report.pm b/PVE/Report.pm
index 549a5d23..29433d4a 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -147,7 +147,7 @@ my $init_report_cmds = sub {
             'zpool status',
             'zpool list -v',
             'zfs list',
-            'arcstat',
+            'zarcstat',
             ;
     }
 
-- 
2.47.3




Reply via email to