Author Topic: check forced  (Read 526 times)

Offline davidwillis

  • Sr. Member
  • ****
  • Posts: 278
check forced
« on: March 31, 2010, 04:52:54 PM »
my hard drive is being checked, and it is taking forever.  How do I turn this off?

Thanks

David

Online muungwana

  • Hero Member
  • *****
  • Posts: 6246
Re: check forced
« Reply #1 on: March 31, 2010, 06:23:46 PM »
open the terminal, type "su" and press "enter and then enter roots password when asked and then type the following command:

tune2fs -c 0 /dev/ABCD

where "ABCD" is the partition you do not want to be autochecked after couple of mounts/time passed

warning:
You should strongly consider the consequences of disabling mount-count-dependent checking entirely. Bad disk drives, cables, memory, and kernel bugs could all corrupt a filesystem without marking the filesystem dirty or in error. If you are using journaling on your filesystem, your filesystem will never be marked dirty, so it will not normally be checked. A filesystem error detected by the kernel will still force an fsck on the next reboot, but it may already be too late to prevent data loss at that point.


you can, once in a while force a file system check by typing the following command on the terminal as root and restart your computer:

touch /forcefsck

edit to add a missing "s" at the end of the command
« Last Edit: March 31, 2010, 10:05:05 PM by muungwana »
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline davidwillis

  • Sr. Member
  • ****
  • Posts: 278
Re: check forced
« Reply #2 on: March 31, 2010, 09:52:01 PM »
Thanks.  That is exactly what I was looking for.  I just hate it when it comes up with the check when I am in a rush.  I would much rather do it myself.