8.04: recovery mode

Asked by peter

Hi

After 22 times I have to check the disc, so I have to run the recovery mode. No problem.

But already I had 8.04 and I had to check the disc after 39 times. Can I influence the intervall? Thanks a lot.
Peter

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
peter
Solved:
Last query:
Last reply:
Revision history for this message
Ian Ace (iaculallad) said :
#1

Do you mean the 'fsck' check which is happening every 30 system bootup? You can change the frequency by applying the command below on your terminal:

sudo tune2fs -c XX /dev/YYY

XX - This is the number of system bootup before fsck is called to check your drive (Default by the way is 30)
YYY - This is the drive you want configured for the fsck check.

Revision history for this message
peter (peter-neuweiler) said :
#2

Thanks for the answer, Ian, How can I find out the drive? Thanks.
Peter

Revision history for this message
Seth Arnold (seth-arnold) said :
#3

If you run the 'mount' program without any arguments, it will show you all the mounted filesystems.

Since there are a lot of 'internal' filesystems that are mounted, but not really relevant for fsck, you can also run:
mount | grep ^/

That will just show you devices with a filesystem entry; it isn't perfect, but I bet it'll do for you. :)

While running tune2fs, don't overlook the -i option as well. It specifies the time interval between fsck checks. This is the check I experience most often, and possibly the one that hit you as well, with 22 boots since last check...

You can tune a file system, but you can't tune a fish.

Revision history for this message
peter (peter-neuweiler) said :
#4

Thanks, Seth.
Peter