LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Scanning for errors (https://www.linuxquestions.org/questions/linux-newbie-8/scanning-for-errors-75121/)

lhiggins 07-23-2003 04:09 AM

Scanning for errors
 
Hey guys,
Just wondering how you would go about scanning an EXT3 partition for errors. Is it any different to a EXT2?
Thanks guys.

MasterC 07-26-2003 06:16 AM

Nope ;)(Just to note, it **could be** but isn't likely as your journal file is not likely outsourced which I don't really understand myself all that well..)

Just make sure that baby ain't mounted or is at the VERY least, read-only, then:
fsck -f /dev/hdx
The -f is likely necessary since it probably isn't marked dirty.

HTH

Cool

lfur 07-26-2003 06:23 AM

And, if you want to scan your / partition, which you cannot unmount while the system is running, try:
shutdown -Fr now

which will reboot (-r) and then, at the startup, force a fsck check (-F) on all partitions.


All times are GMT -5. The time now is 05:22 AM.