LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to check, verify, and fix the ext3 harddrives at boot every 2 days ? (https://www.linuxquestions.org/questions/linux-general-1/how-to-check-verify-and-fix-the-ext3-harddrives-at-boot-every-2-days-620028/)

frenchn00b 02-09-2008 10:23 PM

How to check, verify, and fix the ext3 harddrives at boot every 2 days ?
 
Hello,

I would like to be sure that there is no lost clusters in my drives, since I do not backup often my data, as you certainly do:
"never 'backuping' enough !"

A trick, that may be possible, so that:check, verify, and fix the ext3 harddrives at boot every 2 days ?

which workign tune2fs command then ?


Thanks !

tredegar 02-10-2008 09:41 AM

Quote:

which workign tune2fs command then ?
You are very lazy.
man tune2fs
Code:

[SNIP]
-i  interval-between-checks[d|m|w]
              Adjust the maximal time between two filesystem checks.  No post‐
              fix  or  d result in days, m in months, and w in weeks.  A value
              of zero will disable the time-dependent checking.
[SNIP]


frenchn00b 02-10-2008 11:02 AM

Quote:

Originally Posted by tredegar (Post 3052400)
You are very lazy.
man tune2fs
Code:

[SNIP]
-i  interval-between-checks[d|m|w]
              Adjust the maximal time between two filesystem checks.  No post‐
              fix  or  d result in days, m in months, and w in weeks.  A value
              of zero will disable the time-dependent checking.
[SNIP]


well I tried several times, and could make it, but the thing is that it never worked like I desired.
Ok, I read, try again, and when it does the same, I asked for further help. (I tried 3 times I recall and it wasnt successfull)
thanks !! I read ...

b0uncer 02-10-2008 11:45 AM

Quote:

Originally Posted by frenchn00b (Post 3052473)
well I tried several times, and could make it, but the thing is that it never worked like I desired.
Ok, I read, try again, and when it does the same, I asked for further help. (I tried 3 times I recall and it wasnt successfull)
thanks !! I read ...

Well you could have told what went wrong, or what happened instead of what you expected to happen, because that way somebody could have told you what is going wrong, if anything. But if it's ok, do try again and ask if you still can't do it..

JZL240I-U 02-13-2008 09:31 AM

You can always shut down every second day by issueing
Code:

shutdown -h -F now
thus forcing a check during next boot up. Has the additional charm that you sit in front of the box waiting to begin work as opposed to idling away to the loo after work is done ;).


All times are GMT -5. The time now is 10:14 PM.