Enable/Disable Trim for Samsung EVO 860 SSD

I installed a Samsung EVO 860 SSD and activated Trim, but that also prevents TechTool Pro from recovering deleted files. At the same time, there are known problems with Samsung 8** SSDs using Trim on Linux, and that probably includes macOS too:


https://www.howtogeek.com/222077/how-to-enable-trim-for-third-party-ssds-on-mac-os-x/


Should I disable Trim, revert back to HFS+, and is there any software available that will let me recover deleted files from the boot volume SSD?

Posted on Oct 25, 2020 1:10 PM

Reply
8 replies

Oct 25, 2020 1:21 PM in response to fox256

There are 2 ways to implement TRIM, (queuing, and non-queuing) and Linux offers the queuing, and that does not always work on some SSDs.


To the best of my knowledge macOS and Windows both use non-queuing TRIM.


And TRIM messes up TechTool Pro file recovery, because when you delete a file, the file system tells the SSD via the TRIM protocols that the blocks where that file lived, can be cleared and made ready to be given out on a new write.


So TRIM will most likely remove any data in the file's blocks in short order.

Oct 25, 2020 8:16 PM in response to fox256

If you have frequent and regular system backups you should never have to worry about recovering data from any drive. Keep in mind SSDs can fail at any time without any warning signs.


As far as using HFS+ or APFS you should use the macOS default which is APFS for macOS 10.13+ especially if you will ever possibly upgrade to a later version of macOS. There are numerous posts on these forums where the Catalina installer would not always automatically convert the HFS+ boot volume to APFS (Catalina requires an APFS volume for installation). So if your Mac can run a newer version of macOS I would not advise using HFS+ if you want a smooth upgrade path later on.


If your Mac can only use up to macOS 10.13, then using HFS+ is your choice. I personally prefer it over APFS at the moment due to all the file system issues I've seen with our organization's Macs where Disk Utility First Aid is unable to repair the volume which requires completely erasing the drive and restoring from a backup. Currently there are no third party utilities available to repair an APFS volume since Apple has not released the necessary APFS documentation yet. Any third party utilities that mention repairing APFS are not being entirely truthful (I'm looking at you TechTool).

Oct 26, 2020 7:38 AM in response to fox256

What HWTech said. Backup, Backup, Backup.


Do not ever depend on recovery tools being able to read a broken disk or file system. If the cheap stuff does not work, the other options are very VERY EXPENSIVE. And in the case of a failing SSD, may not work at all.


There is a backup philosophy called 3,2,1

  • 3 copies of your data (the original copy is the first).
  • 2 different backup utilities going to 2 different backup devices. Prevents errors in the backup utilities from corrupting both backups, and 2 different devices prevents a single point of failure. Time Machine, Carbon Copy Cloner, SuperDuper, and online backup service, etc...
  • 1 copy stored off-site. This protects you from natural disasters, fire, theft, etc... Assuming off-site is sufficiently far away. On-line backup services generally qualify, as do storing the data at a relatives home (store a disk there, or have something like a Synology you backup to at the relatives home), where the relative lives outside the same risk area you live in (different state, and not in the path of the same hurricane, etc...)

Oct 26, 2020 9:16 AM in response to Lexiepex

I have a prior version of TechTool Pro, which worked perfectly fine up to the point that I converted to High Sierra, after which it no longer showed any Trash history; as though I'd never actually deleted anything recently. But if I delete something that I'd like to get back, that was the easiest way to do it, and now that won't even work.


Unless there's some other application that will allow me to perform the same functions and works with SSDs and High Sierra, is cheaper, or free, then I will need TechTool Pro.

Oct 26, 2020 9:27 AM in response to fox256

The way a modern SSD handles the bit places, makes it imperative that you "repair" a piece of deleted data very fast. I am not even sure that on an APFS SSD the TechTool works good at all. Why don't you make a sort of pre Trash Space, where you put in the data that you don't want anymore and then clean up that TrashSpace ice a month or once a week.

Oct 26, 2020 9:36 AM in response to Lexiepex

TechTool appeared to work just fine on Sierra, when I also had an SSD installed as the boot volume; it found a Trash history whenever I'd look for one, so maybe it's that Trim is enabled now, or that the change to APFS made it impossible for TechTool Pro to find a Trash history.


The only things I was looking for are some very small .jpg images that I had on the desktop but then trashed because I didn't think I'd need them anymore. I can reproduce them, but it would have been more convenient to recover them from the Trash history instead.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Enable/Disable Trim for Samsung EVO 860 SSD

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.