Re: File system error (power outage)

From: Oliver Elphick (olly_at_lfix.co.uk)
Date: 12/09/03

  • Next message: Alvin Oga: "Re: ipchains HowTo"
    To: Francisco Castellon <castf@shaw.ca>
    Date: Tue, 09 Dec 2003 16:02:24 +0000
    
    

    On Tue, 2003-12-09 at 14:55, Francisco Castellon wrote:
    > Hello:
    >
    > sometime last night my power must have gone off and back on again, I
    > came to my computer today in the morning to find it saying:
    >
    > /dev/hda3: UNEXPECTED INCONSISTENCY; run fsck manually
    > (i.e., without -a or -p options)
    >
    > fsck failed. Please repair manually and reboot. Please note that the
    > root file system is currently mounted read only. To remount it
    > read-write:
    >
    > # mount -n -o remount, rw /
    >
    > CONTROL -D will exit from this shell and reboot the system.
    >
    >
    > So what am I supposed to do now?

    What it says: repair the disk manually and reboot. This does not mean
    reinstalling Debian.

      fsck -y /dev/hda3

    should fix almost everything (-y means answer yes to all questions,
    which you ought to do). Afterwards, look in {partition}/lost+found for
    any disconnected files that fsck may have recovered.

    > I really dont have any critical
    > information in the computer and I wouldn't mind reinstalling again,
    > however there are about 5 files that I would like to keep. What exactly
    > am I supposed to do with "e2fsck"? what command should I run? is it
    > possible to fix this and not have to reinstall? I ran the command:
    > "mount -n -o remount, rw /" and then I got this message:
    >
    > warning: mounting unchecked fs, running e2fsck is recommended.
    >
    > so then I ran "e2fsck /" and I got this message:
    >
    > WARNING!!! running e2fsck on a mounted filesystem may cause SEVERE
    > filesystem damage.
    > do you want to continue [y/n]:
    >
    >
    > So I typed no for now. what should I do at this point? what commands can
    > I run? I would appreciatte any help you can give me. Thanx!

    You go ahead any way. You're in single user mode and no other processes
    are going to be changing the partition.

    -- 
    Oliver Elphick                                Oliver.Elphick@lfix.co.uk
    Isle of Wight, UK                             http://www.lfix.co.uk/oliver
    GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                     ========================================
         "Let not sin therefore reign in your mortal body, that 
          ye should obey it in the lusts thereof."            
                                       Romans 6:12 
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Alvin Oga: "Re: ipchains HowTo"

    Relevant Pages

    • Re: Not Creating Computer Accounts - Strange Issue
      ... If i am reinstalling an PC and i delete it from AD before ... put the pc into a workgroup, reboot, rename pc, reboot, rename back ... Any errors in the event logs on the DC? ... MVP Microsoft MVP - Directory Services ...
      (microsoft.public.windows.server.active_directory)
    • Re: Display of Frustration !
      ... Did you try the suggestion I gave you re. reinstalling the video driver? ... >>This often indicates a corrupted video (display adaptor) ... >>> Now, when I reboot, the display appears to be even ...
      (microsoft.public.windowsxp.general)
    • Re: Explorer Slow With Files
      ... A reboot seems to get me out of that one. ... >> on the system) some of my counters in WinXP disappeared. ... >> on registry entries and had conversations with the GLINT author. ... >> the problem lies and do that from then on instead of reinstalling or begging ...
      (microsoft.public.windowsxp.perform_maintain)
    • Not Creating Computer Accounts - Strange Issue
      ... If i am reinstalling an PC and i delete it from AD before reinstalling it, ... What i ahve to do is put the pc into a workgroup, reboot, rename ... ad integrated DNS ...
      (microsoft.public.windows.server.active_directory)
    • Re: Lost desktop
      ... Please repair manually and reboot. ... The root file system ... > Running e2fsck is recommended. ... enter the e2fsck command above. ...
      (alt.os.linux.suse)

    Loading