# dpkg -l | grep -i util-linux
ii util-linux 2.31.1-0.4ubuntu3.3 amd64 miscellaneous system utilities
# systemctl status fstrim.timer
● fstrim.timer - Discard unused blocks once a week
Loaded: loaded (/lib/systemd/system/fstrim.timer; enabled; vendor preset: enabled)
Active: active (waiting) since Tue 2019-08-27 13:59:23 UTC; 2min 29s ago
Trigger: Mon 2019-09-02 00:00:00 UTC; 5 days left
Docs: man:fstrim
Aug 27 13:59:23 lxcfstrim systemd[1]: Started Discard unused blocks once a week.
* With the bionic-proposed package:
# dpkg -l | grep -i util-linux
ii util-linux 2.31.1-0.4ubuntu3.4 amd64 miscellaneous system utilities
# systemctl status fstrim.timer
● fstrim.timer - Discard unused blocks once a week
Loaded: loaded (/lib/systemd/system/fstrim.timer; enabled; vendor preset: enabled)
Active: inactive (dead) since Tue 2019-08-27 14:02:50 UTC; 23s ago
Trigger: n/a
Condition: start condition failed at Tue 2019-08-27 14:03:13 UTC; 1s ago
└─ ConditionVirtualization=!container was not met
Docs: man:fstrim
Aug 27 13:59:23 lxcfstrim systemd[1]: Started Discard unused blocks once a week.
Aug 27 14:02:50 lxcfstrim systemd[1]: Stopped Discard unused blocks once a week.
Aug 27 14:02:50 lxcfstrim systemd[1]: Stopping Discard unused blocks once a week.
[Bionic verification]
Confirming that I'm using a lxd container running Bionic:
# systemd-detect-virt
lxc
# lsb_release -cs
bionic
* rmadison:
util-linux | 2.31.1-0.4ubuntu3.3 | bionic-updates
util-linux | 2.31.1-0.4ubuntu3.4 | bionic-proposed
* With current bionic-updates package:
# dpkg -l | grep -i util-linux
ii util-linux 2.31.1-0.4ubuntu3.3 amd64 miscellaneous system utilities
# systemctl status fstrim.timer system/ fstrim. timer; enabled; vendor preset: enabled)
● fstrim.timer - Discard unused blocks once a week
Loaded: loaded (/lib/systemd/
Active: active (waiting) since Tue 2019-08-27 13:59:23 UTC; 2min 29s ago
Trigger: Mon 2019-09-02 00:00:00 UTC; 5 days left
Docs: man:fstrim
Aug 27 13:59:23 lxcfstrim systemd[1]: Started Discard unused blocks once a week.
* With the bionic-proposed package:
# dpkg -l | grep -i util-linux
ii util-linux 2.31.1-0.4ubuntu3.4 amd64 miscellaneous system utilities
# systemctl status fstrim.timer system/ fstrim. timer; enabled; vendor preset: enabled) lization= !container was not met
● fstrim.timer - Discard unused blocks once a week
Loaded: loaded (/lib/systemd/
Active: inactive (dead) since Tue 2019-08-27 14:02:50 UTC; 23s ago
Trigger: n/a
Condition: start condition failed at Tue 2019-08-27 14:03:13 UTC; 1s ago
└─ ConditionVirtua
Docs: man:fstrim
Aug 27 13:59:23 lxcfstrim systemd[1]: Started Discard unused blocks once a week.
Aug 27 14:02:50 lxcfstrim systemd[1]: Stopped Discard unused blocks once a week.
Aug 27 14:02:50 lxcfstrim systemd[1]: Stopping Discard unused blocks once a week.