LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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, 11:23 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 51
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, 10:41 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
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, 12:02 PM   #3
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Original Poster
Rep: Reputation: 51
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, 12:45 PM   #4
b0uncer
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, 10:31 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,688

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:25 PM
/dev/sda10 has gone 49710 days without being checked,check forced! deepclutch Ubuntu 2 03-07-2007 06:43 AM
e2fsck is running for 3 days checking 800 GB ext3 lvm volume kyriakos Linux - Software 8 02-06-2006 03:21 PM
Corrupted ext3 Filesystem. How do I fix it? Apollo77 Linux - General 6 02-12-2004 11:55 AM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 03:10 AM


All times are GMT -5. The time now is 09:40 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration