TLDR: these series of drives have a 70k power on hours bug where after this amount of time, they brick themselves and become useless, with no access to your data. Toshiba fixed this in firmware which revives the drive and gets your data back too, but they refused to send it to anyone, and now are claiming they don't have access to it anymore. I've seen people with ~100 of these things now acting as door stops, here's how to revive them and get your drives back. shame on these shit companies who contribute to a massive e-waste issue, I highly recommend not purchasing Toshiba / Kioxia in the future

# If you don't have it already:

apt install sg3-utils

# Flashing on *bsd (like truenas core) probably won't work in my experience due to weird CAM memory mapping shortfalls

# These commands all assume your dead drive is /dev/sg0, confirm that with smartctl -a /dev/sg0. It might be sg1 sg2 etc

# These are pretty safe as they confirm the firmware matches type and signature before flashing

# If it works you should get no errors

# After flashing remove and replug, or otherwise fully power cycle drive to take effect (not just warm server reboot)


PX02 Regular Models:


- PX02SMF020

- PX02SMF040

- PX02SMF080

- PX02SMB160


sg_write_buffer -vvvvv -m 5 --in PX02.bin /dev/sg0




PX02 SED Models:


- PX02SMU020

- PX02SMU040

- PX02SMU080

- PX02SMQ160


sg_write_buffer -vvvvv -m 5 --in PX02-SED.bin /dev/sg0




PX05 Regular Models:


- PX05SVB040

- PX05SVB080

- PX05SVB160

- PX05SVB320

- PX05SVB048

- PX05SVB096

- PX05SVB192

- PX05SVB384

- PX05SRB048

- PX05SRB096

- PX05SRB192

- PX05SRB384

- PX05SHB020

- PX05SHB040

- PX05SHB080

- PX05SHB160

- PX05SMB040

- PX05SMB080

- PX05SMB160

- PX05SMB320


sg_write_buffer -vvvvv -m 5 --in PX05.bin /dev/sg0




PX05 SED Models:

- PX05SVQ040

- PX05SVQ080

- PX05SVQ160

- PX05SVQ320

- PX05SVQ048

- PX05SVQ096

- PX05SVQ192

- PX05SVQ384

- PX05SRQ048

- PX05SRQ096

- PX05SRQ192

- PX05SRQ384

- PX05SHQ020

- PX05SHQ040

- PX05SHQ080

- PX05SHQ160

- PX05SMQ040

- PX05SMQ080

- PX05SMQ160

- PX05SMQ320


sg_write_buffer -vvvvv -m 5 --in PX05-SED.bin /dev/sg0





----------------

FIPS models end with B, need signed image, contact me jon@fohdeesha.com

If your exact model isn't on here, contact me. I know models ending in Y, like PX05SMB080Y, are SIE (secure instant erase) models, they may take the SED firmware, not sure. try and report back

firmware zip attached to post but also mirrored here - https://fohdeesha.com/docs/store/Toshiba-PX-Firmware.zip

toshiba: suck my ass



