ssd

Reduce SSD Wear When Running ZFS: Plus Extra Tips

Reduce SSD Wear When Running ZFS: Plus Extra Tips

wretchedghost
A few tricks to reduce SSD (NOT NVMe/M.2) wear when running ZFS: Remember to enable autotrim option on the pool. You should also setup a cron job to run zpool trim tank0 weekly or bi-weekly. Replace tank0 with your tank/dataset name. zpool get autotrim tank0 # check trim zpool set autotrim=on tank0 # enable trim on tank0 zpool trim tank0 # run trim manually Use a large ashift of at least 12 but 13 is better.