Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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....
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.