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

This patch fixes the invocation in
proxmox-datacenter-manager-admin report.

[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]>
---
 server/src/report.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/report.rs b/server/src/report.rs
index 9da6b42..371d8cf 100644
--- a/server/src/report.rs
+++ b/server/src/report.rs
@@ -77,7 +77,7 @@ fn commands() -> Vec<(&'static str, Vec<&'static str>)> {
         ("ls", vec!["-l", "/dev/disk/by-id", "/dev/disk/by-path"]),
         ("zpool", vec!["status"]),
         ("zfs", vec!["list"]),
-        ("arcstat", vec![]),
+        ("zarcstat", vec![]),
         ("ip", vec!["-details", "-statistics", "address"]),
         ("ip", vec!["-4", "route", "show"]),
         ("ip", vec!["-6", "route", "show"]),
-- 
2.47.3




Reply via email to