From 59ce37b3a11ed2418efe39f1705179a3f0b8ee6e Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Thu, 28 Jan 2021 18:01:59 +1100 Subject: [PATCH] skip snap filesystems --- mysqltuner.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysqltuner.pl b/mysqltuner.pl index 7bf4757..050a6b7 100644 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -1487,7 +1487,7 @@ sub get_fs_info { $v; } @sinfo; foreach my $info (@sinfo) { - 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 % total space";