You are not logged in.
Currently, my root fs is checked every 31 boot-ups. Can I increase the interval?
Last edited by Raccoon1400 (2008-06-08 17:26:16)
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
hi
i think, you can change the interval with tune2fs
i never did, so I can't give you better instructions...
Offline
You're looking for the tune2fs -c and -i options. FYI, mke2fs prints a message about this when you make a new ext2 file system.
Offline
You're looking for the tune2fs -c and -i options. FYI, mke2fs prints a message about this when you make a new ext2 file system.
So what do I type into the terminal?
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
From the manpage: tune2fs -C mount-count.
Offline
From the manpage: tune2fs -C mount-count.
Then I get this
[root@duncan-arch duncan]# tune2fs -C mount-count
tune2fs 1.40.8 (13-Mar-2008)
tune2fs: bad mounts count - mount-count
Usage: tune2fs [-c max_mounts_count] [-e errors_behavior] [-g group]
[-i interval[d|m|w]] [-j] [-J journal_options] [-l]
[-m reserved_blocks_percent] [-o [^]mount_options[,...]]
[-r reserved_blocks_count] [-u user] [-C mount_count] [-L volume_label]
[-M last_mounted_dir] [-O [^]feature[,...]]
[-E extended-option[,...]] [-T last_check_time] [-U UUID] device
[root@duncan-arch duncan]# tune2fs -C mount_count
tune2fs 1.40.8 (13-Mar-2008)
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
c'mon
we gave you the name of the tool and the hint to read the man page
anyone can do that...
sooo, maybe mount_count should be a number?
Offline
I have read the man page.
When I use a number, I get this. I am not sure if it is changing any settings. Can I check without rebooting 51 times?
[root@duncan-arch duncan]# tune2fs -c 51
tune2fs 1.40.8 (13-Mar-2008)
Usage: tune2fs [-c max_mounts_count] [-e errors_behavior] [-g group]
[-i interval[d|m|w]] [-j] [-J journal_options] [-l]
[-m reserved_blocks_percent] [-o [^]mount_options[,...]]
[-r reserved_blocks_count] [-u user] [-C mount_count] [-L volume_label]
[-M last_mounted_dir] [-O [^]feature[,...]]
[-E extended-option[,...]] [-T last_check_time] [-U UUID] device
[root@duncan-arch duncan]#
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline
it should be tune2fs -c number /dev/sdX
Last edited by moljac024 (2008-06-08 16:14:34)
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Usage: tune2fs [-c max_mounts_count] [-e errors_behavior] [-g group]
[-i interval[d|m|w]] [-j] [-J journal_options] [-l]
[-m reserved_blocks_percent] [-o [^]mount_options[,...]]
[-r reserved_blocks_count] [-u user] [-C mount_count] [-L volume_label]
[-M last_mounted_dir] [-O [^]feature[,...]]
[-E extended-option[,...]] [-T last_check_time] [-U UUID] device
This tells u how to use it, anything in [] is an option, so for your case...
Usage: tune2fs [-c max_mounts_count] device
which translates too...
tune2fs -c number /dev/sdX
as moljac024 said.
Offline
[root@duncan-arch duncan]# tune2fs -c 51 /dev/sda6
tune2fs 1.40.8 (13-Mar-2008)
Setting maximal mount count to 51
[root@duncan-arch duncan]#
Thanks. Now I think it did what I wanted it to.
Fustrated Windows users have two options.
1. Resort to the throwing of computers out of windows.
2. Resort to the throwing of windows out of computers.
Offline