ZFS TRIM HDD

anonymous_user0414

New Member
Nov 15, 2022
28
3
3
Hello,

i use a mirrored zfs pool of two hdds. thin provisioned.
For the vms I have discard enabled and ssd emulation.

now my pool is almost full with 12 TB.

First I ran the command in the VM: fstrim -av
130GB were cleaned.

Then I ran on the host: zpool trim dpool.
Error message: unsupported trim devices.

Shortly after that the used memory shrank from 8 TB to the "real" used 4 TB.

I do not understand this?
Why did this work despite the error message?