Jarry wrote:
Hi,
I use one drive just for backup, co I mount/unmount it only when
I need it (quite frequently). Since some time I started getting
these messages in /var/log/kernel.log:

kernel: kjournald starting.  Commit interval 5 seconds
kernel: EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
kernel: EXT3 FS on sda1, internal journal
kernel: EXT3-fs: mounted filesystem with ordered data mode.

So I unmounted /dev/sda1 and checked partition as recommended:
e2fsck -f /dev/sda1

All tests passed, no errors reported, output seems normal.
But when I mount it, I get the above mentioned message again.
Apparently, mount-counter has not been reset. So how can I
reset it?

I think, that message indicate that fsck will check that
partition while doing next backup. I would like to avoid
it, as it is rather large partition (2TB) with a lot of
files, and fsck takes quite long time...

Jarry



Check out tune2fs's man page. I think one of the options there will help you. Also, you can use dumpe2fs to see the count. That is also shown with the tune2fs command tho.

One more thing, if you just want it to print certain info, grep would be your friend. ;-) It spits out a lot here.

I also googled a bit and it does appear that the booting check resets the counter. At least that was what one poster said. May not be the case now but thought I would mention it.

Hope that helps.

Dale

:-)  :-)

Reply via email to