Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: harddrive error, drive full

  1. #1
    Join Date
    Jun 2008
    Beans
    553

    harddrive error, drive full

    Looked at my computer this morning (it had been on for 48hrs or so) and the screen said there is less than 1MB available with a screen warning. This was strange as it is a 1TB drive but I was doing some backups to an external drive so I thought maybe the mount points had got screwed up or something.
    So, I restarted but ubuntu will not start.
    I get an error of:
    ata2.00 exception Emask oxo sact 0x0 serr 0x0 action 0x6 frozen
    failed command: IDENTIFY PACKET DEVICE
    etc.

    Any ideas what could cause this or how to solve?

  2. #2
    Join Date
    Dec 2011
    Location
    The Netherlands
    Beans
    1,087
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: harddrive error, drive full

    Bad HDD
    "Everything that has a beginning, has an end." --an unexpectedly wise wallpaper

  3. #3
    Join Date
    Jun 2008
    Beans
    553

    Re: harddrive error, drive full

    Quote Originally Posted by roelforg View Post
    Bad HDD
    Anyway I can test that?
    I've seen some fixes online but not sure what they are fixing.
    Also, when it said drive full, I could still play videos and use internet so the drive is working somehow...it's just not loading.
    Last edited by qwertyjjj; June 13th, 2012 at 08:49 AM.

  4. #4
    Join Date
    Dec 2011
    Location
    The Netherlands
    Beans
    1,087
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: harddrive error, drive full

    Quote Originally Posted by qwertyjjj View Post
    Anyway I can test that?
    https://help.ubuntu.com/community/TestingStorageMedia
    "Everything that has a beginning, has an end." --an unexpectedly wise wallpaper

  5. #5
    Join Date
    Jun 2008
    Beans
    553

    Re: harddrive error, drive full

    How do I repair it or workaround it?
    Like I said, the drive was working fine before I restarted...it was full but I could still access data so what would stop it starting up?

    Also, do I have to boot off a live CD to run those tests?

  6. #6
    Join Date
    Dec 2011
    Location
    The Netherlands
    Beans
    1,087
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: harddrive error, drive full

    Quote Originally Posted by qwertyjjj View Post
    How do I repair it or workaround it?
    Like I said, the drive was working fine before I restarted...it was full but I could still access data so what would stop it starting up?

    Also, do I have to boot off a live CD to run those tests?
    Yes, you might have to install the programs you need for testing and that can't be done on a full hdd.
    It's a bad idea to run fsck on a mounted drive anyways.

    The system might stop booting if it can't put it's temp files somewhere.
    You might want to check the partition layout, i've seen someone who accidentally let the end of the swap partition overlap with the begin of the root partition, the thing worked fine for months until that evening... He was doing some ram-hogging jobs so the swap kicked in action, he didn't notice that the swap was actually overwriting and corrupting the rootpartition. When i took a look at it (he knew i'm good at resolving bootproblems) because it wouldn't boot anymore, it dawned on me that the swap overlap caused the kernel image to become corrupted. One livecd-copy-livekernel-boot-reinstallkernel and adjustment of the swap later, he was up and running again. I told him he was lucky that it was only the kernel. It kept running that evening because the kernel was already loaded into ram (at boot) so you couldn't notice the corruption.
    It might be that in a similar way, your system has a corruption on a different spot.
    "Everything that has a beginning, has an end." --an unexpectedly wise wallpaper

  7. #7
    Join Date
    Jun 2008
    Beans
    553

    Re: harddrive error, drive full

    Quote Originally Posted by roelforg View Post
    Yes, you might have to install the programs you need for testing and that can't be done on a full hdd.
    It's a bad idea to run fsck on a mounted drive anyways.

    The system might stop booting if it can't put it's temp files somewhere.
    You might want to check the partition layout, i've seen someone who accidentally let the end of the swap partition overlap with the begin of the root partition, the thing worked fine for months until that evening... He was doing some ram-hogging jobs so the swap kicked in action, he didn't notice that the swap was actually overwriting and corrupting the rootpartition. When i took a look at it (he knew i'm good at resolving bootproblems) because it wouldn't boot anymore, it dawned on me that the swap overlap caused the kernel image to become corrupted. One livecd-copy-livekernel-boot-reinstallkernel and adjustment of the swap later, he was up and running again. I told him he was lucky that it was only the kernel. It kept running that evening because the kernel was already loaded into ram (at boot) so you couldn't notice the corruption.
    It might be that in a similar way, your system has a corruption on a different spot.
    Is there an automatic repair tool on the live CD or do I have to run gparted and terminal commands?
    So, do I do the testing first and see what it returns? The drive mas maxed out when I looked at the disk usage analyzer so maybe that's it...nowhere to put temporary files. I'm thinking somehow the backup I was running has copied files to the hard drive instead of the network drive...

  8. #8
    Join Date
    Dec 2011
    Location
    The Netherlands
    Beans
    1,087
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: harddrive error, drive full

    Quote Originally Posted by qwertyjjj View Post
    Is there an automatic repair tool on the live CD or do I have to run gparted and terminal commands?
    So, do I do the testing first and see what it returns? The drive mas maxed out when I looked at the disk usage analyzer so maybe that's it...nowhere to put temporary files. I'm thinking somehow the backup I was running has copied files to the hard drive instead of the network drive...
    The link i posted tells you a lot, googling well tell you even more.
    I don't know the exact situation.

    Stuff might go wrong for the weirest and unnoticed reasons (see my tale about the partition overlay).
    "Everything that has a beginning, has an end." --an unexpectedly wise wallpaper

  9. #9
    Join Date
    Jun 2008
    Beans
    553

    Re: harddrive error, drive full

    Quote Originally Posted by roelforg View Post
    The link i posted tells you a lot, googling well tell you even more.
    I don't know the exact situation.

    Stuff might go wrong for the weirest and unnoticed reasons (see my tale about the partition overlay).
    If I am booting off a live CD then how am I supposed to unmount the drive? Surely the live CD will always mount the hard drive won't it?
    The command below won't persist when I restart and boot from the live cd again

    Hard Drive
    To run a filesystem integrity check on an ext2 or ext3 partition the drive must be unmounted (Running fsck on a mounted drive is a very bad idea.). In the case of your hard drive you will need to force a fsck on next boot up. To do this you create a file called forcefsk in the root directory.

    In a terminal run :
    sudo touch /forcefsck

  10. #10
    Join Date
    Dec 2011
    Location
    The Netherlands
    Beans
    1,087
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: harddrive error, drive full

    Quote Originally Posted by qwertyjjj View Post
    If I am booting off a live CD then how am I supposed to unmount the drive? Surely the live CD will always mount the hard drive won't it?
    The command below won't persist when I restart and boot from the live cd again

    Hard Drive
    To run a filesystem integrity check on an ext2 or ext3 partition the drive must be unmounted (Running fsck on a mounted drive is a very bad idea.). In the case of your hard drive you will need to force a fsck on next boot up. To do this you create a file called forcefsk in the root directory.

    In a terminal run :
    sudo touch /forcefsck
    Open the filemanager and click on the eject button next to your hdd (it'll unmount the hdd and nothing else).
    "Everything that has a beginning, has an end." --an unexpectedly wise wallpaper

Page 1 of 2 12 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
  •