Apparently no one is paying attention.
Oops, didn't see that.
Apparently no one is paying attention.
You don't need to do that. You can just enable TRIM then boot to single user mode and run the command "fsck -fy" and that will TRIM unused blocks on the drive and restore performance.
This thread is about El Capitan, not Yosemite. The sort of command you mention (trimforce) works in El Capitan. It hasn't been implemented in the Yosemite 10.10.4 latest downloadable beta yet, so, no, it won't work in Yosemite (at least for now).
I have not reviewed the 10.11 documentation, but this has worked I know as far back as Lion, so I assume the functionality will remain in place.That seems reasonable, but does a pre-release version of the man page for fsck_hfs mention TRIM?
(I posted, long ago, about some TRIM-related code in open source, but right now I can't recall where that was.)
Just to confirm, TRIM is enabled and you did this from single user mode?I couldn't get it to work for me. The command would run just fine, it just no longer reported "Trimmng unused blocks".
Maybe I did it wrong, I'm not sure.
I just ran the command in single user mode with Trim on, and it worked for me. Give it another shot.I couldn't get it to work for me. The command would run just fine, it just no longer reported "Trimmng unused blocks".
Maybe I did it wrong, I'm not sure.
Just to confirm, TRIM is enabled and you did this from single user mode?
I just ran the command in single user mode with Trim on, and it worked for me. Give it another shot.
Hmm... odd... wonder why it works for BGG and not you.Trim is enabled by turing off SIP and running the trimforce enable command. System profiler reports that it's working.
I then boot into Cappy's single user mode with CMD+S and get a tty screen.
I run the command fsck -fy and it goes through all the normal motions, but never reports "Trimming Unused Blocks"
Does that also work on external (non-boot) SSD drives..?You don't need to do that. You can just enable TRIM then boot to single user mode and run the command "fsck -fy" and that will TRIM unused blocks on the drive and restore performance.
But can fsck -fy in Single User mode "trim unused blocks" of external volumes?
Running fsck_hfs -l /dev/disk3 in Terminal.app normally doesn't do it...
It was easier than I thought...
It is:
fsck_hfs -fy /dev/disk# (# of your disk, no -l option)
… no -l option …
… as far back as Lion …
I posted, long ago, about some TRIM-related code in open source
Don't bother then. Apple has never officially supported non apple hardware and never will.
EDIT: It seems there is an unofficial way of doing it, but it's still a kludge.
How it it unofficial? The utilities are provided by Apple and as of DP2 do not require rootless to be disabled. How is it a kludge? These utilities recognise people were messing with kexts (which is a kludge) and provides an official way to avoid that.
Never supported and never will?? Good job....
Yes.I haven't had a chance to work with DB2 yet. Is the procedure the same only removing the rootless requirement?
i.e. just running the trimforce enable command and rebooting?
So, it's becoming even better!!Yes.
As it stands right now with the latest developer preview version, all you have to do is open Terminal and enter the line below then provide your password when prompted, and you are done.Ok, all the techno terms are confusing the bejeezus out of me.
Does it look like El Cappy will get a simple feature/button/whatever that will help you switch on TRIM without jumping through hoops and disabling core security features?
sudo trimforce enable
Ok, all the techno terms are confusing the bejeezus out of me.
Does it look like El Cappy will get a simple feature/button/whatever that will help you switch on TRIM without jumping through hoops and disabling core security features?
Does that also work on external (non-boot) SSD drives..?
I have an internal Apple branded SSD as boot volume (native TRIM supported) and an external SSD (Thunderbolt, 2 SSD's in RAID0).
I executed the rootless and enabled TRIM.
The system profiler shows TRIM enabled on the External SSD.
But can fsck -fy in Single User mode "trim unused blocks" of external volumes?
Running fsck_hfs -l /dev/disk3 in Terminal.app normally doesn't do it...