{"id":417,"date":"2017-02-09T12:08:48","date_gmt":"2017-02-09T18:08:48","guid":{"rendered":"http:\/\/www.schwie.com\/brad\/?p=417"},"modified":"2020-11-09T18:29:03","modified_gmt":"2020-11-10T00:29:03","slug":"enable-trim-and-check-status-on-macos-sierra","status":"publish","type":"post","link":"https:\/\/www.schwie.com\/brad\/?p=417","title":{"rendered":"Enable TRIM and check status on MacOS Sierra"},"content":{"rendered":"<p>No secret, I help friends\u00a0update the performance of their old Macs. Aside from bumping RAM or upgrade operating systems, I will often recommend the\u00a0replacement of a\u00a0spinning hard drive\u00a0with a modern solid state drive (SSD). Using apps like SuperDuper or CarbonCopyCloner, its easy to back up their data and then install a fresh system on a new SSD, which helps to recreate the recovery partition.<\/p>\n<p>After migrating user accounts and data back to the new drive, I like to enable TRIM, if the SSD supports it and most do. To do so, open Terminal.app and paste in the following line:<\/p>\n<p><code>sudo trimforce enable<\/code><\/p>\n<p>You&#8217;ll be warned that data loss could occur, but\u00a0I have yet to find an issue with dataloss on any SSDs I&#8217;ve done this with. Press y to continue. That&#8217;s it.<\/p>\n<p>If you want to see\u00a0the TRIM status for your boot drive, execute the following Terminal command:<\/p>\n<p><code>system_profiler SPSerialATADataType | grep 'TRIM'<\/code><\/p>\n<p>Hopefully yours says &#8220;TRIM Support: Yes&#8221;. Or, if you&#8217;d prefer to view the status in a Mac application,\u00a0you could select the Apple icon in the upper left corner of your screen, choose About This Mac-&gt;System Report&#8230;, and then choose SATA\/SATA Express and scroll down until you see TRIM Support on the right hand pane (note: you also might need to select the drive you&#8217;re curious about in the upper right hand pane).<\/p>\n<p>** Update 11-9-2020 **<\/p>\n<p>For those running NVMe drives, this Terminal command should show if TRIM support exists:<\/p>\n<p><code>system_profiler SPNVMeDataType | grep 'TRIM'<\/code><\/p>\n<p>And responding to first comment, below, if your drive responds to this code with &#8220;TRIM Support: Yes&#8221;, we know trim force worked based on <a href=\"https:\/\/openradar.appspot.com\/21678171\">an Apple engineer&#8217;s response<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>No secret, I help friends\u00a0update the performance of their old Macs. Aside from bumping RAM or upgrade operating systems, I will often recommend the\u00a0replacement of a\u00a0spinning hard drive\u00a0with a modern solid state drive (SSD). Using apps like SuperDuper or CarbonCopyCloner, &hellip; <a href=\"https:\/\/www.schwie.com\/brad\/?p=417\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-417","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=417"}],"version-history":[{"count":5,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/417\/revisions"}],"predecessor-version":[{"id":996,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=\/wp\/v2\/posts\/417\/revisions\/996"}],"wp:attachment":[{"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.schwie.com\/brad\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}