#10336: TRIM / fstrim can destroy data on SSD's when executed
----------------------------+----------------------------
Reporter: kallisti5 | Owner: axeld
Type: bug | Status: in-progress
Priority: blocker | Milestone: R1/beta1
Component: Drivers/Disk | Version: R1/Development
Resolution: | Keywords: TRIM fstrim
Blocked By: | Blocking:
Has a Patch: | Platform: All
----------------------------+----------------------------
Comment (by Giova84):
I'm not able to tell you if fstrim erased some memory :-)
However I checked if trim properly works under Windows 7, by following
these instructions: http://www.win-raid.com/t24f34-Easy-TRIM-test-
methods.html (at the "B. Easy and very effective TRIM test by using a Hex
Editor" paragraph). And here my SSD has been properly trimmed; so fstrim
seems that doesn't work - at least for me - under Haiku.
I tried to do the same test, again, under Haiku: I triggered again the
same KDL - followed by a forced and unclean reboot - and the smart value
C7 "CRC Error count" has increased of one number (from 8 to 9): I am
totally sure that this occurs after the KDL when I am forced to reboot.
--
Ticket URL: <https://dev.haiku-os.org/ticket/10336#comment:50>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.