max mount count incovenient

Mike Burger mburger at bubbanfriends.org
Tue Jan 8 23:17:14 UTC 2008


Optionally, you could use "-c 0" -r "-c -1" to disable it, altogether.

>From "man tune2fs":

OPTIONS
-c max-mount-counts
     Adjust the maximal mounts count between two  filesystem  checks.
     If max-mount-counts is 0 or -1, the number of times the filesys-
     tem is mounted will be disregarded by e2fsck(8) and the  kernel.

> The example below will check the filesystem or partition after 100 mounts
> or
> 3 months, whichever comes first. You need to type in this command in a
> root
> shell:
>
> tune2fs -c 100 -i 3m /dev/hdax
>
> in case of scsi,
>
> tune2fs -c 100 -i 3m /sdcX  ( c = drive number usually 3)
>
>
>
>
>
> On Jan 9, 2008 3:05 AM, Linux Man <linuxman.uru at gmail.com> wrote:
>
>> 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
>>
>> --
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list
>>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>


-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit:

https://www.bubbanfriends.org/mailman/listinfo/site-update

or send a blank email message to:

site-update-subscribe at bubbanfriends.org




More information about the redhat-list mailing list