[haiku-bugs] Re: [Haiku] #10336: TRIM / fstrim can destroy data on SSD's when executed

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Wed, 09 Aug 2017 03:39:52 -0000

#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:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by kallisti5):

 It does indeed work on some SSD's.

 I would reboot and ensure all your data is safe before calling things 100%
 ok :-)  Keep in mind trim can damage data on other partitions as well
 beyond Haiku. I've seen trim fail and corrupt data on OCZ and Sandisk
 SSD's

 Giova84: Could you grab a syslog from that trim you executed and post it
 here?  (/var/log/syslog.old if you've rebooted, otherwise /var/log/syslog)

--
Ticket URL: <https://dev.haiku-os.org/ticket/10336#comment:27>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: