LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Check disk (https://www.linuxquestions.org/questions/linux-newbie-8/check-disk-638602/)

andreas_skw 04-29-2008 03:59 AM

Check disk
 
Hello

When i boot up my knoppix, there is a notification that my sda4 must be "check disk" and it did forcely. Is it ok to let Knoppix did it? I am afraid something bad happen to my hard disk.

ophirg 04-29-2008 04:40 AM

hi
2 question:
1. Do you use Knoppix as a live CD?
2. What filesystem do you use on sda4?

If you use it as a live CD, I don't see any reason why it would try to detect problems in a hd partition...
But anyways, you can always do an interactive startup by pressing 'I' in the beginning of the boot process.

sundialsvcs 04-29-2008 09:08 AM

The startup-sequences of typical Linux systems vary considerably. One technique that's sometimes used is to write a sentinel-file on clean shutdown, then check for its existence (and remove it) on reboot. If the sentinel isn't there, a hard-shutdown is assumed and a filesystem check is offered.

I've set up my system slightly differently: a filesystem check is done every time. But since I use journaled filesystems like "ext3" and "reiserFS," this is almost instantaneous. The system simply checks the journal.

Three or four times a year, literally, I'll take a drive offline and run an exhaustive filesystem integrity check on it, just to make sure that the journal is doing its job. I've never yet encountered a case where it didn't.

I also periodically run SMART device self-tests on a regular basis to check for self-reported possible impending failures. If the drive thinks it's about to die, it gets replaced.


All times are GMT -5. The time now is 11:46 AM.