Two things:
1st - You didn't mention which *nix, KB here.
2nd - In any case, If the Host OS TRIM is manually done, then ensure this option is enabled.
-space-allocation enabled (This option enables ONTAP to reclaim space automatically when your host deletes data. It is set to disabled by default.)
Steps here: (You need to follow the exact steps)