Super User is a question and answer site for computer enthusiasts and power users. 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 had a disk, but unfortunately it had errors from a hard reset on the laptop power.

How do I know?

$ file cache.disk 
cache.disk: Linux rev 1.0 ext3 filesystem data, UUID=1c8cad78-5572-43f7-8165-bc17c86edfce (needs journal recovery) (errors) (large files)

Thus, it cant be mount on fstab.


How to fix these errors?

Way to solve:

At least I found the way to solve this by entering the following command:

fsck.ext3 -y -v cache.disk
  • y mean if prompt anything assuming yes
  • v mean showing the progress
share|improve this question
So did you fix the errors or not? If you were able to solve them, post your solution as an answer below and accept it in two days. – slhck Jun 3 '11 at 19:25
superuser told me i need 7 hours later in order to be able post the answer, so i took a chance to re-edit my post with the answer, before i forget to re-answer the known thing.. – dadudada Jun 3 '11 at 20:21
Oh okay fine then :) – slhck Jun 3 '11 at 20:27

You are correct that

fsck -y -v /your/device/here
is the way to go, as far as resolving a crashed file system. It should be noted that you should never run fsck on a live and mounted file system to prevent other services from modifying the filesystem while it is being worked on.

share|improve this answer
fortunately, there is only data and no file system on it.. – dadudada Jun 3 '11 at 20:23
That does make it easier. ;) – Justin Pearce Jun 3 '11 at 20:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .