Maintenance · about 1 min · 4 steps
Weekly SSD trim
Tells the disk once a week which space is free, keeping SSDs and thin-provisioned cloud disks fast.
Runs on
- Debian / Ubuntu: supported
- RHEL / Fedora: supported
- Alpine: supported
What it changes on your server
- Turns on the fstrim.timer that comes with the system (installs util-linux if it's missing).
- On Alpine, installs util-linux-misc and adds a weekly job in /etc/periodic/weekly run by crond.
- Disks that don't support trimming are skipped; nothing else changes.
What Shellbay asks you
Nothing. This workflow needs no details from you.
Steps
- Make sure fstrim is installed
- Schedule the weekly trim
- Show which disks support trimming
- Check the schedule is on
Shellbay checks the server before the first step, and stops at the first step that fails.
When it's done
- Disks are trimmed once a week.