1

What is the maximum number of times the root filesystem on this computer can be mounted before it is automatically checked?

pLumo
  • 26,204
  • 2
  • 57
  • 87
  • Your question is a little bit unclear. Could you be more specific? – Olimjon Jan 11 '19 at 15:11
  • Possibly related: [tune2fs mount-count: is it disabled by default (set to -1)](https://askubuntu.com/questions/680980/tune2fs-mount-count-is-it-disabled-by-default-set-to-1) – steeldriver Jan 11 '19 at 15:26

1 Answers1

2

From https://help.ubuntu.com/community/Fstab:

default is every 30 mounts

Run this to see your current setting:

sudo dumpe2fs -h /dev/sda1 | grep "Maximum mount count"

I have a value of -1 instead of the 30 that help.ubuntu.com is telling me. You can use sudo tune2fs -c XXX /dev/sdXY to change the frequency.

See this thread on ubuntuforums.org.

pLumo
  • 26,204
  • 2
  • 57
  • 87