Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: UNEXPECTED INCONSISTENCY - run fsck manually

  1. #1
    Join Date
    Dec 2005
    Beans
    1,192
    Distro
    Kubuntu 16.04 Xenial Xerus

    UNEXPECTED INCONSISTENCY - run fsck manually

    Today I booted up Kubuntu 16.04.2 LTS and it just hung. So, booted to 4.4.0.89 recovery mode; quite a few message about the hard drive.

    Code:
    dev/sda1/ UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
    fsck excited with status code 4
    Failure: File system check of the root filesystem failed
    The root filesystem on /dev/sda1 requires a manual fsck
    I was able to use a USB .iso and can boot to that okay. Can browse the hard drives. I do have smartmon installed; not sure if that helps.

    What fsck command do I use please ?

    Edit: extra info - I got the computer in 2008, so the main HDD is at least that old (plus ram and other hardware), and the 2nd HDD is way beyond that. Possibly 12 years or more.
    Last edited by lisati; August 12th, 2017 at 01:26 AM. Reason: Please use [CODE] and [/CODE] when quoting terminal output

  2. #2
    Join Date
    Dec 2005
    Beans
    1,192
    Distro
    Kubuntu 16.04 Xenial Xerus

    Re: UNEXPECTED INCONSISTENCY - run fsck manually

    This answer at https://askubuntu.com/questions/8126...-fsck-manually indicates it should be done with a Live CD (or a USB I assume) :



    To avoid data loss due to disk failure, this command should be given from a live Ubuntu session. Follow these steps:

    You should burn a live Ubuntu CD.
    Insert the live CD and try Ubuntu without installing.

    Open a terminal and type the following command:

    sudo fsck /dev/sda1

    When prompted, type y to fix the errors.

    That should be all. Your system will boot normally once this fix has been applied.

    Source: https://askubuntu.com/users/158442/muru
    Is it safer to do it from another boot media ? (CD , USB)

  3. #3
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,200
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: UNEXPECTED INCONSISTENCY - run fsck manually

    oygle; Hey;

    The purpose is that the target for fsck is static . Thus from a alternate install ( DVD/USB/partition).
    The target must not be mounted .


    So long as the target is UNmounted, does not matter where fsck is run from.

    hope this helps
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  4. #4
    Join Date
    Dec 2005
    Beans
    1,192
    Distro
    Kubuntu 16.04 Xenial Xerus

    Re: UNEXPECTED INCONSISTENCY - run fsck manually

    Quote Originally Posted by Bashing-om View Post
    oygle; Hey;

    The purpose is that the target for fsck is static . Thus from a alternate install ( DVD/USB/partition).
    The target must not be mounted .


    So long as the target is UNmounted, does not matter where fsck is run from.

    hope this helps
    Thanks 'Bashing-om'. I booted from the USB, then unmounted and ran fsck. Hundreds of errors; I should have set the 'yes' option. lol

    Anyway, it eventually finished and said there were no errors. So I unmounted 2 other partitions and ran fsck on them, but there were reported 'clean'. I guess the good thing about the partition that had errors is that it is /root and only has software on it, so it would seem all my data is okay. I then rebotted, Kubuntu taking a very long time, and I see the keyboard lights flashing. Did some searching and a few posts suggest it is hardware failure. Some posts said to run memtest, so am running that now. After about 5 mins though, memtest has found one bad address.

    I got the computer in 2008, so the main HDD is at least that old (plus ram and other hardware), and the 2nd HDD is way beyond that. Possibly 12 years or more.

    Hmmm, ....

  5. #5
    Join Date
    Dec 2005
    Beans
    1,192
    Distro
    Kubuntu 16.04 Xenial Xerus

    Re: UNEXPECTED INCONSISTENCY - run fsck manually

    I cancelled the memtest after it found 1 error. Booted into recovery mode and the lights are flashing (3 lights) and it just hangs ..

    Kernel panic - not synching: Attempted to kill init: exitcode=0x00007f00
    I guess it's time to get a new computer. lol

  6. #6
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,200
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: UNEXPECTED INCONSISTENCY - run fsck manually

    oygle; Maybe ;

    End of that box .
    But ram is cheap and hard drive too .

    What do you get from:
    Code:
    sudo e2fsck -f -y -v /dev/sdXY
    where X is the drive (a,b or c) and Y is the partition number ( 1, 2 4 ....)

    no quit in us
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  7. #7
    Join Date
    Dec 2005
    Beans
    1,192
    Distro
    Kubuntu 16.04 Xenial Xerus

    Re: UNEXPECTED INCONSISTENCY - run fsck manually

    Quote Originally Posted by Bashing-om View Post
    oygle; Maybe ;

    End of that box .
    But ram is cheap and hard drive too .

    What do you get from:
    Code:
    sudo e2fsck -f -y -v /dev/sdXY
    where X is the drive (a,b or c) and Y is the partition number ( 1, 2 4 ....)
    Thanks for that command; I'll try it tomorrow. Probably best ti unmount first as this article states - http://linux.101hacks.com/unix/e2fsck/ . The computer was very powerful when I bought it, and I have had no problems with it at all, an Asus P5QL PRO - https://www.asus.com/Motherboards/P5...pecifications/

    Seems ram would only be $40 for 4 new sticks of 1Gb each, and there are 1TB drives for about $70. Not sure if the motherboard will be able to map properly with anything over 500 Gb though ?? I can check on the asus forums possibly. Thanks
    Last edited by oygle; August 9th, 2017 at 11:34 PM.

  8. #8
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,200
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: UNEXPECTED INCONSISTENCY - run fsck manually

    oygle; Well.

    Single processor - will struggle for a heavy desk top but I would expect a lighter distro to run just fine . say lubuntu or xubuntu.
    2 500 Gig drives rather than a single drive that will also at some point fail such that there is an onboard backup when the drive fails . All hard drives will fail, just a matter of time .
    As the main board supports raid I bet you can get an SSD functional ! Now an SSD will get ya a huge performance increase .

    just some thoughts
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  9. #9
    Join Date
    Dec 2005
    Beans
    1,192
    Distro
    Kubuntu 16.04 Xenial Xerus

    Re: UNEXPECTED INCONSISTENCY - run fsck manually

    Quote Originally Posted by Bashing-om View Post
    Single processor - will struggle for a heavy desk top but I would expect a lighter distro to run just fine . say lubuntu or xubuntu.
    Sorry I supplied the wrong mobo, it is an ASUS P5QL PRO - https://www.asus.com/Motherboards/P5...pecifications/ , but not sure if that is still a single processor. Yes, have plans to wipe Kubuntu and install lubuntu, as you say.

    Quote Originally Posted by Bashing-om View Post
    2 500 Gig drives rather than a single drive that will also at some point fail such that there is an onboard backup when the drive fails . All hard drives will fail, just a matter of time .
    As the main board supports raid I bet you can get an SSD functional ! Now an SSD will get ya a huge performance increase .
    Yes it does RAID, but I'm mindful of power consumption. Although I see from this article ( http://www.tomshardware.com/forum/26...er-consumption ), that (say) 10 watts is all a HDD will consume. My thinking was replace 2 old HDD's with a new 1TB and say 8 to 10 watts.

  10. #10
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,200
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: UNEXPECTED INCONSISTENCY - run fsck manually

    oygle; Hey ..

    that ^ motherboard is not too shabby - can run what ever you want on it .
    I am sold on the performance increase that a SSD provides . and I am a believer in backups and redundancy . 2 drives !
    4 x DIMM, Max. 16 GB,
    If you are going to maintain this box for the foreseeable future - give it the love it wants and install 16 Gigs of ram ! I have never ever encountered too much ram

    With a bit of love that system will be functionable for a while yet !

    what works, works
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

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