Talk:SSD

My rootfs is on LVM on LUKS. Should I trim all layers?

# lsblk NAME                   MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT sda                      8:0    0 465,8G  0 disk ├─sda1                   8:1    0  94,1M  0 part └─sda2                   8:2    0 167,7G  0 part └─root (dm-0)        254:0    0 167,7G  0 crypt ├─vg2-swap (dm-1)  254:1    0     5G  0 lvm   [SWAP] ├─vg2-system (dm-2) 254:2   0    50G  0 lvm   / └─vg2-home (dm-3)  254:3    0   100G  0 lvm   /mnt/home}} --Wols (talk) 17:48, 14 March 2014 (UTC)
 * There is no reason not to, unless you care a lot about people not knowing where you have free space. The data itself is still encrypted, so it's not really an issue. It comes down to personal preference. If it's not about the wiki article, maybe the forums are a better place to discuss this?
 * Frostschutz (talk) 18:24, 14 March 2014 (UTC)

fstrim systemd timer section looks like it's supposed to run every twelve hours of uptime, but it won't persist over reboots which makes it a bit useless (https://github.com/systemd/systemd/issues/3107). You should just use the one that comes with util-linux, so you can just skip creating the files and just use:

systemctl daemon-reload systemctl enable fstrim.timer - Peter (talk) 09:28, 3 August 2017 (UTC)