LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-09-2008, 10:23 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
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 !
 
Old 02-10-2008, 09:41 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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]
 
Old 02-10-2008, 11:02 AM   #3
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by tredegar View Post
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 ...
 
Old 02-10-2008, 11:45 AM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
Originally Posted by frenchn00b View Post
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..
 
Old 02-13-2008, 09:31 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
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 .
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Distro won't boot: stops at filesytem check failure and asks me to fix in shell...? brjoon1021 Linux - General 2 04-22-2007 07:25 PM
/dev/sda10 has gone 49710 days without being checked,check forced! deepclutch Ubuntu 2 03-07-2007 05:43 AM
e2fsck is running for 3 days checking 800 GB ext3 lvm volume kyriakos Linux - Software 8 02-06-2006 02:21 PM
Corrupted ext3 Filesystem. How do I fix it? Apollo77 Linux - General 6 02-12-2004 10:55 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration