Windows 10 및 Linux Mint 19.3을 이중 부팅하는 다음 디스크 설정이 있습니다.
NAME LABEL SIZE FSTYPE MOUNTPOINT UUID
sda 477G
├─sda1 100M vfat /boot/efi AE89-82D6
├─sda2 16M
├─sda3 WINDOWS-C 476.3G ntfs A4DC8D83DC8D508A
└─sda4 505M ntfs BE1AB9201AB8D69D
sdb 1.8T
├─sdb1 1G ext2 /boot c360756e-9335-476d-889c-e10026a48c77
├─sdb2 LINUX-HOME 500G ext4 /home 96ce746c-1934-4774-88df-c9c132604795
├─sdb3 LINUX-BACKUP 1.2T ext4 /media/Backup-Data 36e45e26-751e-45d8-85b3-e4956829b821
├─sdb4 80G btrfs /mnt/timeshift/backup a2d7fadb-ca2a-4ac6-b4cf-4d1ff0c3f693
└─sdb5 16G swap [SWAP] 93b4b3b4-d3b4-4af6-8a12-e34b26bbe391
두 시스템 모두 부팅 시 설치되는 유일한 파일 시스템은 EFI 파티션입니다.
Windows 10 v2004의 SSD 최적화 버그에 대해 읽은 후 이를 비활성화하고 수동으로 한 번 실행했습니다(2020년 8월 31일). 다음에 Linux를 재부팅했을 때 주간 fstrim이 만료되었습니다. 로그를 확인하고 다음 항목을 찾았습니다.
$ journalctl -u fstrim.service
-- Logs begin at Sun 2020-08-23 18:36:10 PDT, end at Tue 2020-09-01 16:28:51 PDT. --
Aug 24 08:23:19 dss-mint systemd[1]: Starting Discard unused blocks...
Aug 24 08:27:29 dss-mint fstrim[1101]: /home: 406.1 GiB (436010364928 bytes) trimmed
Aug 24 08:27:29 dss-mint fstrim[1101]: /media/Backup-Data: 979.6 GiB (1051850047488 bytes) trimmed
Aug 24 08:27:29 dss-mint fstrim[1101]: /boot/efi: 63.9 MiB (66948096 bytes) trimmed
Aug 24 08:27:29 dss-mint fstrim[1101]: /boot: 838.4 MiB (879099904 bytes) trimmed
Aug 24 08:27:29 dss-mint fstrim[1101]: /: 72.1 GiB (77447188480 bytes) trimmed
Aug 24 08:27:29 dss-mint systemd[1]: Started Discard unused blocks.
-- Reboot --
Aug 31 08:25:36 dss-mint systemd[1]: Starting Discard unused blocks...
Aug 31 08:29:03 dss-mint systemd[1]: fstrim.service: Main process exited, code=killed, status=15/TERM
Aug 31 08:29:03 dss-mint systemd[1]: fstrim.service: Failed with result 'signal'.
Aug 31 08:29:03 dss-mint systemd[1]: Stopped Discard unused blocks.
이 메시지에서 아무것도 찾지 못했기 때문에 서비스를 다시 실행했는데 모든 것이 정상적으로 보고되었습니다. 한 시스템 또는 다른 시스템에서 EFI 파티션을 제외해야 합니까? 31일 런닝이 완료되지 않은 이유가 바로 이것이다. 디스크 오류가 없습니다(Gnome Disks Smart 테스트에서 보고됨).
업데이트 #1: 장치의 출력을 확인했는데 fstrim.timer
fstrim.service 장치가 완료된 것을 감지하지 못한 것 같습니다. 유일한 종료는 재부팅으로 인해 발생했습니다(시스템 설치 날짜는 2020년 8월 23일이었습니다).
$ journalctl --no-pager -u fstrim.timer
-- Logs begin at Sun 2020-08-23 18:36:10 PDT, end at Wed 2020-09-02 09:50:35 PDT. --
Aug 23 18:36:10 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 23 18:45:59 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
Aug 23 18:45:59 dss-mint systemd[1]: Stopping Discard unused blocks once a week.
Aug 23 18:45:59 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 23 18:46:00 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
Aug 23 18:46:00 dss-mint systemd[1]: Stopping Discard unused blocks once a week.
Aug 23 18:46:00 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 23 18:51:30 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 23 18:51:57 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 23 19:23:18 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 23 19:23:47 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 23 19:26:24 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 23 19:26:52 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 23 19:38:32 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 23 19:39:05 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 23 19:44:21 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 23 19:44:58 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 23 19:46:04 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 23 19:46:34 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 23 20:20:20 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 24 08:23:19 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 24 14:02:00 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 24 14:05:17 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 24 19:13:32 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 25 06:40:55 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 25 19:46:07 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 26 08:26:55 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 26 10:57:15 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 26 10:57:43 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 26 11:28:42 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 26 11:29:19 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 26 18:05:41 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 26 18:56:28 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 26 18:59:27 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 27 08:40:46 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 27 17:32:46 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 28 06:59:36 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 28 19:05:33 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 29 08:18:49 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 29 19:05:01 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 30 08:55:41 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 30 19:03:48 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 31 08:25:36 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 31 08:29:03 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Aug 31 08:29:35 dss-mint systemd[1]: Started Discard unused blocks once a week.
Aug 31 19:24:53 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Sep 01 08:20:41 dss-mint systemd[1]: Started Discard unused blocks once a week.
Sep 01 19:12:46 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Sep 02 07:11:27 dss-mint systemd[1]: Started Discard unused blocks once a week.
Sep 02 09:33:51 dss-mint systemd[1]: Stopped Discard unused blocks once a week.
-- Reboot --
Sep 02 09:34:20 dss-mint systemd[1]: Started Discard unused blocks once a week.