5.2. 정기적인 TRIM 작업 설정
시스템에서 예약된 TRIM 작업을 활성화할 수 있습니다.
사전 요구 사항
- LVM-VDO 볼륨이 시스템에 있습니다.
절차
타이머를 활성화하고 시작합니다.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow systemctl enable --now fstrim.timer
# systemctl enable --now fstrim.timer
검증
타이머가 활성화되었는지 확인합니다.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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
참고
fstrim.timer
는 마운트된 모든 파일 시스템에서 실행되기 때문에 VDO 볼륨에 대한 참조가 표시되지 않습니다.
추가 리소스
-
시스템의
fstrim(8)
도움말 페이지