Skip to content

Commit

Permalink
Merge pull request #718 from Staubiii/patch-3
Browse files Browse the repository at this point in the history
Ignore snap filesystem for mountpoint cleanup
  • Loading branch information
jmrenouard authored Sep 7, 2023
2 parents ea681a3 + 8c92cac commit 98fc9f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysqltuner.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 98fc9f5

Please sign in to comment.