SSD + UFS + gmirror + TRIM: Won't work?

Hi,

I have a server with 2 Intel SSDs (<INTEL SSDSA2CW120G3 4PC10302> ATA-8 SATA 2.x) configured as a RAID-1 using gmirror and UFS as filesystem. At startup it says
Code:
WARNING: /: TRIM flag on fs but cannot get whether disk supports TRIM
Now I found out that even it's just a warning, TRIM is completely disabled. Does anybody know how I can make sure that TRIM works for this setup? Or am I wrong about a disabled TRIM function?

I worry my SSDs will become slow after a while.

Thanks for help.
 
Hrm, not sure if trim will work through a gmirror. A way to test would be to remove one drive from the gmirror, and see if trim can be enabled on it.
 
I used tunefs to switch it on for the drives in SingleUser and currently it still says enabled, but Google said that it would be disabled.

Either tunefs is lying as there might be a layer in between which can disable TRIM (I don't know), or my Google result is wrong/outdated and TRIM still works.
 
Back
Top