Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I mean I'm already here right. If not, why?

share|improve this question
up vote 9 down vote accepted


Do not run fsck on a live or mounted file system. fsck is used to check and optionally repair a Linux file systems. Running fsck on a mounted filesystem can usually result in disk and/or data corruption.

This will force a check on next boot:

sudo touch /forcefsck

So will this but it will also reboot the machine at the moment you hit enter:

shutdown -rF now

There are more ways (like telling the machine to go to init 1 and then umount the partition/disc your want to check) but these 2 are the easiest.

share|improve this answer
Also, don't try to get around this by running it read-only. The results from analyzing a moving target cannot be trusted. – ændrük Jun 10 '11 at 5:59
Good call ændrük – Rinzwind Jun 10 '11 at 6:50
Cool, thanks for the info. – wojox Jun 10 '11 at 15:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.