Rise of the small web
rook
Thanks for the reply,
It is an LSI card, the same one that was in my truenas server.
This one bought here
Edit: also the command that bricked the drive was me using sg_format with --size==512
Is that the same formatting solution you were mentioning ? Is it different?
Thanks for the uplifting words
I've connected to drive to another PC running Linux Mint 22, and the disks app can see the drive but no actions can be done on it. And Gparted can't even read it lol.
Any ideas?



From what I understand, I formatted it with 512, but i needed to do it with 520 and then 512?
sg_format -v --format --size=520 /dev/sda
then
sg_format -v --format --size=512 /dev/sda
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
Edit: from LM22, output of sudo sg_format -vv /dev/sda
I really appreciate your knowledge and help 🙂
Let me know if anything else is needed
Mb, I meant I wiped the drive...
I am using Truenas CE
The drive got whipped and apparently you're not supposed to wipe a SAS drive like a normal SATA one ...
Thanks for the input
I thought the SAS worked like a data, just wipe and go... I'm not sure how to get this SAS connected to another computer as it is connected to my server through a SAS card...
Any ideas?
So are you saying these plugs will work on SATA drives?
I have never heard people say fluff this often before chatgpt came out. Now everyone uses "no fluff" 💀

Thanks for the continued support! ❤
I've attached an identical Segate SAS drive from the server.
To confirm, it is the same LSI card that was in the TrueNAS server. I pulled it out of the server and put it into the trouble shooting machine, where I run the commands.
It is this one: 01:00.0 Serial Attached SCSI controller [0107]: Broadcom / LSI SAS2308 PCI-Express Fusion-MPT SAS-2 [1000:0087] (rev 05)
I did not see your other reply lol, I will also try this command that you recommended:
sudo sg_format –format –size=512 –fmtpinfo=0 –pfu=0 /dev/sdb
Also, the sg_format ran for less than 5 minutes, very quick. However, if I can recall, it did say it was completed.
**Note: ** "Bricked Drive" turned to sdb
Identical working drive installed as sda
Here is the dmesg -T > dmesg-full.txt with the identical drive
Here is the code from: (with the output for each drive, separately)
sudo lspci -nnkvv
sudo lsblk -o NAME,MODEL,SIZE,PHY-SeC,LOG-SeC,ROTA
sudo fdisk -l /dev/sdX
sudo sg_inq -vv /dev/sdX
sudo sg_readcap -ll /dev/sdX
sudo sg_modes -a /dev/sdX
sudo sg_vpd -a /dev/sdX
Thanks again for all the help, I await your reply. :)
I will let you know the results of (sudo sg_format –format –size=512 –fmtpinfo=0 –pfu=0 /dev/sdb), as soon as it's done.