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…

Edit: 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 😞

  • irmadlad@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    3 hours ago

    OP, I am sorry that I cannot offer any immediate solution to your issue. However, if I may, pass along a bit of advice I learned long ago, and it has nothing to do with AI. TAKE PROLIFIC NOTES!!! It is tedious, it is work, but it will save your ass in the long run. Write everything down. Don’t be lulled into the mindset that you will be able to remember each and every thing you’ve done to the server, especially when you’re breaking new ground in your selfhosting journey. 9 times out of 10, you won’t. Then when you are successful with your endeavors, go back, clean up your notes, and store them for future reference.

  • Jerkface (any/all)@lemmy.ca
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    3 hours ago

    There are so many things wrong here, people don’t even have the bandwidth to complain about how the blurry, off-angle, fucking ROTATED photos of a screen contribute to this absolute dumpster fire of a post. Just trying to do my part.

  • y0din@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    ·
    edit-2
    8 hours ago

    Right now there isn’t enough information to conclude that the drive is “bricked”.

    sg_format on a SAS drive with DIF enabled can absolutely make the disk temporarily unusable to the OS if the format parameters no longer match what the HBA/driver expects, but that is very different from a dead drive.

    To make any determination, more data is required. At minimum (boot with a live Linux USB drive if you are unable to get to this information):

    Please provide verbatim output from:

    • dmesg -T (from boot and when the drive is detected)
    • sblk -o NAME,MODEL,SIZE,PHY-SeC,LOG-SeC
    • fdisk -l /dev/sdX
    • sg_inq /dev/sdX
    • sg_readcap -l /dev/sdX
    • sg_modes -a /dev/sdX

    Also specify:

    • Exact drive model
    • HBA model and firmware
    • Kernel version / distro
    • Whether the controller supports DIF/DIX (T10 PI)
    • Whether other identical drives still work in the same slot/cable

    Common possibilities (none can be confirmed without logs):

    • Drive formatted with DIF enabled but HBA/OS not configured for it
    • Logical/physical block size mismatch (e.g. 520/528 vs 512/4096)
    • Format still in progress or left the drive in a non-ready state
    • Mode pages changed that Linux does not like by default

    Things that are usually recoverable on SAS drives:

    • Re-formatting with correct sector size and DIF disabled
    • Clearing protection information
    • Power-cycling the drive after format completion
    • Formatting from a controller that fully supports the drive’s feature set

    Actual permanent bricking from sg_format alone is rare unless firmware flashing or vendor-specific commands were involved.

    Until logs are posted, all anyone can honestly say is:

    The drive is not currently usable, but there is no evidence yet that it is permanently damaged.

    If you can share this information it might be possible to get the drive back online, though I make no promises.

    (edit typos)

  • recklessengagement@lemmy.world
    link
    fedilink
    English
    arrow-up
    114
    arrow-down
    2
    ·
    edit-2
    14 hours ago

    ChatGPT didn’t fry your drive. You fried your drive.

    You should be looking up these commands and flags before you run them.

  • 6nk06@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    94
    arrow-down
    3
    ·
    14 hours ago

    As a completer beginner I turned to gpt

    I tell people not to do that all the time. They’d rather listen to the statistical vomit machine.

    • squaresinger@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      arrow-down
      17
      ·
      8 hours ago

      Can you blame them?

      The manuals are written by experts for experts and in most cases entirely useless for complete beginners who likely won’t be able to even find the right manual page (or even the right manual to begin with).

      Tutoral pages are overwhelmingly AI vomit too, but AI vomit from last year’s AI, so even worse than asking AI right now.

      Asking for help online just gets you a “lol, RTFM, noob!”

      Look at this thread right now and count how many snarky bullshit answers are there that don’t even try to answer the question, how many answers like “I got no idea” are there and then how many actually helpful answers are here.

      Can you really blame anyone who turns to AI, because that garbage at least sounds like it tries to help you?

      • Auli@lemmy.ca
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 hours ago

        I mean look at OPs horrible post screenshots and one rotated 90 degrees. Come on they put in little effort don’t expect lots of effort back.

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

        Look at this thread right now and count how many snarky bullshit answers are there that don’t even try to answer the question Can you really blame anyone who turns to AI, because that garbage at least sounds like it tries to help you?

        Oh this so very much. We’ve ALL made horrific mistakes, most of which don’t get published on a forum for fear of the snark. It really irks me. But, there’s not much I can do about people’s attitudes. All of us were clueless, newbs, at one time or another, unless you were born with a computing device in your hand, in which case, I feel sorry for your mum.

      • Brewchin@lemmy.world
        link
        fedilink
        English
        arrow-up
        18
        arrow-down
        1
        ·
        5 hours ago

        Can you really blame anyone who turns to AI, because that garbage at least sounds like it tries to help you?

        A comfortable lie is still a lie. Everything that comes out of an LLM is a lie until proven otherwise. (“Lie” is a bit misleading, though, as they don’t have agency or intent: they’re a variation of your phone keyboard’s next-word text prediction algorithm. With added flattery and confidence.)

        There’s a reason experienced people stress hard to others about not using them as shortcuts to your own knowledge. This is the outcome.

        Another way to look at it is “trust, but verify”. If you’re intent on relying on probabilistic text as an answer, instead of bothering to learn, then take what it’s given you and verify what that does before doing it. You could learn to be an effective sloperator with just that common sense.

        But if you’re going to give an LLM root/admin access to a production environment, then expect to be laughed at, because you had plenty of opportunities to not destroy something and actively chose not to use them.

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

          Everything that comes out of an LLM is a lie until proven otherwise.

          Everything that comes off of a tutorial, or web page is paddling the same boat, without exception.

        • squaresinger@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          3
          ·
          4 hours ago

          I had a problem with Fedora 42, where the performance of my games would be fine one day and abysmal another day. Couldn’t find a pattern. I googled a ton, tried to debug myself, asked on reddit, stackexchange, the fedora forum and lemmy. I only got answers like “Works fine on my machine, noob” and “I have that problem too”. It only affected games running in proton on heroic, everything else was fine.

          After about a year of on-and-off debugging and asking around, I swallowed my pride and asked ChatGPT.

          First answer from that thing was correct: I had run dnf update without doing a flatpak update right afterwards. Turns out, flatpak has its own copy of Nvidia drivers and if the system driver is updated without the flatpak copy being updated, it falls back to software rendering. So the performance was crap until I did flatpak update the next time, and broke again when I ran dnf update.

          I still haven’t found that in any documentation so far.

          AI is crap more often than not, but it does at least try to help and sometimes it actually does.

          Look in this thread here. Is there even a single answer that tries to help OP, or is every single answer here just dumb snark?

          • Brewchin@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            ·
            4 hours ago

            It’s true that people on the internet can be dicks. Even more so technical people (and that’s not limited to online: those online dicks are usually IRL dicks when taking technical stuff). But that’s a hurdle, not a barrier.

            There’s little anyone here can do to help OP, as they (if I understand it correctly) have already irreparably nuked their hardware. The current problem is significantly different and harder than the original problem. Asking randos on this community is unlikely to yield results. Hence the focus on variations of “Now… what did we learn? 🤨”

            I’m not trying to help, as I’m not familiar enough with SAS nor the current problem. The same is likely true of others here.

      • anyhow2503@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        5 hours ago

        Asking for help online just gets you a “lol, RTFM, noob!”

        Depends heavily on what place you ask for help in. There are plenty of spaces explicitly meant for community tech support. In OPs case, I’ll say the title doesn’t help and asking an LLM for advice on a topic you’re unfamiliar with (and not second-guessing the commands you paste into the terminal) is such a bad idea that it really can’t be understated. I regularly catch some of my colleagues making AI-assisted mistakes and they’re professionals who genuinely know better. This shit shouldn’t ever be recommended as a learning tool for beginners without some kind of supervision or guard rails to ensure you’re not being gaslit.

  • Greg Clarke@lemmy.ca
    link
    fedilink
    English
    arrow-up
    47
    arrow-down
    1
    ·
    edit-2
    13 hours ago

    I’m confident this is recoverable. Can you throw the failing drive into a USB enclosure? It might be easier to reformat the drive in the OS you’re most familiar with.

    And don’t feel bad about breaking things, that’s the best way to learn! I’ve been breaking things long before ChatGPT came along.

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

      And don’t feel bad about breaking things, that’s the best way to learn

      Most of what I know, which is not a a huge repository of intellect, I learned thusly:

      • Read —> try—>fuck it up #$%^^
      • re-read —> try again—>fuck it up once more #$%^^
      • $$@#!!! more reading —> more trying —>That WORKED! Write that shit down!
  • rtxn@lemmy.world
    link
    fedilink
    English
    arrow-up
    62
    arrow-down
    1
    ·
    14 hours ago

    @Mods, please don’t delete this. It’s a valuable lesson.

  • kingofras@lemmy.world
    link
    fedilink
    English
    arrow-up
    66
    arrow-down
    3
    ·
    14 hours ago

    It’s really next to impossible to read that and not clown on you, so I’ll just print these out and hang them in the server room next to the no cats or drinks signs.

  • TuEstUnePommeDeTerre@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    36
    ·
    13 hours ago

    Per this forum post, you might just need to reboot. This was the first link that came up when I searched for your error. In the future, turn to documentation and the forums/support for the software rather than a dumb text generator.

  • entropicdrift@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    47
    arrow-down
    1
    ·
    edit-2
    14 hours ago

    Don’t trust AI to know what they’re doing for you. The only time they work reliably as a tool is when you already know what you’re doing enough to spot their errors/hallucinations.

    AI is the wrong tool here. You need to do real internet research.

    • Scrubbles@poptalk.scrubbles.tech
      link
      fedilink
      English
      arrow-up
      16
      arrow-down
      2
      ·
      12 hours ago

      Exactly this. People here mass downvote but I personally find AI to be extremely useful… To do things I already know how to do but don’t have the time for. I don’t trust it to do things I can’t spot the errors in

      • biggerbogboy@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 hour ago

        I actually had an AI assist me in flashing the firmware, as well as flashing a custom ROM later on, of a phone I was just testing on for fun, and I was only confident since I had a chunk of prior knowledge of ADB as well as other tools and the differences between mobile and desktop system structures, and for the stuff I didn’t understand or know, I just researched externally and figured it out.

        Blindly trusting it though is a fools errand, just like myself a few years back messing with my laptop’s Linux install, copy pasting everything and then complaining when shit broke.

      • Holytimes@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        10 hours ago

        The only useful thing I’ve found so good for is quickly scrubbing though shops. They are really good at looking at hundreds of urls and reviewing the content and then vomiting up the results

        When looking for a laptop it was invaluable.

        Those sub reddits that are basically nothing but people asking for laptop recommendations basically could just be replaced with a LLM.

        AI is after all the perfect example of wisdom of the masses. Aka 80% accurate 80% of the time.

        Seriously trying to find a 18 inch hdr laptop with a AMD CPU and replaceable ram that did not contain a laundry list of parts that I know have no driver support on Linux… Is a pain in the ass. Cause half the time AMD laptops arnt advertised at fucking all and sit on some random page you have to know just exists.

        Even using newegg filters couldn’t find the fucking laptop cause of mislabeling. But the AI found it.

        Fucking thing is like a web crawler on crack.

  • fodor@lemmy.zip
    link
    fedilink
    English
    arrow-up
    18
    ·
    13 hours ago

    Oh dear God, what were you thinking? Why did you turn to chatgbt knowing that you could have actually found a website that told you what to do correctly written by someone who actually did it before?

  • PhobosAnomaly@feddit.uk
    link
    fedilink
    English
    arrow-up
    14
    ·
    edit-2
    14 hours ago

    Sorry friend.

    If your data was occupationally-sensitive or renders you vulnerable to financial ruination, it’s time to move to a recovery phase and see if modern data recovery specialists can work their voodoo.

    Remember: never run experimental commands (you or a GenAI) in a live environment. See how it breaks things in a test environment first - if it shits itself, you may even get to learn how to fix it before running the instruction on live data.

    Anecdote time! A good friend of mine drove his car to a mutual colleague’s place once because the wipers were about as much use as two chicken breasts on metal poles. He says to our colleague “Hey Foxy, I hear you’re good with cars, can you fix these wipers for me? The rubber seems to be in good nick but it’s not clearing anything”.

    “Sure thing,” Foxy proudly announces, “I’ll get to work”.

    Foxy strips the wipers down, one component at a time, before dusting his hands off and walking away.

    “What’s going on, Foxy? The thing’s still in bits!” my pal says.

    “No idea,” says Foxy, “not a fucking Scooby mate” and goes back inside, leaving his wipers and actuating motor in about fourteen pieces on the roadside.

    So much for being good with cars.