How can I retrieve the mount count for an ext3 volume?
Tom Buskey
tom at buskey.name
Tue Oct 6 10:43:11 EDT 2009
On Tue, Oct 6, 2009 at 10:19 AM, Alex Hewitt <hewitt_tech at comcast.net>wrote:
> Ben Scott wrote:
> > 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.
>
Someday soon, Linux will have btrfs. I don't think it does/needs fsck. And
ZFS doesn't fsck either.
> > 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.
>
And RAIDs should be scrubbed periodically.
> > 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.
> >
>
...
> Thanks Ken, Dave and Ben for the answers and thoughtful analysis. I
> currently have essentially one large partition for Linux and another
> large partition for Vista. I think when I set up my next system I'm
> going to make the granularity of the file systems finer by dividing up
> the mount points/partitions. It's been a standard practice for a long
> time to separate system and data partitions/disks primarily for backups
> but in the case of a file system check, it speeds operations enormously.
>
Unix has separated & fine tuned the speed of the disks since the
beginning. The PDP-11 at Bell Labs had 2 drives. One smaller and fast,
one larger and slow. /usr was on the slow drive. / was the fast. Programs
that got used a lot (ed, sh, roff) got put in /bin. Less used programs got
put in /usr/bin.
SunOS has always tried to seperate the OS from X11 (/usr/openwin) and data
(/export/home). to prevent OS updates from affecting 3rd party installed.
Of course, vendors put lots of stuff in /usr anyways.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20091006/0a49554a/attachment.html
More information about the gnhlug-discuss
mailing list