Bug ID | 1043602 |
---|---|
Summary | systemd fstrim timer defaults is insanely long |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | Leap 42.2 |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Basesystem |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | nettezzaumanaa@gmail.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
Servus geeko minions, `weekly` default for fstrim these days is too big ... change that please to daily which is a good compromise. What you see below from my paste is the average trimmed bytes on my computer that I do once / 12hrs ... # fstrim -av /home: 129.1 GiB (138611236864 bytes) trimmed /boot: 208.7 MiB (218809344 bytes) trimmed /: 20.9 GiB (22428221440 bytes) trimmed # find /usr/lib/systemd/ -iname \*trim\* -exec cat {} \; [Unit] Description=Discard unused blocks [Service] Type=oneshot ExecStart=/usr/sbin/fstrim -a [Unit] Description=Discard unused blocks once a week Documentation=man:fstrim [Timer] OnCalendar=weekly AccuracySec=1h Persistent=true [Install] WantedBy=timers.target # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 238.5G 0 disk ������sda2 8:2 0 299M 0 part /boot ������sda3 8:3 0 237.7G 0 part ��� ������cr_ata-SanDisk_X400_M.2_2280_256GB_170141800292-part3 254:0 0 237.7G 0 crypt ��� ������rpool-swap 254:1 0 8G 0 lvm [SWAP] ��� ������rpool-root 254:2 0 30G 0 lvm / ��� ������rpool-home 254:3 0 199.7G 0 lvm /home ������sda1 8:1 0 500M 0 part regards, daniel