Page MenuHomeSoftware Heritage

Run zpool trim regularly on hosts using zfs
Open, NormalPublic

Description

zpool trim is a bulk operation to run DISCARD on SSDs, which is an important operation for wear-leveling algorithms.

There's a background job which runs DISCARD on the fly, but we should do the bulk operation once in a while (e.g. every two months).

This should be far away from the automatic scrub operations to avoid cascading effects.

Event Timeline

olasd triaged this task as Normal priority.Jun 9 2020, 10:50 AM
olasd created this task.
olasd added a comment.Jun 9 2020, 11:25 AM

I've started a manual trim on belvedere today.

olasd added a comment.Jun 9 2020, 11:31 AM

(progress monitoring: zpool status -v -t)