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 😞
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
You should have clicked on the “get smarter responses” button…
Sorry, I couldn’t resist. I am going now, good luck.
ᕕ(ᐛ)ᕗ
No, you fried your drive, by listening to CGPT. Also learn how to take a screenshot.
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.
It doesn’t really need to be tedious… My notes are jokey, full of profanity, sarcasm, and self deprecating humor
for context, these are my personal notes for my personal machine. These will never be shared with anyone else, and nobody else has to try to read them or make sense of them (well… sometimes I make chatbot read my notes in order to train it on whatever I need help troubleshooting)
Before I started keeping a hot_log.txt file every single install of Linux I ever ran was a unique snowflake and no two systems were ever the same
My notes are jokey, full of profanity, sarcasm, and self deprecating humor
I meant tedious, as in, it takes some effort to pause, write the shit down, and then proceed on. I can only speak for myself, but when I’m in the zone doing something, excitement can overshadow note taking. So, I have to make myself document line by line. But, yeah I have entries like ‘Before proceeding, make sure you do _____ , dumbass!’ LOL
I very much wish I’d done this. I’m very happy with my system but it’ll be a slog if and when I need to set it up again.
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.
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)
Thank you for helping! Like I said I’m a complete beginner with little knowledge of all this, means a lot 🤗
just so you know I connected the drive to my dell pc, so its just the one broken drive not all 6.
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
I really appreciate your knowledge and help 🙂
Let me know if anything else is needed
ChatGPT didn’t fry your drive. You fried your drive.
You should be looking up these commands and flags before you run them.
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.
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?
I’m torn in how to feel about this. it was stupid to turn to a chatbot for things you know nothing about, as you then can’t even verify anything. and when you are a beginner, you probably shouldn’t start with SAS hardware either because it’s more complicated with the added enterprise features.
You’re getting hate but you’re right. Friendliness in tech forums is nearly nonexistent.
Kinda as evidenced by a lot of the other responses. Thanks for the affirmation!
Can you blame them?
Yes. LLMs don’t make anyone not responsible for their output.
If your dumb friend gave you bad advice and you followed it, you are ultimately still responsible for your decisions.
What’s your point? “Don’t use Linux unless you are a professional user”?
Beginners have to begin somewhere and they need to get info from somewhere.
A lot of Linux UX is still at the level where it doesn’t give enough relevant information to a non-technical user in a way that the user can actually make an informed decision. That is the core problem.
Whether users get their wrong information from AI, Stackoverflow, random tutorials, Google, a friend or somewhere else hardly matters.
Take for example a look at the setup process of a Synology NAS. A 10yo can successfully navigate that process, because it’s so well done. We need more of that, especially for FOSS stuff.
Too much of Linux is built by engineers for engineers.
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).
Asking for help online just gets you a “lol, RTFM, noob!”
This is a thing that honestly still makes me seethe sometimes, because as much as the manuals are there and people should be told to read the manual before anything else, there is a vast difference between a user’s manual and a technical manual. People who answer basic questions by telling the user to RTFManpage instead of leading them to the bropage or the tl;drpage or a simple use case tutorial (or even better, providing the example themselves) ironically builds bad cred for a movement for well-documented software.
The User’s Manual for a car covers, at best, how to turn the ignition on, how to drive, how to brake in difficult conditions and how to change the tires. Maybe it covers where exactly the friggin’ cupholder is. A Technical Manual for a car is for when there’s a real exceptional emergency that’s not simply covered by user service. The computer does not work and someone (not you, but the technician!) needs to know how to pin the RS232 connectors for the emergency interface of the onboard chip. The refrigeration liquid tube has broken off and you need to know what model or measurements the replacement needs to be and what heat can it withstand before it starts melting and likely obstructing the valve. You need to know if (or for how long) the car’s engine can withstand frontal semiautomatic fire and up to what reverse speed can the vehicle perform a safe J-turn maneuver in case you face an ambush.
~95% of manpages I’ve ever seen are Technical Manuals. ~70% of “help” for non-browser systems, as well.
What beginners need to be directed at before anything else is the User’s Manual.
And if that one is not available, go get writing it.
</rant>
All that said, none of that excuses turning to AI. AI is explicitly and specifically for when you don’t want things to work, or for when you are specifically looking for someone to bullshit you. They are for evading responsibility, not for finding solutions.
I totally agree with the rant, and a big issue is that the Linux community specifically consists to a large part of technicians and not users who then go full *surprised pikachu face* when they see a user who is not a technician.
But seriosly, how would a (to quote OP) “total beginner” know that AI is not a good place to look for help?
And, tbh, it sometimes does actually help. AI lies more often than it doesn’t, but it at least tries to help, which is more than I can say of most members of the Linux community.
I had an issue on Fedora 42 where the performance of my games would randomly be abysmal. One day I can play current AAA titles without issue on my Nvidia 4070, the next day I have to measure performance in “Seconds per Frame” even on 15yo indie titles. This issue only affects game started from Heroic, all other things I try including all debugging stuff works fine.
I’m not a new Linux user. I’m a developer and I’ve been using Linux for about 20 years. So I get to debugging, googling, reading bug reports, all that, and can’t find anything. I ask on StackExchange, Lemmy, even Reddit, no result. Most people are like “Works on my machine, noob”, and a handful people are like "I have the same issue and no solution.
So after a year or so I swallow my pride and ask ChatGPT. The first answer is correct: Heroic (and thus all proton/wine games it spawns) runs in Flatpak. Flatpak has its own version of the Nvidia drivers, and if that version doesn’t exactly match the OS driver version it falls back to software rendering. So if I do
dnf updateand it updates the Nvidia drivers this breaks my performance until I doflatpak update. I often ranflatpak updatebeforednf updateand thus my performance sucked.Yes, the majority of the answers I get from AI are lies. But without AI I would still not be able to game on my system.
AI is a tool, and for beginners its a tricky tool, because sometimes it works perfectly, but sometimes it totally messes everything up. The same holds true for pretty much any other source of information made for beginners. Before “Don’t paste AI commands into CLI” we had “Don’t paste stuff from Stackoverflow into CLI” and before that it was “Don’t paste stuff you found on Google into CLI”.
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.
Did it occur to you that OP might be a total beginner who doesn’t know about the conventions on how to report issues and how to format posts?
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.
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.
Are you really comparing LLM output to be on the same level of… hallucination-ness, than a Gamefaqs tutorial for a SNES game from the late 90s?
I know tiktok has deep-fried and rotten the brains of entire generations but this is just ridiculous.
Gamefaqs tutorial for a SNES game
Well, I can’t speak to Gamefaqs or SNES as I am incapable of gaming. However, even what I would consider reputable tutorials such as ones you find on HowToForge, sometimes don’t quite turn out as expected. There is always some config or app that the tutorial needed, but was left out by the person writing the tutorial. Or the writer of the tut, had something pre-configed or preinstalled, so it wasn’t mentioned, even when following the tutorial line by line. It’s inevitable. For this reason, I maintain a small test VPS where I can run amuck and if I fuck something up, no problem, wipe/reinstall. So, if you’re going to say don’t trust AI, then you have to also be skeptical of all tuts. I mean, that’s where the AI scrapers got the info in the first place. I’m not saying AI is 100% tho I anticipate one day it will be, or at least very damn close. There are things AI gets right. It seems very capable of writing compose files well. Just my 2p
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 updatewithout doing aflatpak updateright 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 didflatpak updatethe next time, and broke again when I randnf 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?
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.
The only evidence that OP irreparably nuked their hardware is ChatGPTs word.
The bigger issue ad hand is that everyone here is a noob when it comes to exotic hardware like SAS, and still everyone here thinks they are 1337 haxors enough to tell OP that they are a noob idiot.
Tbh, if OP asks for help here and there’s 49 comments of people being dicks and one that actually helps it might be worthwhile. But as it stands it’s 50 to 0, with nobody here beeing educated enough to know anything about the subject.
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.
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.
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.
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!
SAS drive. If you know of a usb-SAS enclosure, I’d like one.
USB enclosures for SAS drives are available
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.
No cats?! High blasphemy! Servers are warm and the perfect bed!
My dogs, whom I love like a family member, and one of which is my seizure dog, know the lab is off limits.
@Mods, please don’t delete this. It’s a valuable lesson.
And what have we learned?
All together: Don’t blindy copy/past from the internet OR from AI !
You said it correctly: ‘from the internet’.
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.
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
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.
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.
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.
I would strongly recommend against using AI
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?












