Red Hat Training

A Red Hat training course is available for RHEL 8

8.5. 启用定期块丢弃

这个流程启用 systemd 计时器,它会定期丢弃所有支持的文件系统上未使用的块。

流程

  • 启用并启动 systemd 计时器:

    # systemctl enable --now fstrim.timer