Jump to content
Sign in to follow this  
addr

boot-checkdisk-number of times

Recommended Posts

Where do I go to change the number of times a partition will be checked?

Edited by addr

Share this post


Link to post
Share on other sites

Are you asking how set up the number of boots before the system does a file system check?

 

First place that comes to mind in the fstab file. The dump-freq and pass-num entries.

 

What type of file system is it?

 

If its a ext3 -

 

tune2fs is an utility that you can use to change both the number of bootups between filesystem checks, and the number of days/weeks/months between filesystem checks.

 

For example to have the filesystem checked once every 60 bootups use

$sudo tune2fs -c 60

 

To have the filesystem check run periodically, say once a week, use

$sudo tune2fs -i 1w

changing the “w†to “d†or “m†will have the check run once daily and once monthly - you get the idea.

 

As always, you can read

$man tune2fs

for more detailed information and examples.

 

Found here:

http://ubuntu.wordpress.com/?s=tune2fs&amp...rchbutton=go%21

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...