[CentOS] max mount count incovenient

Barry Brimer lists at brimer.org
Tue Jan 8 21:36:43 UTC 2008


Quoting Linux Man <linuxman.uru at gmail.com>:

> Hello group
> I added a new partition in fstab, and works without a problem.
> I used mkfs.ext3 to create the partition.
> My problem is that every 26 boots, the system tells that the partition
> have no been checked since 26 systems boots, ant start to check my new
> partition. This is a lot of time consuming, and always is in a bad
> time.
> There some way to do the check in a controlled time? i.e. do it the
> check before 26 system boot, when the time is no problem.
> Thanks a lot
> Best regards

I believe "tune2fs -c <# of times mounted before count> <device>" should do it. 
See man tune2fs for more details.

Hope this helps,
Barry



More information about the CentOS mailing list