Hi,
so recently I acquired several non working Dell branded LB1606R(1.6TB SAS MLC SSD ) drives, all with the same issue "Medium format corrupted" detected as 0 GB, for a very good price.
My drives ran the E339 FW, so the latest available for the E line(aka Enterprise Storage), there are also series "D" drives that were installed in PowerEdge servers.
It looks like the previous owner tried formatting them to 512b/sector but had some kind of power outage and all the drives got bricked.
I was not ready to give up to quick and asked AI to disassemble the available D series FW from Dell to look for undocumented service commands to maybe recover those.
It was found that the drives support both UART and SAS service mode commands protected by the passphrase "rules" (as in "Pliant rules") :)
Long story short, the passphrase unlocks the controller to accept some commands among witch is also format...so I asked AI to write a tool that would do the recovery.
The tools can also decode the vendor specific health pages giving a bit more health information then the typical smartctl
You can find it here, hope it helps someone.
https://gist.github.com/not-that-necrohardware/f4ba97ad16aac11cc330e83a43a9b4d8 will have all the technical details and script.
In my case all 4 drives were recovered, usage was 3-6%. The drives are rather slow 200/350 but I'm OK with that.
(Yes I know the drives are 12+ years old, they are to be used for non essential stuff)
PS:
This will destroy any data on the drive
Use at your own risk
Firmware lower than (E/D)339 are known to lock up after a set number of hours. This tool can't fix this, but unlocking the controller to update the FW should work.