How can I perform a filesystem check on ext3 partition on linux?
I am looking for a solution that check every file on the filesystem that is it accessible.
UPDATE: I would run it on a server without unmounting the drive.
You cannot run fsck from within a desktop session. A desktop session requires run-level 2.
Then unmount everything:
Then you can run fsck. Run fsck with the -c option, and it will scan for bad block on the drive. Then, afterwards, you can run:
Regarding your update, see Why can't you fsck a mounted partition?
As for checking everything,