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

  • From: "Giova84" <trac@xxxxxxxxxxxx>
  • Date: Wed, 09 Aug 2017 23:01:09 -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:  1             |   Platform:  All
----------------------------+----------------------------

Comment (by Giova84):

However, if I would to really and properly free the space on my SSD on
 the BeFS partition, what I could do? Sorry, but as I've said, I'm not
 expert about these things. Thank you for your patience, really!

 Sorry, I wasn't  been clear: I meant to say if there would be an
 alternative way to trim the SSD BeFS partition. As Pulkomandy said, is a
 matter of filesystem support, so I guess that also "Samsung Magician"
 can't run trim on the BeFS partition, because it doesn't know nothing
 about BeFS. As I've previously said - obviously - the fact of delete and
 make again the partition didn't solved the fact of free the space on the
 SSD. Someone know if there is an "universal" utility to execute the trim
 despite of the filesystem? I also read something about the fact that this
 could depends on the hardware controller of  the drive. I ask all these
 questions because I still see all my old data (using DiskProbe) despite
 trimfs and the re-initialization of the partition, also because I have the
 habit to fill my Haiku partitions with a lot of data which I often delete.

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

Other related posts: