Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    File system error


    I've opensuse 11.0 installed on my desktop in ext2 file system. A week ago, due to some voltage problem, my pc rebooted. After that i got a following file system error:-
    fsck failed.please repair manually.

    After that i used following command:-

    e2fsck -p

    but it didn't worked . so please help me how to repair file system with proper commands. I will be highly gratefull.

  2. #2
    The -p flag that you fed to fsck means an automatic repair (it was asking you to do a manual repair).

    You want to just do (while the drive is unmounted)

    fsck /dev/<partition>

    Then for each correction it will ask if you want to repair it. The default options will be to repair (just hit enter). You will have to monitor it during this process and approve the repairs.

    This will work 95% of the time, but if the disk corruption is bad enough further steps could have to be taken. In short, cross that road when you get to it. For now just do the manual fsck.

    Good luck!
    Linux since: 2001
    Gentoo since: 2004
    - - - - - - - -
    I fix things until they break.

  3. #3
    Just Joined!
    Join Date
    Aug 2005
    South West England
    Hey, what's wrong with ext3/4/another? They're journaling filesystems, designed to stop you losing all that important data when a power fluctuation like that happens.

    To convert to ext3 from ext2 whilst keeping your data:
    tune2fs -j /dev/whatever

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts