• bloodfart@lemmy.ml
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    edit-2
    22 days ago

    No need to worry, disk failures almost never result in fires or hazardous conditions.

    A-yuk-yuk-yuk.

    Seriously: you have a disk that has failed, based just on that little snippet of the logs, internally (ICRC ABRT). You can either use a tool like spinrite to try and repair it, but you may lose all the data in the process, or replace it.

    A user suggested bad cabling and that’s a possibility, one you can check easily if the error is reproducible by swapping the cable. Before I swap cables often I’ll confirm the diagnosis using smartctl and look for whatever the drive manufacturer calls the errors that happen between the media and disk controller chip on the drive. If it has those then there’s no point in trying a cable swap, the problem is not happening there.

    People will say that you can’t “fix” bad disks with tools like spinrite or smartctl. I’ve found that to be incorrect. There are certainly times when the disk is kaput but most of the time it’ll work fine and can go back into service.

    Of course, that’s recovering from errors when I get an email or text the first time and going back to service in a multi-parity array so lowered criticality and early detection could have lots to do with that experience.

  • nous@programming.dev
    link
    fedilink
    English
    arrow-up
    47
    arrow-down
    1
    ·
    23 days ago

    Not if you have backed up your data. You have a backup of your data right?

    • maliciousonion@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      18
      ·
      23 days ago

      Yeah the important stuff is backed up, but I am still concerned my entire OS will suddenly go kaput. How fucked am I?

        • maliciousonion@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          21 days ago

          It’d be bad if I were working on something and the entire thing just suddenly broke down before I have the time to save and backup 😅

          • AnUnusualRelic@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            21 days ago

            If it’s your os drive that dies, nothing important has been lost except for a few minutes of work. You can boot from a variety of media (cd, usb…) for recovery, or drive replacement. Worst case, you’ll have to reinstall a few things in the following days.

            It’s also why it’s not a bad idea to separate the various aspects of the system on distinct drives.

      • nous@programming.dev
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        1
        ·
        22 days ago

        If you have everything you need backed up you can reinstall on a new hard drive and restore everything you need. So you should not be completely fucked. Just an inconvenience you might have to go through. You will lose the stuff not backed up so if any of that is a pain to get again it might be more painful to restore everything.

        Others have said some thing you might want to try. But having a spare disk you can swap to is never a bad idea. Disks to fail and you should plan for what to do when they do. Backing up your data is a good first step.

        I would say it is not a bad idea to just get a new disk now and go through the process of restoring everything anyway - you can treat it like your disk has failed and do what you would need to do to restore. With the ability to swap back when you need to.

        This is a good way to find things you might have missed in your backups.

  • RegalPotoo@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    ·
    22 days ago
    • Back up your data now
    • Reseat the cables for the drive
    • Run a self test on the drive - smartctl -t long - if it doesn’t pass, then the drive is trash. If it does, then it might limp along a bit longer before catastrophically failing
    • maliciousonion@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      21 days ago

      I used the GUI program for SMART and the list of issues got marked as “old age”, all of them.

      • Atemu@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        21 days ago

        They meant the SMART self-test, not SMART data readout. Those are not meant to be interpreted by laymen and often not even experts.

        • maliciousonion@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          20 days ago

          I did perform the self-test function, the long version that says it will take 10s of minutes. Some of the errors were displayed with red text before the test. After the self test, it said that my drive passed and all the red errors showed up as “Old age” in black text, every single one.

          (This is in the GUI app for smartctl)

          • Atemu@lemmy.ml
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            20 days ago

            Please stop trying to interpret the SMART data report. Even if you’re knowledgeable it can easily mislead you because this is vendor-specific data that follows no standard and is frequently misinterpreted by even the program displaying the data.

            If the self-test passed, it’s likely the cable or the controller. Try a different cable.

  • JASN_DE@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    23 days ago

    What kind of machine is this, laptop? Desktop? If desktop, check the cables. Otherwise I’d switch out the drive.

  • GolfNovemberUniform@lemmy.ml
    link
    fedilink
    arrow-up
    6
    arrow-down
    14
    ·
    edit-2
    23 days ago

    I have no idea what all of that is but it looks like something I would worry about. I’d say it’s time for a clean install and thinking of a new root password.

    • Lemmchen@feddit.org
      link
      fedilink
      English
      arrow-up
      6
      ·
      22 days ago

      I’d say it’s time for a clean install and thinking of a new root password.

      Huh? What has that to do with a possibly failing drive?

      • GolfNovemberUniform@lemmy.ml
        link
        fedilink
        arrow-up
        1
        arrow-down
        7
        ·
        edit-2
        22 days ago

        Because to me it looked like someone or something was trying to get access to root only features. I didn’t know it had anything to do with drives.

      • GolfNovemberUniform@lemmy.ml
        link
        fedilink
        arrow-up
        3
        arrow-down
        8
        ·
        edit-2
        23 days ago

        Can be a distro/setup issue as well. Also you should’ve added this info to your post. It’s very useful for troubleshooting the issue.