From 6a4e3fb718a5c3249425dc4ae167b977abdb7f2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renaud=20M=C3=A9trich?= Date: Thu, 8 Oct 2020 11:51:13 +0200 Subject: [PATCH] [filesys] never collect content of /proc/fs/panfs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit panfs (from Panasas company) provides statistics under /proc/fs/panfs which makes sosreports become several hundreds of GBs. This path must hence be blacklisted. Resolves: #2262 Signed-off-by: Renaud Métrich Signed-off-by: Jake Hunsaker --- sos/report/plugins/filesys.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sos/report/plugins/filesys.py b/sos/report/plugins/filesys.py index 3baec3ce..57f608d0 100644 --- a/sos/report/plugins/filesys.py +++ b/sos/report/plugins/filesys.py @@ -43,6 +43,8 @@ class Filesys(Plugin, DebianPlugin, UbuntuPlugin, CosPlugin): "lslocks" ]) + self.add_forbidden_path('/proc/fs/panfs') + if self.get_option('lsof'): self.add_cmd_output("lsof -b +M -n -l -P", root_symlink="lsof") -- 2.26.2