How can I retrieve the mount count for an ext3 volume?
Ben Scott
dragonhawk at gmail.com
Tue Oct 6 09:41:17 EDT 2009
On Tue, Oct 6, 2009 at 8:35 AM, Alex Hewitt <hewitt_tech at comcast.net> wrote:
> My Ubuntu 8.10 system uses EXT3 for the root filesystem and will
> automatically fschk the volume every 35 mounts.
I see the question's been answered, but here's some general commentary, FWIW.
I generally find it's more appropriate to use the time interval
check, and disable the maximum mount count check. The theory being
that it doesn't really matter how often you mount the filesystem. If
you reboot 5 times a day because you shut your PC off when you're not
using, that doesn't necessarily mean you need to check every week.
Contrariwise, if you almost never reboot, that doesn't mean you only
need to check once per decade.
Since I like to divide things up into multiple partitions, I can
also tune based on filesystem usage. For example, my /tmp partition
checks every 30 days, but my /usr partition checks every 180 days The
theory being that a filesystem with more activity is more likely to
encounter problems.
I have my root and boot partitions set to check every mount. The
theory being that they're really important. They're also small in my
setup, so it only takes a few seconds.
OTOH, if you have multiple partitions, you can disable the time
interval and use different mount counts, and avoid checking multiple
filesystems at once.
-- Ben
More information about the gnhlug-discuss
mailing list