Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer

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 –  Minato Namikaze Aug 6 '11 at 8:29
add comment

Your Answer

 
discard

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.