LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   It is taking to much time to check hard disk (https://www.linuxquestions.org/questions/linux-newbie-8/it-is-taking-to-much-time-to-check-hard-disk-846694/)

perky.nishi 11-26-2010 07:33 AM

It is taking to much time to check hard disk
 
Dear community,
I have a fedora system. It has a harddisk of 160GB. Thereafter I have added 2 harddisks of 250GB and 500GB as /dev/sdb and /dev/sdc. Today while booting it is showing message

/dev/sdc1 is mounted 26 times without being checked, check forced.

Both for sdb and sdc I had got this message previously. But today it is taking much more time to boot. I dont know what is the problem. Please help me out. Thank you in advance.

AlucardZero 11-26-2010 07:40 AM

Wait for it to complete? Is there some reason you think it is broken?

druuna 11-26-2010 07:41 AM

Hi,

If no errors are shown than all is ok.

It does take time to check large disks.

edit: Too slow posting reply :)

jefro 11-26-2010 03:50 PM

There is some way to stop that. You may wish to keep it in if you need that data. On a home system you may wish to stop that behavior.

It does take a very long time for some reason.

druuna 11-27-2010 04:28 AM

Hi,

Disabling the periodic file system check at boot is an option, but I would think twice before doing just that. It is there to check and if needed fix file systems.

The interval that is used to check the file system can be changed, so you might consider making it a bit longer (using tune2fs and the -c and/or the -i options. Look at the man page for details).

There's also the possibility to skip or force the file system check when you manually reboot:
- shutdown -rf now will reboot without a check being carried out.
- shutdown -rF now will reboot and force a file system check.

Although I'm not sure if all distro's have implemented it, the following 2 can also be used to control the check on the next boot:
- Creating a file in the root directory called fastboot will skip checks on the next boot.
- Creating a file in the root directory called forcefsck will force checks on the next boot.

Hope this clears things up a bit.


All times are GMT -5. The time now is 07:37 AM.