How to check TRIM status via Terminal

I'm have a Mid 2010 iMac with OWC Mercury Electra 3G SSD.

After the GM seed of El Capitan beta, I started seeing this:


User uploaded file

Through the final release to now, 10.11.1 beta's, issue still exists. This is fine with me because the SSD drive is functioning properly. EXCEPT, I enabled trim with final release using terminal:


trimforce enable


Now, I have no way of checking the status of it (weather it is disabled, ect) , since the only way I know is through the system report shown in the screenshot above, and it shows an error. Is there a terminal command to check the status of trimforce ?

OS X El Capitan (10.11)

Posted on Oct 15, 2015 2:32 PM

Reply
10 replies
Sort By: 

Jul 6, 2017 11:45 PM in response to FatMac-MacPro

Interesting thread. I get "Yes" too.


Now on a different note, I have bumped into a couple of articles that suggest some SSDs don't play well with TRIM enabled.


Has anyone else heard about this? Here's two things I found today regarding this issue. I also would like to find a way to do a comparative test that would tell me if "reads" = what was written. (aka "writes")


Here's one article I found an an additional program that I can't really ascertain what it's function is. If anyone can contribute to this conversation please speak up. Thanks!


How to Enable TRIM for Third-Party SSDs on Mac OS X

linux/libata-core.c at e64f638483a21105c7ce330d543fa1f1c35b5bc7 · torvalds/linux · GitHub

Reply

Jul 7, 2017 5:05 AM in response to Jon P

I have an OCZ SSD (acquired by Toshiba) where the manufacturer cautions about using TRIM with the drive as they had already incorporated TRIM features into the drive controller. Just blatantly using TRIM on any SSD without some upfront reading can impact the reliability of the device, or worse.

Reply

Jul 7, 2017 5:28 AM in response to sle39lvr

Fatmac gave the correct command:

it will answer with:

TRIM support: Yes

or

TRIM support: No

for each disk, meaning that if you have two SSDs you will have two answers, one for each.

Note:

in early days the Trim command could cause trouble for the SSD controller and its WearLeveling/GarbageCollection controller, so it was not good to install the Trim command;

in modern SSD the Trim command is not read at all so On or Off is not relevant anymore.

Reply

Jul 7, 2017 9:21 AM in response to Lexiepex

Lexiepex wrote:


Note:

in early days the Trim command could cause trouble for the SSD controller and its WearLeveling/GarbageCollection controller, so it was not good to install the Trim command;

in modern SSD the Trim command is not read at all so On or Off is not relevant anymore.

So the question becomes at what date did SSDs become modern.

Reply

Oct 15, 2015 3:52 PM in response to sle39lvr

I was curious about the SSD's size because the 960GB drive is, or at least used to be two 480GB SSD's sandwiched together in a RAID configuration (that was my first SSD). It showed up in System Information as "Rotational." As such, TRIM couldn't be enabled because as far as the OS was concerned it wasn't necessary.😟

Reply

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.

How to check TRIM status via Terminal

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