this post was submitted on 26 Dec 2025
-54 points (34.5% liked)

Selfhosted

53977 readers
779 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

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 (broken link)

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 (broken link)

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: (broken link)


Solved by y0din! Thank you soo much!


Thanks for all the help 😁

(page 2) 43 comments
sorted by: hot top controversial new old

@rook To be fair, that's an extremely zen attitude ChatGPT has - "Focus on the 5 healthy SAS drives." Therapy goals! 😏

[–] atzanteol@sh.itjust.works 0 points 3 days ago (1 children)

Am I the only one who has no idea what their problem is now? Just that there was an error about DIF but... What's the issue now?

[–] rook@lemmy.zip -2 points 3 days ago (1 children)

The drive got whipped and apparently you're not supposed to wipe a SAS drive like a normal SATA one ...

[–] atzanteol@sh.itjust.works 8 points 3 days ago (1 children)

The drive got whipped [sic]

Oh, it was just sitting there and "got wiped"? Not because of a command you ran?

Sorry to be snarky but when asking for help you need to provide what you did, what error message you see now or what you expect to happen and what is actually happening. Also what OS you're using would be helpful.

Presumably you should be able to get the drive back into a usable state - but I'm not familiar with SAS drives.

[–] rook@lemmy.zip -3 points 3 days ago

Mb, I meant I wiped the drive...

I am using Truenas CE

[–] pfr@piefed.social -1 points 3 days ago (7 children)

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.

[–] irmadlad@lemmy.world 2 points 3 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 1 points 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.

load more comments (4 replies)
load more comments
view more: β€Ή prev next β€Ί