LinuxQuestions.org
Help answer threads with 0 replies.
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 05-22-2001, 04:02 AM   #1
nabil
Member
 
Registered: Feb 2001
Location: MI, USA
Distribution: Debian Linux 100% GNU
Posts: 210

Rep: Reputation: 31

Does any one know how to disable Linux disk forced check. for example if you shutdown linux improperly and then Linux goes and tries to check file system and attempt to fix it automatically....
 
Old 05-22-2001, 05:02 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
it would be a major snafu to disable it & ull be jeopardizing the integrity of ure HD data.
its called from the startup script.
thats /etc/rc.d/rc.sysinit on my box.
 
Old 05-22-2001, 08:04 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I would recommend not disabling it though, and try to never shutdown improperly.
 
Old 05-22-2001, 03:53 PM   #4
nabil
Member
 
Registered: Feb 2001
Location: MI, USA
Distribution: Debian Linux 100% GNU
Posts: 210

Original Poster
Rep: Reputation: 31
The reason I am asking is because one day I came home and my server has been down all day "stopped at disk check thing asking for some one to do it manually"..This happend because I had some power surge that caused the server to suddenly reboot. I know if I had the disk check force disabled then, I may have lost some data but not the whole day of work. I work at a big company and they have that disabled or some how done in a way where it does not stop asking if you wanna do manual fixing of the file system. It makes things alot easier to manage the box espacially if not connected directly to a console.
These are just my thoughts, I really don't know how big of a damage this will do if I disable it. I know in windows, I never care for scandisk thing, most of the time I go bypass it anaway.
 
Old 05-24-2001, 05:34 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
just get ureself an UPS
 
Old 05-24-2001, 06:05 PM   #6
nabil
Member
 
Registered: Feb 2001
Location: MI, USA
Distribution: Debian Linux 100% GNU
Posts: 210

Original Poster
Rep: Reputation: 31
Yes I know about the UPS thing, but that's beside the point. I was asking to get feedback on the importance of having the auto check disk thing enabled. If I turn it off, and shutdown my server improperly, would I really risk the fact of a sure file system damage which I won't be able to repaire or just simply lose what ever data was in memory at the time.... And why is Linux file system so shaky like this.
 
Old 05-24-2001, 09:21 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
IMO u would only lose RAM data, cuz on power failure theres no device at all, I mean the HD gets hit equally fast as the RAM so IN THEORY, even with multi-sector writes goin on etc. etc. it SHOULDNT trash ure disks. About Ext2fs being picky about checking I dont know, maybe its got something to do with how reliable/fast/cached its read-writes are?

If ure still thinkin bout disablin it, fsck'ing is done on boot from /etc/rc.d/rc.sysinit or rcS or whatever distro's call it.
just kill it there.
 
Old 05-25-2001, 12:12 PM   #8
Stephanie
LQ Addict
 
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166

Rep: Reputation: 45
A big no-no

I have to say the disk checking thing is very annoying, but it would not be there if it did not need it.

If you really dislike it, and dont want to rick losing data, you should use the RieserFS. It is full of 64-bit, journalling goodness. But that is up to you. Kernels from 2.2.17 and up support it.
 
  


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
Forced Root File System Check? snobird Linux - Newbie 5 11-20-2006 10:17 PM
Forced Root Filesystem Check Mr_Penguin_02 Linux - Newbie 2 08-15-2004 07:37 PM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM
not cleanly unmounted check forced christyc Linux - General 6 08-24-2002 12:19 PM
check forced ? jamaso Linux - General 4 04-09-2002 06:50 PM

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

All times are GMT -5. The time now is 02:24 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
Open Source Consulting | Domain Registration