Dobrica Pavlinušić's random unstructured stuff
Intel SSD: Revision 1

Intel SSD died

smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-4-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     INTEL SSDSA2BW160G3H
Serial Number:    BAD_CTX     00000136
LU WWN Device Id: 5 001517 a6be8caac
Firmware Version: 4PC10365
User Capacity:    8,388,608 bytes [8.38 MB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ATA8-ACS T13/1699-D revision 4
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Sat Apr 27 17:23:39 2019 CEST
SMART support is: Unavailable - device lacks SMART capability.

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enable failed: scsi error badly formed scsi parameters

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

Internet visdom is that it's corrupted translation table and that secure erase or firmware update might help.

firmware update

https://blog.cihar.com/archives/2012/07/13/intel-ssd-firmware-update-linux/

But modified for recent Debian kernels

https://downloadcenter.intel.com/download/28749/Intel-SSD-Firmware-Update-Tool?v=t

dpavlin@x200:~$ unzip FirmwareUpdateTool_v3_0_7.zip -d FirmwareUpdateTool_v3_0_7

dpavlin@x200:~/FirmwareUpdateTool_v3_0_7$ sudo apt install grub-imageboot

dpavlin@x200:~/FirmwareUpdateTool_v3_0_7$ cat /etc/default/grub-imageboot 
# Where to find the iso/floppy images

IMAGES="/boot/images"

# You can override the boot options for iso/floppy images here
# see http://syslinux.zytor.com/wiki/index.php/MEMDISK for details

#IMAGEOPTS="rawimg"
#ISOOPTS="iso"

dpavlin@x200:~/FirmwareUpdateTool_v3_0_7$ . /etc/default/grub-imageboot ; sudo mkdir -v $IMAGES
mkdir: created directory '/boot/images'

dpavlin@x200:~/FirmwareUpdateTool_v3_0_7$ sudo cp -v issdfut_64_3.0.7.iso /boot/images/
'issdfut_64_3.0.7.iso' -> '/boot/images/issdfut_64_3.0.7.iso'

dpavlin@x200:~/FirmwareUpdateTool_v3_0_7$ sudo update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.19.0-4-amd64
Found initrd image: /boot/initrd.img-4.19.0-4-amd64
Found linux image: /boot/vmlinuz-4.19.0-2-amd64
Found initrd image: /boot/initrd.img-4.19.0-2-amd64
Found memdisk: /boot/memdisk
Found iso image: /boot/images/issdfut_64_3.0.7.iso
done