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?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!