Results 1 to 8 of 8

Thread: Server crashes on boot (possibly HDD capacity problems)

Hybrid View

  1. #1
    Join Date
    May 2006
    Beans
    378
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Question Server crashes on boot (possibly HDD capacity problems)

    Hi. I currently have an Ubuntu server box at home which I use as a home file server.

    The server has various services running including sabnzbd, which currently has quite a large queue of pending downloads, however I noticed recently that my HDD on there was running at 99% capacity when running a 'df'.

    Now, when the server starts, it doesn't stay up for very long before crashing with an extremely long error message (100s of pages of similar repeated errors) The last few lines of the error are:

    Code:
    ata3 00: status: { DRDY DF ERR }
    ata3 00: error: { ABRT }
    ata3 00: failed to enable AA(error_mask=0x1)
    ata3 00: failed to enable AA(error_mask=0x1)
    end_request: I/O error, dev sda, sector 80084025
    Buffer I/O error on device sda4, logical block 0
    EXT4-fs error (device sda4): ext4_find_entry:934: [node #9437210: comm python: reading directory Iblock 0
    as far as I'm aware, sabnzbd is a python service, and I think that maybe the server is crashing because it's trying to read/write to a disk that's too full.

    I have tried booting to recovery mode root shell, and doing a df to see the disk is full, but this is giving false data. It says that every partition on my system is 32GB and 11% full. I'm assuming this is something to do with the recovery mode, and not all of my HDDs

    The server doesn't stay up for long enough for me to stop any services to debug if this stops the problem.

    Any help would be much appreciated.

    Thanks
    Code:
    make me a sandwich
            no, make it yourself
    sudo make me a sandwich
            ok then...

  2. #2
    Join Date
    May 2006
    Beans
    378
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Server crashes on boot (possibly HDD capacity problems)

    OK. So I booted into the recovery console and deleted a good bunch of files off each hard disk (even though df was showing 32gb avail) and it seems to be booting OK.

    Not sure if this is an ubuntu problem, or sabnzbd running out of HDD space and throwing a fatal error, causing ubuntu to crash.

    Seems stable for now. will keep monitoring it.
    Code:
    make me a sandwich
            no, make it yourself
    sudo make me a sandwich
            ok then...

  3. #3
    Join Date
    Aug 2008
    Location
    Victoria, BC Canada
    Beans
    1,741

    Re: Server crashes on boot (possibly HDD capacity problems)

    giant hard disks are now inexpensive, I use several of them

    bigger is better in my opinion, this way logs can be huge etc for debugging nasty problems

  4. #4
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Server crashes on boot (possibly HDD capacity problems)

    Have you run a fsck already?

    Also run this:

    Code:
    df -i
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  5. #5
    Join Date
    May 2007
    Beans
    2,342

    Re: Server crashes on boot (possibly HDD capacity problems)

    Hi,

    The errors your seeing are disk errors. It looks as if sda has media errors and could well be dieing.

    Maybe run a fschk to see if there are any sector errors in the ext file system.

    Regards
    Ian Dobson
    Walking on water and writing software to specification is easy if they're frozen.

    My corner of the internet http://www.planet-ian.com

  6. #6
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Server crashes on boot (possibly HDD capacity problems)

    Quote Originally Posted by ian dobson View Post
    Hi,

    The errors your seeing are disk errors. It looks as if sda has media errors and could well be dieing.

    Maybe run a fschk to see if there are any sector errors in the ext file system.

    Regards
    Ian Dobson
    Agreed. The buffer errors aren't a good thing. The OP might want to do a SMART test as well.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

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
  •