Also basic stuff like pool occupancy and fragmentation rates.
How to get fragmentation rates? Pool size is 19.73 TiB of which 10.58 TiB is free space. 2x 2TB iSCSI LUNs + 5TB NFS/CIFS.
HBA is hardware passthrough with DirectPath IO to the VM no virtual disks - the VM sees the actual hardware (this has not changed since the last TRIM). ESXi has 10CPU/20HT and 128GB RAM. TRIM is issued manually for no real reason, just decided to do some housekeeping.
The thing that bothers me is that when I monitor via iostat this is what I get:
https://codeshare.io/PdvjXw
So it is trimming, but very slow, like it is rate limited or something. I don't see any slowdown or whatever on the frontend. I deceded to post only because it was strange to me.
This is what it has trimmed for 12 hours:
pool: SAS
state: ONLINE
scan: scrub repaired 0B in 01:15:01 with 0 errors on Sun Nov 19 01:15:02 2023
config:
NAME STATE READ WRITE CKSUM
SAS ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
547ba0f9-ba44-4f01-ad33-4bda61310bdd ONLINE 0 0 0 (15% trimmed, started at Tue Dec 19 12:50:07 2023)
ae6f3e47-7d8e-45ff-b56c-0907c47b83bf ONLINE 0 0 0 (15% trimmed, started at Tue Dec 19 12:50:07 2023)
555672f7-1f29-451d-8fad-820612d19d05 ONLINE 0 0 0 (15% trimmed, started at Tue Dec 19 12:50:07 2023)
fba71670-e645-4906-818b-20238c8f97fd ONLINE 0 0 0 (15% trimmed, started at Tue Dec 19 12:50:07 2023)
5e41b921-b752-490d-bf6d-b79ecb9b1c22 ONLINE 0 0 0 (15% trimmed, started at Tue Dec 19 12:50:07 2023)
d1b7284c-ab83-498c-bad3-72ea74a7f6c8 ONLINE 0 0 0 (15% trimmed, started at Tue Dec 19 12:50:07 2023)
03efaaf3-eb40-492c-8f16-87c2b88f2aed ONLINE 0 0 0 (15% trimmed, started at Tue Dec 19 12:50:07 2023)
b26c8881-71ed-40b7-95c4-e45df9b4d9e1 ONLINE 0 0 0 (15% trimmed, started at Tue Dec 19 12:50:07 2023)
errors: No known data errors