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

  • From: "Giova84" <trac@xxxxxxxxxxxx>
  • Date: Tue, 08 Aug 2017 21:49:41 -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 Giova84):

 Haiku hrev51346 gcc2h on a Samsung 850 EVO ssd (250 GiB with two 125 GiB
 partition -  Haiku is on the 2nd partition).

 When I run  {{{fstrim /boot}}} Everything went fine, no errors/troubles
 occurred.
 Just for the curiosity: It takes 42 seconds to trim 24410886144 bytes,
 which are about 24 gigabytes: why? I just have 1.71 GiB of files on the
 Haiku partition.

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

Other related posts: