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 wanted to know how to run the fsck command on a server with write capabilities. The command should run structurally from one hard disk partition to another without any user interaction.

share|improve this question
up vote 2 down vote accepted

It depends on the type of filesystem you are using. Ext2/3/4, for example, cannot safely run on a mounted filesystem, so you must either boot into single user mode, or use a boot disk. Other types allow mounted checks in writemode (btrfs, etc.).

share|improve this answer
Its Ext3 and on a SATA drive – Amith KK Aug 6 '11 at 8:29

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.