From 8c92cac1917ccd1294b1e76844457de1a3f20908 Mon Sep 17 00:00:00 2001 From: Staubiii <141338042+Staubiii@users.noreply.github.com> Date: Mon, 4 Sep 2023 15:32:52 +0200 Subject: [PATCH] Ignore snap filesystem for mountpoint cleanup --- mysqltuner.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index 87c2385d5..fe6d53fca 100644 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -1793,7 +1793,7 @@ sub get_fs_info { $v; } @iinfo; foreach my $info (@iinfo) { - next if $info =~ m{(\d+)\t/(run|dev|sys|proc)($|/)}; + next if $info =~ m{(\d+)\t/(run|dev|sys|proc|snap)($|/)}; if ( $info =~ /(\d+)\t(.*)/ ) { if ( $1 > 85 ) { badprint "mount point $2 is using $1 % of max allowed inodes";