Did I just brick my SAS drive?

I was trying to make a pool with the other 5 drives and this one kept giving errors. As a completer beginner I turned to gpt…

What can I do? Is that drive bricked for good?

Don’t clown on me, I understand my mistake in running shell scripts from Ai…

EMPTY DRIVES NO DATA

The initial error was:

Edit: sde and SDA are the same drive, name just changed for some reason And also I know it was 100% my fault and preventable 😞

**Edit: ** from LM22, output of sudo sg_format -vv /dev/sda

BIG EDIT:

For people that can help (btw, thx a lot), some more relevant info:

Exact drive model: SEAGATE ST4000NM0023 XMGG

HBA model and firmware: lspci | grep -i raid 00:17.0 RAID bus controller: Intel Corporation SATA Controller [RAID mode] Its an LSI card Bought it here

Kernel version / distro: I was using Truenas when I formatted it. Now trouble shooting on other PC got (6.8.0-38-generic), Linux Mint 22

Whether the controller supports DIF/DIX (T10 PI): output of lspci -vv

Whether other identical drives still work in the same slot/cable: yes all the other 5 drives worked when i set up a RAIDZ2 and a couple of them are exact same model of HDD

COMMANDS This is what I got for each command: verbatim output from

Thanks for all the help 😁

  • pfr@piefed.social
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    14
    ·
    3 days ago

    I started my self hosting journey a bit over a year ago. Now I host and maintain multiple services for me and my family. 1000% absolutely could not have set it all up without ChatGPT. Just no way.

    Thing is, I’m not a computer beginner. I’d confidently say I’m a moderately advanced computer user with a decent understanding of Linux/BSD and POSIX shell. I used ChatGPT to learn how to set things up gradually. Yes, things did break a couple of times and I spent a few late nights fixing them, but I never ran commands that I knew were irreversible until I fully understood what they did. This cautiousness comes with experience.

    So, unlike many, I do encourage the use of ChatGPT for assisting with computer related projects, just know your abilities and don’t trust the robot unconditionally.

      • atzanteol@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        7
        ·
        2 days ago

        AI is so much faster than reading docs. And you get context specific responses that you can drill into. When used correctly it’s very useful.

        This was using it… incorrectly though…

        • pfr@piefed.social
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 days ago

          Totally agree. The docs don’t talk back and can’t clarify specifics or uncertainty. I always read the docs first (probably should have noted that in my first comment), but often I’d have specific questions or concerns regarding unintended affects on other services on my sever etc.

          I’d never JUST run with AI to set something up. But it’s like having someone sit with you who knows what they’re doing, but dont know anything about your existing setup. So asking questions while also explaining my current setup, and pasting in and errors or warnings, is what made it useful for me.

          I know some people think you should just learn from docs alone. That’s fine. My anecdotal comment was only highlighting how I was finally able to do something outside my knowledge and skillset because I had specific contextual help from AI.

    • irmadlad@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      2 days ago

      Sometimes, if it’s something I am quite unfamiliar with, I’ll pull of 3 or 4 AI and give them the same directive, just to see how each interpret the data.

    • pleksi@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      3 days ago

      Im on the same boat. Especiakly claude opus 4.5 writes better scripts in 20s than i could in 2 hours of web search and debugging

      For critical baremetal/live situations i will use the docs and/or use AI for debugging help only.

    • Big Bolillo@mgtowlemmy.org
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      10
      ·
      edit-2
      3 days ago

      I support this!! 👍

      AI is a tool like a hammer, you can hit a steel nail with it or a finger nail. It depends completely on you. Don’t be fooled by its “thinking” ability…