4.2. 주기적인 TRIM 작업 설정
시스템에서 예약된 TRIM 작업을 활성화할 수 있습니다.
사전 요구 사항
- 시스템에 LVM-VDO 볼륨이 있습니다.
절차
타이머를 활성화하고 시작합니다.
systemctl enable --now fstrim.timer
# systemctl enable --now fstrim.timer
Copy to Clipboard Copied!
검증
타이머가 활성화되었는지 확인합니다.
systemctl list-timers fstrim.timer
# systemctl list-timers fstrim.timer NEXT LEFT LAST PASSED UNIT ACTIVATES Mon 2021-05-10 00:00:00 EDT 5 days left n/a n/a fstrim.timer fstrim.service
Copy to Clipboard Copied!
참고
fstrim.timer
는 마운트된 모든 파일 시스템에서 실행되기 때문에 VDO 볼륨에 대한 참조가 표시되지 않습니다.