Re:Analysis of SSD Reliability during power outages
by userbinator on Saturday December 28, 2013 @09:00AM
(#6974990)
The main issue is the firmware being stored in the same flash memory the rest of the data is, so it's subject to the same corruption. "bit rot" in NAND flash is real - the stored charges will gradually leak out, and especially with the shrinking of each bit cell and MLC, even data that's sitting there dormant will gradually erase itself so the firmware has to periodically rewrite these blocks, at the same time moving them around to do wear leveling (another thing that has been sacrificed in the higher density shrinkage is write endurance.)
Corrupting data or BMTs if powered off in the middle of a write is not such a bad thing compared to if that data happens to be the drive's firmware. In the former case at worst you lose a superblock and the OS doesn't boot, but you can still recover from that fairly easily compared to the latter case, where the drive can become no longer responsive.
Re:Analysis of SSD Reliability during power outages
by baruch on Saturday December 28, 2013 @10:42AM
(#6975190)
It's unlikely that the firmware region will be corrupted unless you are in the middle of a firmware upgrade. While with the variety of SSD and HDD failures I've seenis large and such a failure is not impossible it's one I've never seen and sounds rather improbable.
There are some recovery strategies employed by the SSD firmware but they can't handle all possible scenarios and you are likely to lose some data in case of an unprotected power failure.
Also, as mentioned before the write takes time and not finishing it on time will make the location being written to have unreadable data.