Feature changed by: Frank Helbo (fhc) Feature #306621, revision 11 Title: Possibility to skip filesystem check at startup openSUSE-11.2: Unconfirmed Priority Requester: Important Requested by: Dominik Grafenhofer (dgrafenhofer) Description: Periodic filesystem checks at startup are important, but take a lot of time. For desktop users it is sometimes importent to startup their computer really fast (e.g. when giving a presentation). It is a nuissance, that these filesystem checks cannot be easily skipped (and postponed for the next startup) like under Ubuntu. Analogous to Ubuntu Linux I therefore propose to have a mechanism in place to stop a (periodic) filesystem check at startup when the escape key is pressed during the check. Update: I did not check, if this is already implemented, but when on battery no periodic filesystem check should be carried out as well. Discussion: #1: Andrés G. Aragoneses (knocte) (2009-07-01 22:29:57) -1 This feature is *really* one of the reasons why Windows systems are so unstable. What I would vote +1 is for an informative label that tells the user WHY the system is taking so long to start, because there are even users that don't know that the system must be properly shut down. #2: Dominik Grafenhofer (dgrafenhofer) (2009-07-02 07:48:57) @Aragoneses: I think that your argument is invalid, because my proposal is not to skip periodic filesystem checks all together, just to give a possibility to postpone it till the next startup. The number of startups "n" after which a periodic filesystem check is forced is chosen arbitrary anyway, so there should be no harm, when you give the user the oppurtunity to postpone it till startup "n+1". #3: Frank Helbo (fhc) (2009-07-02 14:25:29) With to days hardware with redundancy and predictive analyses and TTS on ext3. The periodic filesystem check should be disabled in the next release. Todays volumes are soo big, that a filesystem check on reboot takes to long to complete. If people still want this feature, thay can turn it on them selfs. For admins it is really a pain in the butt, when you reboot a system remotely, and it takes forever to restart or you are not able to answer a question on the screen do to this auto check. #4: Dominik Grafenhofer (dgrafenhofer) (2009-07-02 14:40:24) @Frank Helbo: It is already possible (but not wise) to disable the periodic filesystem checks permanently by using tune2fs. All I am proposing is a way to skip a periodic filesystem check till the next startup of the system. This way you get the fast startup when desperately needed (e.g. when giving a presentation), and keep - at the same time - the filesystem stable. #5: Frank Helbo (fhc) (2009-07-02 21:20:52) Yes I know, and I am using a script that ensures that all disks with ext3 the fschk is disabled. This script I autorun on my servers at shutdown. Soo if you have added a new disk, that is gets disabled. #6: Boyd Gerber (gerberb) (2009-07-03 19:51:07) (reply to #5) I would really like this feature. It took my system 4 hours to boot because of this check. I have 5 1 TB drives. I wish I had choosen a differnet fs type. Also, is it possible to get this script you have? thanks, Please look into adding this feature for openSUSE 11.2. #7: Frank Helbo (fhc) (2009-07-03 23:16:01) (reply to #6) Here you have the script, which you can add to /etc/init.d/halt.local file which ensures it is run on each shutdown of your system. This way all new added volumes will also get the autocheck features disablet. Here is the script: echo for i in `cat /proc/mounts | awk '$3 ~ /ext3/ { print $1 }' ` do echo Disabling filesysten checks on $i tune2fs -c 0 $i >> /dev/null tune2fs -i 0 $i >> /dev/null done echo + #8: Frank Helbo (fhc) (2009-07-03 23:19:04) + The reason that this problem is not solved totally by the above script, + is if the system crashes. Then the script is not run, and if you have + added new volumes they will be checked if they are older then 60 days. + -- openSUSE Feature: https://features.opensuse.org/306621